Re: Build failure due to wic-tools dependency #yocto


Khem Raj
 

it seems you might be missing below commit
https://git.openembedded.org/openembedded-core/commit/?id=d0ebcf62109d6a131e02cd4c0f04bba203ed6579

On Sat, Sep 5, 2020 at 12:17 AM
<hariprasath.gujulanelango@...> wrote:

Hello all

I am trying to build Yocto based distribution for a custom target based on I.MX8. While creating the target image, I am facing the below error. The wic-tools recipe file already has 'e2fsprogs-native' in its DEPENDS list. Also I am able to the see the e2fsprogs-native binaries generate already under "build/tmp/sysroots-components/x86_64/e2fsprogs-native/sbin/". I have attached the necessary logs for reference.

Additionally I tried 'bitbake wic-tools' and that builds fine. Any hints whats wrong ?

| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_wic
| INFO: Creating image(s)...
|
| ERROR: A native program mkfs.ext4 required to build the image was not found (see details above).
|
| Please make sure wic-tools have e2fsprogs-native in its DEPENDS, build it with 'bitbake wic-tools' and try again.
|
|
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/hari/projects/tx-nextgen/linux-yocto-bsp/build/tmp/work/imx8mmddr4evk-poky-linux/nextgen-image/1.0-r0/temp/run.do_image_wic.21626' failed with exit code 1:
| INFO: Creating image(s)...
|
| ERROR: A native program mkfs.ext4 required to build the image was not found (see details above).
|
| Please make sure wic-tools have e2fsprogs-native in its DEPENDS, build it with 'bitbake wic-tools' and try again.
|
|
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/home/hari/projects/tx-nextgen/linux-yocto-bsp/sources/meta-tx-nextgen/recipes-core/images/nextgen-image.bb:do_image_wic) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5390 tasks of which 1 didn't need to be rerun and 1 failed.

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