[help]gir-repository compilation error?
- From: A B <aasa0002 gmail com>
- To: gtk-devel-list gnome org
- Subject: [help]gir-repository compilation error?
- Date: Thu, 2 Sep 2010 12:12:38 +0800
Hello,
I grabbed gobject-introspection and gir-repository a few hour ago, and failed to compile gir-repository?
I am using building on Ubuntu 10.04 with latest glib/gtk 2.0 etc. packages.
error log:
/home/test/Install/bin/g-ir-scanner -v --namespace Soup --nsversion=2.4 \
--add-include-path=. --add-include-path=. \
--include=Gio-2.0 \
--library=soup-2.4 \
--libtool="/bin/bash ../libtool" \
--output Soup-2.4.gir \
--pkg libsoup-2.4 \
./Soup-custom.c \
/usr/include/libsoup-2.4/libsoup/soup-address.h /usr/include/libsoup-2.4/libsoup/soup-auth-domain-basic.h /usr/include/libsoup-2.4/libsoup/soup-auth-domain-digest.h /usr/include/libsoup-2.4/libsoup/soup-auth-domain.h /usr/include/libsoup-2.4/libsoup/soup-auth.h /usr/include/libsoup-2.4/libsoup/soup-content-decoder.h /usr/include/libsoup-2.4/libsoup/soup-content-sniffer.h /usr/include/libsoup-2.4/libsoup/soup-cookie.h /usr/include/libsoup-2.4/libsoup/soup-cookie-jar.h /usr/include/libsoup-2.4/libsoup/soup-cookie-jar-text.h /usr/include/libsoup-2.4/libsoup/soup-date.h /usr/include/libsoup-2.4/libsoup/soup-enum-types.h /usr/include/libsoup-2.4/libsoup/soup-form.h /usr/include/libsoup-2.4/libsoup/soup.h /usr/include/libsoup-2.4/libsoup/soup-headers.h /usr/include/libsoup-2.4/libsoup/soup-logger.h /usr/include/libsoup-2.4/libsoup/soup-message-body.h /usr/include/libsoup-2.4/libsoup/soup-message.h /usr/include/libsoup-2.4/libsoup/soup-message-headers.h /usr/include/libsoup-2.4/libsoup/soup-method.h /usr/include/libsoup-2.4/libsoup/soup-misc.h /usr/include/libsoup-2.4/libsoup/soup-multipart.h /usr/include/libsoup-2.4/libsoup/soup-password-manager.h /usr/include/libsoup-2.4/libsoup/soup-portability.h /usr/include/libsoup-2.4/libsoup/soup-proxy-resolver.h /usr/include/libsoup-2.4/libsoup/soup-proxy-uri-resolver.h /usr/include/libsoup-2.4/libsoup/soup-server.h /usr/include/libsoup-2.4/libsoup/soup-session-async.h /usr/include/libsoup-2.4/libsoup/soup-session-feature.h /usr/include/libsoup-2.4/libsoup/soup-session.h /usr/include/libsoup-2.4/libsoup/soup-session-sync.h /usr/include/libsoup-2.4/libsoup/soup-socket.h /usr/include/libsoup-2.4/libsoup/soup-status.h /usr/include/libsoup-2.4/libsoup/soup-types.h /usr/include/libsoup-2.4/libsoup/soup-uri.h /usr/include/libsoup-2.4/libsoup/soup-value-utils.h /usr/include/libsoup-2.4/libsoup/soup-xmlrpc.h
g-ir-scanner: compile: gcc -Wall -pthread -I/home/test/Install/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -c -o /home/test/temp/gir-repository/gir/tmp-introspectZ3rMNG/Soup-2.4.o /home/test/temp/gir-repository/gir/tmp-introspectZ3rMNG/Soup-2.4.c
g-ir-scanner: link: /bin/bash ../libtool --mode=link --tag=CC --silent gcc -o /home/test/temp/gir-repository/gir/tmp-introspectZ3rMNG/Soup-2.4 -L. -Wl,--export-dynamic -pthread -L/home/test/Install/lib -lgirepository-1.0 -lgobject-2.0 -lgmodule-2.0 -lffi -lgthread-2.0 -lrt -lglib-2.0 -lsoup-2.4 -pthread -Wl,--export-dynamic -L/home/test/Install/lib -lgio-2.0 -lgirepository-1.0 -lgobject-2.0 -lgmodule-2.0 -lffi -lgthread-2.0 -lrt -lglib-2.0 /home/test/temp/gir-repository/gir/tmp-introspectZ3rMNG/Soup-2.4.o
Traceback (most recent call last):
File "/home/test/Install/bin/g-ir-scanner", line 44, in <module>
sys.exit(scanner_main(sys.argv))
File "/home/test/Install/lib/gobject-introspection/giscanner/scannermain.py", line 327, in scanner_main
main.transform()
File "/home/test/Install/lib/gobject-introspection/giscanner/maintransformer.py", line 67, in transform
self._namespace.walk(self._pass_read_annotations)
File "/home/test/Install/lib/gobject-introspection/giscanner/ast.py", line 405, in walk
node.walk(callback, [])
File "/home/test/Install/lib/gobject-introspection/giscanner/ast.py", line 484, in walk
res = callback(self, chain)
File "/home/test/Install/lib/gobject-introspection/giscanner/maintransformer.py", line 160, in _pass_read_annotations
self._apply_annotations_function(node, chain)
File "/home/test/Install/lib/gobject-introspection/giscanner/maintransformer.py", line 144, in _apply_annotations_function
self._apply_annotations_callable(node, chain, block)
File "/home/test/Install/lib/gobject-introspection/giscanner/maintransformer.py", line 532, in _apply_annotations_callable
self._apply_annotations_params(node, node.parameters, block)
File "/home/test/Install/lib/gobject-introspection/giscanner/maintransformer.py", line 528, in _apply_annotations_params
self._apply_annotations_param(parent, param, tag)
File "/home/test/Install/lib/gobject-introspection/giscanner/maintransformer.py", line 513, in _apply_annotations_param
self._apply_annotations_param_ret_common(parent, param, tag)
File "/home/test/Install/lib/gobject-introspection/giscanner/maintransformer.py", line 420, in _apply_annotations_param_ret_common
self._adjust_container_type(parent, node, options)
File "/home/test/Install/lib/gobject-introspection/giscanner/maintransformer.py", line 196, in _adjust_container_type
self._apply_annotations_array(parent, node, options)
File "/home/test/Install/lib/gobject-introspection/giscanner/maintransformer.py", line 249, in _apply_annotations_array
element_type_node = self._resolve(element_type.one())
File "/home/test/Install/lib/gobject-introspection/giscanner/maintransformer.py", line 234, in _resolve
result, rest = grab_one(type_str, resolver, top_combiner, combiner)
File "/home/test/Install/lib/gobject-introspection/giscanner/maintransformer.py", line 207, in grab_one
args = [resolver(first)]
File "/home/test/Install/lib/gobject-introspection/giscanner/maintransformer.py", line 217, in resolver
res = self._transformer.create_type_from_user_string(ident)
File "/home/test/Install/lib/gobject-introspection/giscanner/transformer.py", line 789, in create_type_from_user_string
self.resolve_type(typeval)
File "/home/test/Install/lib/gobject-introspection/giscanner/transformer.py", line 845, in resolve_type
return self._resolve_type_from_ctype(typeval)
File "/home/test/Install/lib/gobject-introspection/giscanner/transformer.py", line 810, in _resolve_type_from_ctype
raise TypeResolutionException(e)
giscanner.transformer.TypeResolutionException: Unknown namespace for identifier 'uint8'
make[2]: *** [Soup-2.4.gir] Error 1
make[2]: Leaving directory `/home/test/temp/gir-repository/gir'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/test/temp/gir-repository'
make: *** [all] Error 2
yours,
Sylvos Liu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]