Bug 5926

Summary: do_populate_sysroot_setscene is not available for icu-native
Product: [Build System, Metadata & Runtime] BitBake Reporter: Otavio Salvador <otavio>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Medium CC: poky.bs.watcher, poky.watcher, sgw
Version: unspecified   
Target Milestone: 1.6   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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.