Bug 6069 - setscene tasks may not respect to the DEPENDS
Summary: setscene tasks may not respect to the DEPENDS
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6 M5
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-30 03:09 UTC by Robert Yang
Modified: 2014-04-01 09:25 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2014-03-30 03:09:44 UTC
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.