[meta-freescale] The do_rootfs task fails on update_pixbuf_cache

amit.chaudhuri at bt.com amit.chaudhuri at bt.com
Wed Oct 11 02:08:29 PDT 2017


do_rootfs fails with core-image sub-class (The postinstall intercept hook 'update_pixbuf_cache' failed (exit code: 1)!)

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.

The error message I get is:


/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'


System and recipe details below:

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

** The image recipe - a simple core-image sub-class **

inherit core-image

IMAGE_FEATURES += "tools-debug"
IMAGE_INSTALL += "gdk-pixbuf"

** The failing script that generates the error **

#!/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. Path is shown immediately below:

/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 provide any insight into how I can either make this work or remove it?


Regards,


Amit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20171011/ea88e8ad/attachment.html>


More information about the meta-freescale mailing list