There is configure error then is being seen on glib-2.0 when building for nativesdk checking for glib-genmarshal... /usr/bin/glib-genmarshal checking for glib-compile-schemas... /usr/bin/glib-compile-schemas checking for glib-compile-resources... no configure: error: Could not find a glib-compile-resources in your PATH Configure failed. The contents of all config.log files follows to aid debugging /home/kraj/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/glib-2.0-nativesdk-1_2.32.4-r3/glib-2.32.4/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. Its looking for glib-compile-resources on my host and native sysroot and its not there. Should this be asked as explicit dependency which is to install glib-2.0-bin on build host ?
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 ...