Re: Building Yocto on AWS container getting ERROR: The postinstall intercept hook 'update_icon_cache' failed, #yocto


Khem Raj
 

On Mon, Sep 6, 2021 at 1:46 AM <mail2uvijay@...> wrote:

Hi All,

I am trying to build Yocto image on aws code buildfor SAMA5D27 from Microchip. Created container.
Able to setup the environment successfully with the dependencies installed on container. At the final step while creating rootfs image i am getting below error.

"ERROR: The postinstall intercept hook 'update_icon_cache' failed,...
ERROR:
DEBUG: Python function do_rootfs finished
ERROR: Function failed: do_rootfs
"
Usually these errors pop up when qemu usermode fails to run the needed
programs during cross build.
check the logs thoroughly and see if it leaves traces when executing
update_icon_cache of any such issues in executing qemu

Tried couple of options by installing libgdk-pixbuf2.0-0 in container, for bb image script DEPENDS += "qemuwrapper-cross"

However I was able to build Yocto in virtual box ubuntu 16.04.

Please let me know what i have missed..

Regards,
Vijay

Join yocto@lists.yoctoproject.org to automatically receive all group messages.