Images/angstrom-lxde-image.bb:do_image_teziimg) failed with exit code '1'

I am attempting to add qtquickcontrols to my angstrom-lxde-image through the openembedded build. I previously asked error while loading shared libraries: libQt5QuickControls2.so.5 - Toradex Community and am following that instruction to now add qtquickcontrols.

I have added it to my local.conf as: IMAGE_INSTALL_append = " qtbase qtbase-plugins qtquickcontrols qtquickcontrols2 qtmultimedia cinematicexperience liberation-fonts".

I then clean my build: bitbake -c clean angstrom-lxde-image. Then bitbake -k angstrom-lxde-image.

I see the following errors:

ERROR: Task (/home/lynetta/projects/imx7D/oe_core/linuxImageV2.8/build/../layers/meta-toradex-demos/recipes-images/images/angstrom-lxde-image.bb:do_image_wic) failed with exit code '1'
ERROR: angstrom-lxde-image-2.8b1-r0 do_image_teziimg: imx7d-colibri-eval-v3.dtb does not exist.
ERROR: angstrom-lxde-image-2.8b1-r0 do_image_teziimg: Function failed: do_image_teziimg (log file is located at /home/lynetta/projects/imx7D/oe_core/linuxImageV2.8/build/tmp-glibc/work/colibri_imx7-angstrom-linux-gnueabi/angstrom-lxde-image/2.8b1-r0/temp/log.do_image_teziimg.17143)
ERROR: Logfile of failure stored in: /home/lynetta/projects/imx7D/oe_core/linuxImageV2.8/build/tmp-glibc/work/colibri_imx7-angstrom-linux-gnueabi/angstrom-lxde-image/2.8b1-r0/temp/log.do_image_teziimg.17143
ERROR: Task (/home/lynetta/projects/imx7D/oe_core/linuxImageV2.8/build/../layers/meta-toradex-demos/recipes-images/images/angstrom-lxde-image.bb:do_image_teziimg) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7228 tasks of which 7190 didn't need to be rerun and 3 failed.

I have included the terminal outputlink text.

Can you please help me understand how to resolve this error?

Hi

It looks like the kernel artifacts are missing in the deploy/image/ directory for whatever reason.

Does it help to clean the kernel to force a rebuild and deploy of the kernel artifacts and then rebuild the image, e.g.

bitbake -c clean virtual/kernel
bitbake -k angstrom-lxde-image

Max

This doesn’t seem to help. I have attached the output. Something with the meta-toradex-demos is causing errors. How do I clean and regenerate that?

I have attached the output.link text

hi
can you send the log files “/home/lynetta/projects/imx7D/oe_core/linuxImageV2.8/build/tmp-glibc/work/colibri_imx7-angstrom-linux-gnueabi/angstrom-lxde-image/2.8b1-r0/temp/log.do_image***” which are in the file you attached before.

Here are the files:

log.do_imagedeploy link text

and

log.do_image_teziimg link text

Thanks for you help!

Hi

It looks like additionally the U-Boot artifacts are missing in the deploy/image/ directory for whatever reason.

Does it help to clean the bootloader to force a rebuild and deploy of the kernel artifacts and then rebuild the image, e.g.

bitbake -c clean virtual/bootloader
bitbake -k angstrom-lxde-image

Max

The attempt to clean virtual/bootloader and then run bitbake did not work.

I then attempted to clean angstrom-lxde-image, virtual/kernel, and virtual/bootloader and modified my local.conf to remove both qtquickcontrols and qtquickcontrols2 from my IMAGE_INSTALL_append. I ran that and still got errors.
Here is the console log: link text

Here is the log.do_image_teziimg.28153 link text

Any further suggestions would be greatly appreciated.

Try to rebuild the image from sstate cache by deleting the following:

rm -rf build/tmp-glibc deploy

and then restart the build of the image.

Thank you! This did the trick!!! My build works now.