I had this failure in one of my builds: Poky - The Yocto Project testing distribution Running '. ./init-build-env; oe-run-native wic-native wic create directdisk -e core-image-sato -o ${BUILDDIR}/tmp/deploy/wic_images/qemux86/directdisk/core-image-sato/ --vars ${BUILDDIR}/tmp/deploy/images/qemux86/' with output to /srv/pokybuild/yocto-worker/wic/build/build/command-1-cmds.log in /srv/pokybuild/yocto-worker/wic/build/build Getting sysroot... Couldn't get bitbake variable from /srv/pokybuild/yocto-worker/wic/build/build/tmp/deploy/images/qemux86/core-image-sato.env. File /srv/pokybuild/yocto-worker/wic/build/build/tmp/deploy/images/qemux86/core-image-sato.env doesn't exist. Couldn't get bitbake variable from /srv/pokybuild/yocto-worker/wic/build/build/tmp/deploy/images/qemux86/core-image-sato.env. File /srv/pokybuild/yocto-worker/wic/build/build/tmp/deploy/images/qemux86/core-image-sato.env doesn't exist. Couldn't get bitbake variable from /srv/pokybuild/yocto-worker/wic/build/build/tmp/deploy/images/qemux86/core-image-sato.env. File /srv/pokybuild/yocto-worker/wic/build/build/tmp/deploy/images/qemux86/core-image-sato.env doesn't exist. Couldn't get bitbake variable from /srv/pokybuild/yocto-worker/wic/build/build/tmp/deploy/images/qemux86/core-image-sato.env. File /srv/pokybuild/yocto-worker/wic/build/build/tmp/deploy/images/qemux86/core-image-sato.env doesn't exist. Couldn't get bitbake variable from /srv/pokybuild/yocto-worker/wic/build/build/tmp/deploy/images/qemux86/core-image-sato.env. File /srv/pokybuild/yocto-worker/wic/build/build/tmp/deploy/images/qemux86/core-image-sato.env doesn't exist. Traceback (most recent call last): File "/srv/pokybuild/yocto-worker/wic/build/build/tmp/work/x86_64-linux/wic-native/0.3.0/recipe-sysroot-native/usr/bin/wic", line 8, in <module> sys.exit(main()) ~~~~^^ File "/srv/pokybuild/yocto-worker/wic/build/build/tmp/work/x86_64-linux/wic-native/0.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/wic/cli.py", line 628, in main return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage, subcommands) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/srv/pokybuild/yocto-worker/wic/build/build/tmp/work/x86_64-linux/wic-native/0.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/wic/help.py", line 83, in invoke_subcommand subcmd[0](args, usage) ~~~~~~~~~^^^^^^^^^^^^^ File "/srv/pokybuild/yocto-worker/wic/build/build/tmp/work/x86_64-linux/wic-native/0.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/wic/cli.py", line 195, in wic_create_subcommand raise WicError("Unable to find the location of the native tools sysroot") wic.WicError: Unable to find the location of the native tools sysroot ==================================================================================================== ERROR: Command . ./init-build-env; oe-run-native wic-native wic create directdisk -e core-image-sato -o ${BUILDDIR}/tmp/deploy/wic_images/qemux86/directdisk/core-image-sato/ --vars ${BUILDDIR}/tmp/deploy/images/qemux86/ failed with exit code 1, see errors above. (1776150775.6: 12.8) ==================================================================================================== Looking on the worker, the environment file is indeed missing. Yet, do_rootfs_wicenv was executed during the build, so the file should have been generated. Log file for do_rootfs_wicenv looks similar to other lo files: DEBUG: Executing python function set_image_size DEBUG: 3268205.200000 = 2514004 * 1.300000 DEBUG: 3370605.200000 = max(3268205.200000, 65536)[3268205.200000] + 102400 DEBUG: 3370606.000000 = int(3370605.200000) DEBUG: 3370606 = aligned(3370606) DEBUG: returning 3370606 DEBUG: Python function set_image_size finished DEBUG: Executing python function do_rootfs_wicenv DEBUG: Python function do_rootfs_wicenv finished
Kinda related question for the next triage meeting: should we create a bugzilla section for "wic" in "Yocto Project Subprojects"?
wic fedora43-vk-1 mathieu/master-next completed at 2026-04-14 07:27:51+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/15/builds/3546/steps/13/logs/stdio
wic fedora43-vk-1 mathieu/master-next completed at 2026-04-14 18:45:47+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/15/builds/3550/steps/13/logs/stdio
wic ubuntu2204-vk-4 master completed at 2026-04-20 01:21:31+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/15/builds/3577/steps/13/logs/stdio
Patches sent: - https://lore.kernel.org/openembedded-core/20260421-wicenv-v1-1-75450eff8364@pbarker.dev/T/ - https://lore.kernel.org/yocto-patches/20260421-wicenv-v1-1-17447e94d2f6@pbarker.dev/T/
wic ubuntu2404-vk-2 master&master-next completed at 2026-04-21 15:14:01+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/15/builds/3596/steps/13/logs/stdio
Fixes merged: - https://git.openembedded.org/openembedded-core/commit/?id=e4d49702f21fb75444d58f419432649a04e351c9 - https://git.yoctoproject.org/yocto-autobuilder-helper/commit/?id=251dbadeb48a21c825c952a140b42523e5463229