Hi,
I'm struggling to debug a problem with the do_rootfs task for a simple image on a P1020 based machine. I'd like to cut out a bunch of post installation intercept script activity that is causing problems, but have so far been unable to. Details below:
do_rootfs fails with core-image sub-class (The postinstall intercept hook 'update_pixbuf_cache' failed (exit code: 1)!)
Using QorIQ-SDK-V1.9-20151210-yocto from freescale.
Building a machine based on P1020RDB.
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
Error message:
/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
WARNING: The postinstall intercept hook 'update_pixbuf_cache' failed (exit code: 1)! See log for details!
NOTE: > Executing update_font_cache intercept ...
ERROR: Function failed: do_rootfs
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
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'
The image recipe:
inherit core-image
IMAGE_FEATURES += "tools-debug"
IMAGE_INSTALL += "gdk-pixbuf"
The failing script:
#!/bin/sh
export GDK_PIXBUF_MODULEDIR=$D${libdir}/gdk-pixbuf-2.0/2.10.0/loaders
export GDK_PIXBUF_FATAL_LOADER=1
PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\
$D${bindir}/gdk-pixbuf-query-loaders \
>$GDK_PIXBUF_MODULEDIR/../loaders.cache && \
sed -i -e "s:$D::g" $GDK_PIXBUF_MODULEDIR/../loaders.cache
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 why this is.
/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
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:
BBMASK = "poky/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.8.bb"
BBMASK .= "|poky/meta/recipes-gnome/librsvg/librsvg_2.40.6.bb"
Anyone had similar issues and found a resolution?