It seems like when we try to build a derivative SDK using command "devtool build-sdk", bitbake failed to locate shared state cache and hence causing failures to set-scene and not producing derivative SDK. Steps to reproduce: 1. Install eSDK via latest installer (2.4) http://downloads.yoctoproject.org/releases/yocto/yocto-2.4/toolchain/x86_64/poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-2.4.sh 2. Source the eSDK environment script. 3. Add the component using "devtool add". We used bbexample. $ devtool add 'https://github.com/pgyptraining/bbexample.git;rev=55412248fbab1e95a777aa386b3f2c890c105c45' 4. Without changing anything in the configurations and recipe, we started the build using "devtool build-sdk" $ devtool build-sdk We would first see meta-emvironment-extsdk-qemux86 having taskhash mismatch. ----- snip ----- ERROR: meta-environment-extsdk-qemux86-1.0-r8 do_generate_content: Taskhash mismatch 8fbaa5a81b850a0a1b2e9e70066d92f2 versus 8b026f55bdf00a4ce6519fe247b01a83 for /media/rebeccas/yocto/poky_sdk_official/layers/build/meta/recipes-core/meta/meta-environment-extsdk.bb.do_generate_content ERROR: Taskhash mismatch 8fbaa5a81b850a0a1b2e9e70066d92f2 versus 8b026f55bdf00a4ce6519fe247b01a83 for /media/rebeccas/yocto/poky_sdk_official/layers/build/meta/recipes-core/meta/meta-environment-extsdk.bb.do_generate_content ERROR: core-image-minimal-1.0-r0 do_populate_sdk_ext: Failed to generate filtered task list for extensible SDK: ----- snip ----- Going to end of the build, it would fail on task do_populate_sdk_ext: Function failed: copy_buildsystem ----- snip ----- Summary: There were 7 WARNING messages shown. Summary: There were 505 ERROR messages shown, returning a non-zero exit code. ---------- NOTE: "attempted to execute unexpectedly and should have been setscened" errors indicate this may be caused by missing sstate artifacts that were likely produced in earlier builds, but have been subsequently deleted for some reason. ERROR: core-image-minimal-1.0-r0 do_populate_sdk_ext: Function failed: copy_buildsystem ERROR: Logfile of failure stored in: /media/rebeccas/yocto/poky_sdk_official/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_populate_sdk_ext.91062 ERROR: Task (/media/rebeccas/yocto/poky_sdk_official/layers/build/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk_ext) failed with exit code '1' NOTE: Tasks Summary: Attempted 3250 tasks of which 320 didn't need to be rerun and 1 failed. NOTE: The errors for this build are stored in /media/rebeccas/yocto/poky_sdk_official/tmp/log/error-report/error_report_20171114044159.txt You can send the errors to a reports server by running: send-error-report /media/rebeccas/yocto/poky_sdk_official/tmp/log/error-report/error_report_20171114044159.txt [-s server] NOTE: The contents of these logs will be posted in public if you use the above command with the default server. Please ensure you remove any identifying or proprietary information when prompted before sending. Summary: 1 task failed: /media/rebeccas/yocto/poky_sdk_official/layers/build/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk_ext Summary: There were 4 WARNING messages shown. Summary: There were 4 ERROR messages shown, returning a non-zero exit code. ----- snip -----
Created attachment 4123 [details] do_populate_sdk_ext log
Created attachment 4124 [details] Auto generated error report
Still worth doing when we have the people available. -- YP bug review.