Bug 1046 - Recipe gobject-introspection does not build
Summary: Recipe gobject-introspection does not build
Status: RESOLVED OBSOLETE
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard: Maybe impossible, base source is need...
Depends on:
Blocks:
 
Reported: 2011-05-12 14:05 UTC by Scott Garman
Modified: 2012-08-13 13:56 UTC (History)
5 users (show)

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


Attachments
do_compile log (9.84 KB, application/octet-stream)
2011-05-12 15:43 UTC, Scott Garman
no flags Details

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