Bug 5926 - do_populate_sysroot_setscene is not available for icu-native
Summary: do_populate_sysroot_setscene is not available for icu-native
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium major
Target Milestone: 1.6
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-07 12:40 UTC by Otavio Salvador
Modified: 2014-03-23 09:02 UTC (History)
3 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 Otavio Salvador 2014-03-07 12:40:14 UTC
$: bitbake librsvg-native

terminates with:

ERROR: Task virtual:native:/home/otavio/hacking/fsl/yocto/sources/poky/meta/recipes-gnome/librsvg/librsvg_2.40.1.bb, do_populate_sysroot_setscene depends upon non-existent task virtual:native:/home/otavio/hacking/fsl/yocto/sources/poky/meta/recipes-support/icu/icu_51.2.bb:do_populate_sysroot_setscene

$: bitbake icu-native librsvg-native

works
Comment 1 Richard Purdie 2014-03-14 14:44:57 UTC
richard@ted:/media/data1/build1/poky/meta/classes$ git diff .
diff --git a/meta/classes/pixbufcache.bbclass b/meta/classes/pixbufcache.bbclass
index 0fe5163..414fd30 100644
--- a/meta/classes/pixbufcache.bbclass
+++ b/meta/classes/pixbufcache.bbclass
@@ -67,3 +67,4 @@ pixbufcache_sstate_postinst() {
 PIXBUFCACHE_SYSROOT_DEPS = ""
 PIXBUFCACHE_SYSROOT_DEPS_class-native = "${@['gdk-pixbuf-native:do_populate_sysroot_setscene', '']['${BPN}' == 'gdk-pixbuf']} glib-2.0-native:d
 do_populate_sysroot_setscene[depends] += "${PIXBUFCACHE_SYSROOT_DEPS}"
+do_populate_sysroot[depends] += "${@d.getVar('PIXBUFCACHE_SYSROOT_DEPS', True).replace('_setscene','')}"

appears to resolve this issue
Comment 2 Otavio Salvador 2014-03-14 15:16:20 UTC
It does indeed.

Works like a charm.