<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>do_rootfs fails with core-image sub-class (The postinstall intercept hook 'update_pixbuf_cache' failed (exit code: 1)!)<br>
<br>
Using the QorIQ-SDK-V1.9-20151210-yocto from freescale to build a machine based on P1020RDB I'm hitting problems towards the end of the image generation process.<br>
</p>
<p>The error message I get is:</p>
<p><br>
</p>
<p>/home2/qoriq/test-sdk/QorIQ-SDK-V1.9-20151210-yocto/bld-test/tmp/work/dlic5-fsl-linux-gnuspe/sca905-image/1.0-r0/intercept_scripts/update_pixbuf_cache: line 6: /home2/qoriq/test-sdk/QorIQ-SDK-V1.9-20151210-yocto/bld-test/tmp/work/dlic5-fsl-linux-gnuspe/sca905-image/1.0-r0/rootfs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/../loaders.cache:
 No such file or directory<br>
WARNING: The postinstall intercept hook 'update_pixbuf_cache' failed (exit code: 1)! See log for details!<br>
NOTE: > Executing update_font_cache intercept ...<br>
<br>
ERROR: Function failed: do_rootfs<br>
ERROR: Logfile of failure stored in: /home2/qoriq/test-sdk/QorIQ-SDK-V1.9-20151210-yocto/bld-test/tmp/work/dlic5-fsl-linux-gnuspe/sca905-image/1.0-r0/temp/log.do_rootfs.4987<br>
ERROR: Task 7 (/home2/qoriq/test-sdk/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-amit/recipes-amit/images/sca905-image.bb, do_rootfs) failed with exit code '1'<br>
</p>
<p><br>
</p>
<p>System and recipe details below:<br>
</p>
<p><br>
OS Opensuse 13.1 system Linux 3.11.10-29-desktop #1 SMP PREEMPT Thu Mar 5 16:24:00 UTC 2015 (338c513) x86_64 x86_64 x86_64 GNU/Linux<br>
<br>
** The image recipe - a simple core-image sub-class **<br>
<br>
inherit core-image<br>
<br>
IMAGE_FEATURES += "tools-debug"<br>
IMAGE_INSTALL += "gdk-pixbuf"<br>
<br>
** The failing script that generates the error **<br>
<br>
#!/bin/sh<br>
<br>
export GDK_PIXBUF_MODULEDIR=$D${libdir}/gdk-pixbuf-2.0/2.10.0/loaders<br>
export GDK_PIXBUF_FATAL_LOADER=1<br>
<br>
PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\<br>
    $D${bindir}/gdk-pixbuf-query-loaders \<br>
    >$GDK_PIXBUF_MODULEDIR/../loaders.cache && \<br>
    sed -i -e "s:$D::g" $GDK_PIXBUF_MODULEDIR/../loaders.cache   <br>
<br>
If I examine the path referenced in the error message, above I can see that there is no gdk-pixbuf-2.0 directory under user/lib in the rootfs. I've been unable to work out<br>
why this is. Path is shown immediately below:<br>
<br>
/home2/qoriq/test-sdk/QorIQ-SDK-V1.9-20151210-yocto/bld-test/tmp/work/dlic5-fsl-linux-gnuspe/sca905-image/1.0-r0/rootfs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/../loaders.cache<br>
<br>
<br>
I've also not been able to work out how to disable running of the intercept_scripts which my image doesn't need to provide a GUI. Attempts to leave them out using BBMASK didn't prevent the error:<br>
<br>
BBMASK = "poky/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.8.bb"<br>
BBMASK .= "|poky/meta/recipes-gnome/librsvg/librsvg_2.40.6.bb"<br>
</p>
<p><br>
</p>
<p>Anyone provide any insight into how I can either make this work or remove it?</p>
<p><br>
</p>
<p>Regards,</p>
<p><br>
</p>
<p>Amit<br>
</p>
<p><br>
</p>
</body>
</html>