I'm using the latest git master commit e5a40cd6f8c6a8c3d40cbaf29bffe5e201056dad and found the issue: After "bitbake file-native", we can see the list of the populated files in tmp/sstate-control/manifest-i686-file-native.populate-sysroot e.g., a populated file is tmp/sysroots/i686-linux/usr/lib/libmagic.so Later, after doing "bitbake -c cleanall file-native", I found the file tmp/sysroots/i686-linux/usr/lib/libmagic.so was not really removed! This looks be caused by a recent commit that breaks an assumption of the order between SSTATETASKS and SSTATETASKNAMES. commit 25a6e5f98cea5ee3f79ad0e444572997ae736e8f Author: Martin Jansa <martin.jansa@gmail.com> Date: Thu Mar 24 00:05:40 2011 +0100 sstate: use only unique set of SSTATETASK * otherwise strange error like this: ERROR: Logfile of failure stored in: /OE/shr-core/tmp/work/armv7a-oe-linux-gnueabi/libtool-cross-2.4-r1/temp/log.do_package_write_ipk.25551 Log data follows: | ERROR: Package already staged (/OE/shr-core/tmp/sstate-control/manifest-nokia900-libtool-cross.deploy-ipk)?! | ERROR: Function 'sstate_task_postfunc' failed NOTE: package libtool-cross-2.4-r1: task do_package_write_ipk: Failed ERROR: Task 11 (/OE/shr-core/openembedded-core/meta/recipes-devtools/libtool/libtool-cross_2.4.bb, do_package_write_ipk) failed with exit code '1' is shown in this case with package_ipk twice in INHERIT * Thanks to Richard for fix (From OE-Core rev: f2fe5e840b8aa0558b5462ef2c7517b2f14ec2ea) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I made a fix and will push it out: http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/master&id=b6d33e1f27bd58e28ff710ca0cabdc02d7a28eb5
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=7ddc746e5af70b4a96e7f49e82cb7520cf89d331
See previous comment
(In reply to comment #2) > http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=7ddc746e5af70b4a96e7f49e82cb7520cf89d331 VERIFY the bug.
Bernard: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8c888bf67a5c86e1f7f587389ced4075aaad0eb1