The setscene task may not respect to the DEPENDS when there are too many recipes in the DEPENDS: Setup a build in builddir1, and set the SSTATE_DIR to <sstate_dir> $ bitbake packagegroup-toolset-native Set a build in builddir2, and set the same SSTATE_DIR as build1 $ bitbake packagegroup-toolset-native NOTE: The packagegroup-toolset-native may have been removed from oe-core. There will be such a warning: WARNING: Setscene task 112 (virtual:native:/buildarea/lyang1/yocto/poky/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.3.bb, do_populate_sysroot_setscene) failed with exit code '1' - real task will be run instead And look at tmp/work/x86_64-linux/gdk-pixbuf-native/2.30.3-r0/temp/log.do_populate_sysroot_setscene: /buildarea/lyang1/yocto/testreuse/tmp/sysroots/x86_64-linux/usr/bin/gdk-pixbuf-query-loaders: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory We have set gdk-pixbuf-native:do_populate_sysroot_setscene depends on libpng-native:do_populate_sysroot_setscene, but it seems that it doesn't work since there are too many items (215) in packagegroup-toolset-native's DEPENDS. We can move libpng-native from the behind of gdk-pixbuf-native to the front of it to workaround it.
Resolved with http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=d67f25da2d1acb8f5c833dad7a2c1fc710261d6c