Bug 1046

Summary: Recipe gobject-introspection does not build
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Scott Garman <scott.a.garman>
Component: meta-yoctoAssignee: Saul Wold <sgw>
Status: RESOLVED OBSOLETE QA Contact:
Severity: normal    
Priority: Medium CC: josh, kai.kang, poky.bs.watcher, poky.watcher, richard.purdie
Version: 1.0   
Target Milestone: 1.4   
Hardware: x86   
OS: Multiple   
Whiteboard: Maybe impossible, base source is needed for m4 macros (08-Aug-2011)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
do_compile log none

Description Scott Garman 2011-05-12 14:05:39 UTC
As part of the documentation audit, the gobject-introspection recipe failed to build for qemux86 on my Fedora 14 host. I will attach the build error log to this bug.
Comment 1 Scott Garman 2011-05-12 15:43:13 UTC
The reason why this fails is it has a DEPENDS on gobject-introspection-native and *that* fails with the do_compile log I'm attaching.
Comment 2 Scott Garman 2011-05-12 15:43:38 UTC
Created attachment 150 [details]
do_compile log
Comment 3 Saul Wold 2011-08-24 14:12:02 UTC
There is an upstream bug for this, I will post a link when I track it down.
Comment 5 Kai Kang 2011-11-07 01:46:43 UTC
gobject-introspection has fix this issue by:
commit 26ac70c37e4ea2f7e1caf8cebed3577695ce20e3
Author: Colin Walters <walters@verbum.org>
Date:   Tue May 18 15:27:49 2010 -0400

Add uid_t, gid_t, dev_t to integral type conversions

After update it still fails:
| checking for headers required to compile python extensions... not found
| configure: error: Python headers not found

Then check the config.log:

configure:14282: checking for headers required to compile python extensions
configure:14299: i586-poky-linux-gcc -E --sysroot=/mnt/sda8/poky-neil/build/tmp/sysroots/qemux86  -m32   -march=i586  -I/mnt/sda8/poky-neil/build/tmp/sysroots/x86_64-linux/usr/include/python2.7 conftest.c
In file included from /mnt/sda8/poky-neil/build/tmp/sysroots/x86_64-linux/usr/include/python2.7/Python.h:8:0,
                 from conftest.c:45:
/mnt/sda8/poky-neil/build/tmp/sysroots/x86_64-linux/usr/include/python2.7/pyconfig.h:989:0: warning: "SIZEOF_LONG" redefined [enabled by default]
conftest.c:31:0: note: this is the location of the previous definition
In file included from /mnt/sda8/poky-neil/build/tmp/sysroots/x86_64-linux/usr/include/python2.7/Python.h:58:0,
                 from conftest.c:45:
/mnt/sda8/poky-neil/build/tmp/sysroots/x86_64-linux/usr/include/python2.7/pyport.h:849:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
configure:14299: $? = 1
Comment 6 Saul Wold 2012-08-13 13:56:33 UTC
The recipe was removed by RP and a introspection class was created instead.