buildhistory_get_sdk_installed doesn't work well when 2 sdk images are built at the same time, they share some temporary files ($1 is set to "target" or "host") POPULATE_SDK_POST_TARGET_COMMAND_append = "buildhistory_get_sdk_installed target ; " POPULATE_SDK_POST_HOST_COMMAND_append = "buildhistory_get_sdk_installed host ; " shared files: pkgcache="$1/installed-packages.tmp" $1/depends.tmp $1/depends.dot $1/installed-package-sizes.tmp $1/installed-package-sizes.txt 4 more $1/depends-*dot are used only when != sdk when 2 tasks run together, the 2nd fails with rm: cannot remove '/OE/shr-core/buildhistory/sdk/oecore-i686-cortexa8-vfp-neon/target/installed-packages.tmp': No such file or directory and even the 1st can have invalid buildhistory info (some parts could be overwritten from 2nd task)
Now when it completed successfully I can see that's a bit worse, both SDK images are written to the same directory in buildhistory, this is from building meta-toolchain-gmae and then meta-toolchain-efl: https://github.com/shr-distribution/buildhistory/commit/27d505b4f4c1730d187a84413bbc05f01f69d953 It would be nice to put them in "sdk name" directory like it's done for normal images.
I've sent a patch to add IMAGE_BASENAME to the path within buildhistory to avoid this issue.
Thanks for quick fix.
Patch merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f5c6663b37fe0bca8475f4e063b0123c66c2c808