Bug 862 - cairo-1.10.2-r0: task do_compile: Failed
Summary: cairo-1.10.2-r0: task do_compile: Failed
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.0 M4
Assignee: Beth Flanagan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-03-13 23:12 UTC by Dexuan Cui
Modified: 2011-03-15 00:13 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
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-13 23:12:34 UTC
Looks it depends on glib-2.0?

http://autobuilder.yoctoproject.org:8010/builders/nightly-external/builds/74/steps/shell_5/logs/stdio

| Making all in cairo-gobject
| make[4]: Entering directory `/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/i586-poky-linux/cairo-1.10.2-r0/cairo-1.10.2/util/cairo-gobject'
|   CC     libcairo_gobject_la-cairo-gobject-enums.lo
|   CC     libcairo_gobject_la-cairo-gobject-structs.lo
| In file included from cairo-gobject-structs.c:41:0:
| cairo-gobject.h:44:25: fatal error: glib-object.h: No such file or directory
| compilation terminated.
| make[4]: *** [libcairo_gobject_la-cairo-gobject-structs.lo] Error 1
| make[4]: *** Waiting for unfinished jobs....
| In file included from cairo-gobject-enums.c:8:0:
| cairo-gobject.h:44:25: fatal error: glib-object.h: No such file or directory
| compilation terminated.
Comment 1 Dexuan Cui 2011-03-13 23:29:34 UTC
I tried "bitbake -c cleanall glib-2.0" and later "bitbake cairo" can succeed, but the log.configure shows:

checking whether cairo's gobject functions feature could be enabled... no (requires gobject-2.0 glib-2.0 http://download.gnome.org/pub/GNOME/sources/glib/)
...
checking for glib... no

In the log of autobuilder, we can see glibc-2.0's do_configure succeeds after cairo's do_compile.

So glib-2.0 should be added into DEPENDS of cario.
Comment 2 Dexuan Cui 2011-03-13 23:38:33 UTC
(In reply to comment #1)
> I tried "bitbake -c cleanall glib-2.0" and later "bitbake cairo" can succeed,
> but the log.configure shows:
> checking whether cairo's gobject functions feature could be enabled... no
> (requires gobject-2.0 glib-2.0
> http://download.gnome.org/pub/GNOME/sources/glib/)
> ...
> checking for glib... no
> In the log of autobuilder, we can see glibc-2.0's do_configure succeeds after
Sorry for the typo: it's glib-2.0 rather than glibc-2.0.

> cairo's do_compile.
> So glib-2.0 should be added into DEPENDS of cario.