Created attachment 4012 [details] eSDK build log I'm trying to build eSDK for my BSP (which also creates initramfs image for my kernel): bitbake -c do_populate_sdk_ext core-image-XXX Error excerpt: -------------- NOTE: Executing RunQueue Tasks ERROR: Task linux-yocto-custom.do_fetch attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_unpack attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_kernel_checkout attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_validate_branches attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_kernel_metadata attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_patch attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_prepare_recipe_sysroot attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_kernel_configme attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_configure attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_kernel_configcheck attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_kernel_version_sanity_check attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_compile attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_compile_kernelmodules attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_kernel_link_images attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_strip attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_assemble_fitimage attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_sizecheck attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_install attempted to execute unexpectedly ERROR: Task linux-yocto-custom.do_bundle_initramfs attempted to execute unexpectedly NOTE: Tasks Summary: Attempted 4343 tasks of which 4343 didn't need to be rerun and all succeeded. Summary: There was 1 WARNING message shown. Summary: There were 19 ERROR messages shown, returning a non-zero exit code. diffsigs output: ---------------- bitbake-diffsigs -t linux-yocto-custom do_bundle_initramfs ERROR: Only one matching sigdata file found for the specified task (linux-yocto-custom do_bundle_initramfs) Note: ----- If this helps - there was similar issue already reported: http://lists.openembedded.org/pipermail/openembedded-core/2016-July/123886.html The author says that commenting out INITRAMFS_IMAGE helped. However, I've been trying: SDK_LOCAL_CONF_BLACKLIST_append = " INITRAMFS_IMAGE" or SDK_INHERIT_BLACKLIST_append = " kernel" added to my distro.conf file. Both did not solve this issue. Version info: ------------- Build Configuration: BB_VERSION = "1.34.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "XXX" DISTRO = "YYY-distro" DISTRO_VERSION = "2.3.1" TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard" TARGET_FPU = "hard" meta meta-poky = "pyro:6bd890d9e011014cf323e61267f8b256949d44aa" Please find also detailed build log.
I can confirm that after commenting out: #INITRAMFS_IMAGE ?= "${MACHINE}-image-initramfs-content" The eSDK is build correctly.
I believe this is fixed in master - and it's relatively easy to backport to pyro. Could you please give the following patch a try and confirm that it fixes the issue for you as well? http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=paule/pyro-initramfs-fix&id=00539c6b21731e54120d98ddc9d2ab582defdf69
(In reply to comment #3) > I believe this is fixed in master - and it's relatively easy to backport to > pyro. Could you please give the following patch a try and confirm that it > fixes the issue for you as well? > > http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=paule/pyro- > initramfs-fix&id=00539c6b21731e54120d98ddc9d2ab582defdf69 I can confirm that after backporting this patch I'm able to execute bitbake -c populate_sdk_ext core-image-XXX without errors. However, when I do install the produced eSDK itself I see following warnings: WARNING: The linux-yocto-custom:do_assemble_fitimage_initramfs sig is computed to be 80e8f04b6c3d6ca054ead9f7f1c5054d, but the sig is locked to d3c7ef5f1feb723b45ace36e6e9886d8 in SIGGEN_LOCKEDSIGS_t-display5 The linux-yocto-custom:do_bundle_initramfs sig is computed to be 9efd9829144147b03cb88fa7948c007a, but the sig is locked to 6c769c56ec24c2a20ef24c2a904c3df8 in SIGGEN_LOCKEDSIGS_t-display5
Indeed, I saw the same thing as well - I've just sent this to fix it: http://cgit.openembedded.org/openembedded-core-contrib/commit/?h=paule/esdk-sigs-fix
OK, the aforementioned patch has been merged. I have just sent backports to pyro: http://cgit.openembedded.org/openembedded-core-contrib/log/?h=paule/pyro-esdk-initramfs-fix-oe
in pyro http://cgit.openembedded.org/openembedded-core/commit/meta/classes/image_types_wic.bbclass?h=pyro&id=8bf158857d7c597c58efc4023bdd9c2785d43ad3
should be fixed now
Created attachment 4211 [details] Build environment description Information regarding build environment
Created attachment 4212 [details] Ext SDK error log after building The build error after building
The bitbake -c populate_sdk core-image-XXX is still not working.
(In reply to comment #11) > The bitbake -c populate_sdk core-image-XXX is still not working. ok. thanks for checking. I am going to try to reproduce this
I have not time to look into this.
Unfortunately at this point we're not going to fix this in the 2.3 branch which is no longer supported. I'm pretty confident we have fixed this in later releases. If you do see anything like it in a supported release please reopen.