Bug 831

Summary: gst-plugins-bad-0.10.20-r0: do_compile failed:
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Dexuan Cui <dexuan.cui>
Component: coreAssignee: Dongxiao Xu <dongxiao.xu>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: High CC: meta.mr.watcher, meta.watcher, sgw
Version: 1.0   
Target Milestone: 1.0 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description Dexuan Cui 2011-03-09 18:00:33 UTC
http://autobuilder.yoctoproject.org:8010/builders/nightly-external/builds/72/steps/shell_5/logs/stdio

| cp org.freedesktop.gstreamer.default-elements.gschema.xml org.freedesktop.gstreamer-0.10.default-elements.gschema.xml
|   GEN    org.freedesktop.gstreamer-0.10.default-elements.gschema.valid
| cc1: warning: /srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemux86/usr/include/librsvg-2.0: No such file or directory
| cc1: warning: /srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemux86/usr/include/librsvg-2.0: No such file or directory
| In file included from gstrsvg.c:25:0:
| gstrsvgdec.h:29:26: fatal error: librsvg/rsvg.h: No such file or directory
| compilation terminated.
| make[3]: *** [libgstrsvg_la-gstrsvg.lo] Error 1
| make[3]: *** Waiting for unfinished jobs....
| In file included from gstrsvgdec.c:24:0:
| gstrsvgdec.h:29:26: fatal error: librsvg/rsvg.h: No such file or directory
| compilation terminated.
| make[3]: *** [libgstrsvg_la-gstrsvgdec.lo] Error 1
| make[3]: Leaving directory `/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/i586-poky-linux/gst-plugins-bad-0.10.20-r0/gst-plugins-bad-0.10.20/ext/rsvg'
| make[2]: *** [rsvg] Error 2


Looks it lacks a dependency on librsvg?
Comment 1 Saul Wold 2011-03-09 19:39:10 UTC
This may actually be a PARALLEL_MAKE Issue
Comment 2 Dongxiao Xu 2011-03-09 22:03:43 UTC
Defaultly gst-plugins-bad will configured with option --enable-rsvg.
Besides, it will check if librsvg really exists by certain configure
code.

Therefore there will be a certain race condition that, during
librsvg's populate_sysroot, gst-plugins-bad's do_compile will find
some header files are still not exists though its configure says the
library is supported.

Explicitly add librsvg as gst-plugins-bad's dependency could solve
this issue.