| Summary: | glib-2.0-nativesdk build fails on ubuntu 11.10/64bit | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Khem Raj <raj.khem> |
| Component: | core | Assignee: | Khem Raj <raj.khem> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | liang.li2, meta.mr.watcher, meta.watcher, song.liu |
| Version: | 1.3 | ||
| Target Milestone: | 1.3 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Khem Raj
2012-07-25 14:30:17 UTC
The patch below works it around.
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
index 988494b..932c946 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
@@ -22,6 +22,7 @@ SRC_URI[sha256sum] = "a5d742a4fda22fb6975a8c0cfcd2499dd1c809b8afd4ef709bda4d11b1
SRC_URI_append_virtclass-native = " file://glib-gettextize-dir.patch"
BBCLASSEXTEND = "native nativesdk"
+CACHED_CONFIGUREVARS_virtclass-nativesdk = "ac_cv_path_GLIB_COMPILE_RESOURCES=/bin/true"
do_configure_prepend() {
sed -i -e "s:TEST_PROGS += gdbus-serialization::g" ${S}/gio/tests/Makefile.am
sed -i -e '1s,#!.*,#!${USRBINPATH}/env python,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in
I assume you will post this to the mailing list. this error also happened on Fedora 17 32 bit host. git info : 0ffb02eec2beaea27ff0ec9d3d31b0a09e675a4c git branch :poky/master when run "bitbake meta-toolchain" with following settings in conf/local.conf PACKAGE_CLASSES ?= "package_ipk" SDKMACHINE ?= "i686" .... | configure: exit 1 | ERROR: oe_runconf failed | ERROR: Function failed: do_configure (see /buildarea/tester/build_4/tmp/work/i686-nativesdk-pokysdk-linux/glib-2.0-nativesdk-1_2.32.4-r3/temp/log.do_configure.6669 for further information) NOTE: package glib-2.0-nativesdk-1_2.32.4-r3: task do_configure: Failed ERROR: Task 1079 (virtual:nativesdk:/buildarea/poky.ubuntu.new/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb, do_configure) failed with exit code '1' .... NOTE: Tasks Summary: Attempted 1716 tasks of which 1684 didn't need to be rerun and 1 failed. Summary: 1 task failed: virtual:nativesdk:/buildarea/poky.ubuntu.new/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb, do_configure Summary: There was 1 ERROR message shown, returning a non-zero exit code. OE-Core rev: 69bd94173294c1ae2cf5e300ada7116e99a5b0c7 fixed part of it. (In reply to comment #3) > this error also happened on Fedora 17 32 bit host. the error not met on both fedora 17 32 bit host and opensuse 12.1 64 bit host using following git commit: git commit :3309cf42d314f0a26079a11836c6b9b9bb5f253e git branch :poky/master commit 5416bf849ceefb49f06bedfa5e67595e9c68582a Author: Khem Raj <raj.khem@gmail.com> Date: Fri Aug 3 21:58:20 2012 -0700 glib-2.0-nativesdk: Add dependency on glib-2.0-native fixed it completely verified on : git info:718eb85806e080d0b165344b272e531ef19421eb git branch:poky/1.3_M5 run "bitbake glib-2.0-native",no such error on both ubuntu 11.10 64bit and fedora 17 32bit hosts: ... NOTE: Running task 166 of 173 (ID: 5, virtual:native:/buildarea1/tester/test_git_1/poky/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb, do_configure) NOTE: recipe glib-2.0-native-1_2.32.4-r6: task do_configure: Started NOTE: recipe glib-2.0-native-1_2.32.4-r6: task do_configure: Succeeded ... |