Bug 831 - gst-plugins-bad-0.10.20-r0: do_compile failed:
Summary: gst-plugins-bad-0.10.20-r0: do_compile failed:
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: High normal
Target Milestone: 1.0 M4
Assignee: Dongxiao Xu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-03-09 18:00 UTC by Dexuan Cui
Modified: 2011-03-16 08:32 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.