GNOME Bugzilla – Bug 693627
introspection errors in gjs make test
Last modified: 2013-02-12 19:09:15 UTC
The recent changes to gobject introspection, cause gjs make test to fail with the following log: $ make test g-ir-scanner --include=Gio-2.0 \ --namespace=WarnLib --nsversion=1.0 \ --identifier-prefix=WarnLib_ \ --symbol-prefix=warnlib_ \ --library=libwarnlib.la \ --libtool="./libtool" \ --output WarnLib-1.0.gir \ /usr/share/gobject-introspection-1.0/tests/warnlib.c /usr/share/gobject-introspection-1.0/tests/warnlib.h g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -g -O0 -fno-omit-frame-pointer -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -c -o /usr/local/src/ubuntu/apt/gjs-1.35.5~git20130121.7cde1715/tmp-introspectFlj9OT/WarnLib-1.0.o /usr/local/src/ubuntu/apt/gjs-1.35.5~git20130121.7cde1715/tmp-introspectFlj9OT/WarnLib-1.0.c g-ir-scanner: link: ./libtool --mode=link --tag=CC gcc -o /usr/local/src/ubuntu/apt/gjs-1.35.5~git20130121.7cde1715/tmp-introspectFlj9OT/WarnLib-1.0 -export-dynamic -Wall -g -O0 -fno-omit-frame-pointer -L/opt/gnome/lib64 -L/opt/gnome/lib64 /usr/local/src/ubuntu/apt/gjs-1.35.5~git20130121.7cde1715/tmp-introspectFlj9OT/WarnLib-1.0.o -L. libwarnlib.la -Wl,--export-dynamic -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 libtool: link: gcc -o /usr/local/src/ubuntu/apt/gjs-1.35.5~git20130121.7cde1715/tmp-introspectFlj9OT/.libs/WarnLib-1.0 -Wall -g -O0 -fno-omit-frame-pointer /usr/local/src/ubuntu/apt/gjs-1.35.5~git20130121.7cde1715/tmp-introspectFlj9OT/WarnLib-1.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -L/opt/gnome/lib64 -L. ./.libs/libwarnlib.so -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/usr/unused <unknown>:: Fatal: WarnLib: Unknown namespace for identifier 'WarnLibWhatever' <unknown>:: Fatal: WarnLib: Unknown namespace for identifier 'WarnLibWhatever'
Created attachment 235811 [details] [review] Makefile-test: Update build test build system We can now use the standard introspection Makefile stuff. This also fixes scanner issues with WarnLib.
Review of attachment 235811 [details] [review]: Looks good. There's some weird LD_LIBRARY_PATH stuff going on in the old code, but it looks bogus.
Attachment 235811 [details] pushed as a3d978e - Makefile-test: Update build test build system