Error when building eSDK for a `docker load`able tarball

Manuel Wagesreither

Hello all,

I would like to set up Yocto to build my application and produce
- an tarball fit to get `docker load`ed,
- an image fit to run in qemuarm,
- an image fit to run in qemux86-64,
- an image fit to run in a Raspberry Pi 4,
as well as eSDKs for each of the platforms mentioned.

Creating the tarball and images already works fine, but I'm facing difficulties with the eSDK for the docker-tarball. It fails with the error message noted below. The eSDK build for qemuarm, qemux86-64 and the Raspberry Pi 4 image completes without errors.

For building the tarball I followed the approach presented by Josef a.k.a. The Yocto Jester.

This is my image definition:
And this my machine configuration:

This is the distro configuration:
require conf/distro/poky.conf

DISTRO = "bora"
DISTRO_NAME = "Bora Horza Gobuchul (Poky-based)"

# Override these in poky-based distros
POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"

# Simply copy these lines from the manual
# DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = ""
VIRTUAL-RUNTIME_initscripts = ""
It is a duplicate of to the distro config I use for qemu and Raspberry Pi targets, but has the `DISTRO_FEATURES_append = " systemd"` commented-out. This is because initially, the tarball included some systemd units which I felt there is no need for in a docker container.

This is the error message I get when building an eSDK: (Sorry for the lengthy paste, but I really don't know which part is the important one. The "Shell environment set up for builds" really shows up AFTER the first error message, otherwise I would have skipped it.)
ERROR: bora-container-1.0-r0 do_populate_sdk_ext: Failed to generate filtered task list for extensible SDK:

### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:

You can also run generated qemu images with a command like 'runqemu qemux86'

Other commonly useful commands are:
- 'devtool' and 'recipetool' handle common recipe tasks
- 'bitbake-layers' handles common layer tasks
- 'oe-pkgdata-util' handles common target package tasks
ERROR: bitbake failed:
Parsing recipes...done.
Parsing of 2201 .bb files complete (0 cached, 2201 parsed). 3288 targets, 157 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Fetching uninative binary shim from;sha256sum=a09922172c3a439105e0ae6b943daad2d83505b17da0aba97961ff433b8c21ab
Initialising tasks...done.
Sstate summary: Wanted 503 Found 501 Missed 2 Current 0 (99% match, 0% complete)
WARNING: The glibc:do_prepare_recipe_sysroot sig is computed to be e7647c2eecc7480b4072cc50e9a999ccd161d45d6862342de994ae93e8f306e4, but the sig is locked to b6c303c7ead3bc98509abd2db62cef88b1ee8a08a760646963adfa910a0ea78d in SIGGEN_LOCKEDSIGS_t-core2-64
The glibc:do_configure sig is computed to be a32c9df42d2aae537e79f1b94e5b1448e978c8e1ff904bb35cb55e9241d80cb0, but the sig is locked to d4df7745109eca8d320cdfa97a2d9ec4512e71c15ccbbd9dfd96edfb110a8d32 in SIGGEN_LOCKEDSIGS_t-core2-64
The glibc:do_compile sig is computed to be 8061b4dcee2786866c843c636733dbcb7aec747751613fbb0c98cdbcd68e246b, but the sig is locked to 633aa602880e141d7a0f776971199f9f594295107ef9e4384e3dbb35a85c7ebe in SIGGEN_LOCKEDSIGS_t-core2-64


ERROR: Task linux-dummy.do_fetch attempted to execute unexpectedly
Task /data/proj/poky/build-bora-docker/tmp/work/containerx86_64-poky-linux/bora-container/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta-manwag/recipes-core/images/, unihash d18d2179024bc6595110c2f10112e7a8e2bd6021d3ea754af30ad9b68ebd9844, taskhash d18d2179024bc6595110c2f10112e7a8e2bd6021d3ea754af30ad9b68ebd9844
Task /data/proj/poky/build-bora-docker/tmp/work/containerx86_64-poky-linux/bora-container/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta-manwag/recipes-core/images/, unihash c2d86d42a7fc84df5f6ad94b3ed65f6991b3e680d99d40e07ee631aedee9970b, taskhash c2d86d42a7fc84df5f6ad94b3ed65f6991b3e680d99d40e07ee631aedee9970b
This is usually due to missing setscene tasks. Those missing in this build were: {'/data/proj/poky/build-bora-docker/tmp/work/containerx86_64-poky-linux/bora-container/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta-manwag/recipes-core/images/',
ERROR: Task (/data/proj/poky/build-bora-docker/tmp/work/containerx86_64-poky-linux/bora-container/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-kernel/linux/ failed with exit code 'setscene whitelist'
NOTE: Tasks Summary: Attempted 142 tasks of which 141 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: Logfile of failure stored in: /data/proj/poky/build-bora-docker/tmp/work/containerx86_64-poky-linux/bora-container/1.0-r0/temp/log.do_populate_sdk_ext.8096
ERROR: Task (/data/proj/poky/build-bora-docker/../meta-manwag/recipes-core/images/ failed with exit code '1'
NOTE: Tasks Summary: Attempted 2358 tasks of which 2356 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Thank you!
Best regards,

Join to automatically receive all group messages.