[oe-commits] Martin Jansa : json-glib_0.10.4: disable introspection for now

git version control git at git.openembedded.org
Wed Jan 5 09:38:59 UTC 2011


Module: openembedded.git
Branch: master
Commit: 7649c6803000597b8e05f9296cb25744f9cc3c50
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7649c6803000597b8e05f9296cb25744f9cc3c50

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Wed Jan  5 10:34:47 2011 +0100

json-glib_0.10.4: disable introspection for now

* otherwise fails to build:
| make[4]: Entering directory `/home/shr/shr-unstable/tmp/work/armv6-novfp-oe-linux-gnueabi/json-glib-0.10.4-r0/json-glib-0.10.4/json-glib'
|   GEN    Json-1.0.gir
| g-ir-scanner: compile: arm-oe-linux-gnueabi-gcc -march=armv6j -mtune=arm1136jf-s -mthumb-interwork -mno-thumb -pthread -I/home/shr/shr-unstable/tmp/sysroots/armv6-novfp-oe-linux-gnueabi/usr/include/glib-2.0 -I/home/shr/shr-unstable/tmp
/sysroots/armv6-novfp-oe-linux-gnueabi/usr/lib/glib-2.0/include -isystem/home/shr/shr-unstable/tmp/sysroots/armv6-novfp-oe-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -I.. -I/home/shr/s
hr-unstable/tmp/sysroots/armv6-novfp-oe-linux-gnueabi/usr/include/glib-2.0 -I/home/shr/shr-unstable/tmp/sysroots/armv6-novfp-oe-linux-gnueabi/usr/lib/glib-2.0/include -c -o /home/shr/shr-unstable/tmp/work/armv6-novfp-oe-linux-gnueabi/jso
n-glib-0.10.4-r0/json-glib-0.10.4/json-glib/tmp-introspectSrGXMp/Json-1.0.o /home/shr/shr-unstable/tmp/work/armv6-novfp-oe-linux-gnueabi/json-glib-0.10.4-r0/json-glib-0.10.4/json-glib/tmp-introspectSrGXMp/Json-1.0.c
| g-ir-scanner: link: ../libtool --mode=link --tag=CC --silent "arm-oe-linux-gnueabi-gcc -march=armv6j -mtune=arm1136jf-s -mthumb-interwork -mno-thumb" -o /home/shr/shr-unstable/tmp/work/armv6-novfp-oe-linux-gnueabi/json-glib-0.10.4-r0/j
son-glib-0.10.4/json-glib/tmp-introspectSrGXMp/Json-1.0 -isystem/home/shr/shr-unstable/tmp/sysroots/armv6-novfp-oe-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -L. libjson-glib-1.0.la -p
thread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /home/shr/shr-unstable/tmp/work/armv6-novfp-oe-linux-gnueabi/json-glib-0.10.4-r0/json-glib-0.10.4/json-glib/tmp-introspectSrGXMp/Json-1.0.o
| Traceback (most recent call last):
|   File "/home/shr/shr-unstable/tmp/sysroots/x86_64-linux/usr/bin/g-ir-scanner", line 45, in <module>
|     sys.exit(scanner_main(sys.argv))
|   File "/home/shr/shr-unstable/tmp/sysroots/x86_64-linux/usr/lib/gobject-introspection/giscanner/scannermain.py", line 405, in scanner_main
|     shlibs = create_binary(transformer, options, args)
|   File "/home/shr/shr-unstable/tmp/sysroots/x86_64-linux/usr/lib/gobject-introspection/giscanner/scannermain.py", line 309, in create_binary
|     gdump_parser.get_get_type_functions())
|   File "/home/shr/shr-unstable/tmp/sysroots/x86_64-linux/usr/lib/gobject-introspection/giscanner/dumper.py", line 233, in compile_introspection_binary
|     return dc.run()
|   File "/home/shr/shr-unstable/tmp/sysroots/x86_64-linux/usr/lib/gobject-introspection/giscanner/dumper.py", line 140, in run
|     self._link(bin_path, o_path)
|   File "/home/shr/shr-unstable/tmp/sysroots/x86_64-linux/usr/lib/gobject-introspection/giscanner/dumper.py", line 228, in _link
|     subprocess.check_call(args)
|   File "/home/shr/shr-unstable/tmp/sysroots/x86_64-linux/usr/lib/python2.6/subprocess.py", line 493, in check_call
|     retcode = call(*popenargs, **kwargs)
|   File "/home/shr/shr-unstable/tmp/sysroots/x86_64-linux/usr/lib/python2.6/subprocess.py", line 480, in call
|     return Popen(*popenargs, **kwargs).wait()
|   File "/home/shr/shr-unstable/tmp/sysroots/x86_64-linux/usr/lib/python2.6/subprocess.py", line 633, in __init__
|     errread, errwrite)
|   File "/home/shr/shr-unstable/tmp/sysroots/x86_64-linux/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
|     raise child_exception
| OSError: [Errno 2] No such file or directory
| make[4]: *** [Json-1.0.gir] Error 1

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/json-glib/json-glib_0.10.4.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/recipes/json-glib/json-glib_0.10.4.bb b/recipes/json-glib/json-glib_0.10.4.bb
index 1c190e4..804e615 100644
--- a/recipes/json-glib/json-glib_0.10.4.bb
+++ b/recipes/json-glib/json-glib_0.10.4.bb
@@ -2,6 +2,10 @@ DESCRIPTION = "JSON-GLib is a library providing serialization and deserializatio
 LICENSE = "LGPLv2.1"
 DEPENDS = "glib-2.0"
 
+PR = "r1"
+
+EXTRA_OECONF = "--enable-introspection=no"
+
 inherit autotools
 SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/json-glib/0.10/json-glib-0.10.4.tar.gz"
 





More information about the Openembedded-commits mailing list