Bug 862

Summary: cairo-1.10.2-r0: task do_compile: Failed
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Dexuan Cui <dexuan.cui>
Component: graphicsAssignee: Beth Flanagan <elizabeth.flanagan>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium 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: Documentation change: ---

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.