Hi

I have set up gobject-introspection in Pidgin -- and it works well for
libpurple, pidgin and finch. However, g-ir-scanner dies with a very cryptic
error when g-ir-scanner scans libgnt.


The error looks like:
  GISCAN   Gnt-2.8.gir

(process:13172): GLib-CRITICAL **: g_key_file_has_group: assertion
'key_file != NULL' failed
Command
'['/home/ankit/devel/pidgin-dev/finch/libgnt/tmp-introspectZP9FjN/Gnt-2.8',
'--introspect-dump=/home/ankit/devel/pidgin-dev/finch/libgnt/tmp-introspectZP9FjN/functions.txt,/home/ankit/devel/pidgin-dev/finch/libgnt/tmp-introspectZP9FjN/dump.xml']'
returned non-zero exit status -11




On running g-ir-scanner in a more verbose mode, this is the output:

g-ir-scanner: compile: gcc -Wall -Wno-deprecated-declarations -pthread
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -c -o
/home/ankit/devel/pidgin-dev/finch/libgnt/tmp-introspectyamV4l/Gnt-2.8.o
/home/ankit/devel/pidgin-dev/finch/libgnt/tmp-introspectyamV4l/Gnt-2.8.c
g-ir-scanner: link: /bin/bash ../../libtool -v --mode=link --tag=CC gcc -o
/home/ankit/devel/pidgin-dev/finch/libgnt/tmp-introspectyamV4l/Gnt-2.8
-export-dynamic
/home/ankit/devel/pidgin-dev/finch/libgnt/tmp-introspectyamV4l/Gnt-2.8.o
-L. ./libgnt.la -Wl,--export-dynamic -pthread -lgio-2.0 -lgobject-2.0
-lgmodule-2.0 -lglib-2.0
libtool: link: gcc -o
/home/ankit/devel/pidgin-dev/finch/libgnt/tmp-introspectyamV4l/.libs/Gnt-2.8
/home/ankit/devel/pidgin-dev/finch/libgnt/tmp-introspectyamV4l/Gnt-2.8.o
-Wl,--export-dynamic -pthread -Wl,--export-dynamic  -L. ./.libs/libgnt.so
-lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -pthread
libtool: link: creating
/home/ankit/devel/pidgin-dev/finch/libgnt/tmp-introspectyamV4l/Gnt-2.8

(process:13281): GLib-CRITICAL **: g_key_file_has_group: assertion
'key_file != NULL' failed
Command
'['/home/ankit/devel/pidgin-dev/finch/libgnt/tmp-introspectyamV4l/Gnt-2.8',
'--introspect-dump=/home/ankit/devel/pidgin-dev/finch/libgnt/tmp-introspectyamV4l/functions.txt,/home/ankit/devel/pidgin-dev/finch/libgnt/tmp-introspectyamV4l/dump.xml']'
returned non-zero exit status -11



I've been trying to hunt this down on and off for months now, with no luck.
Any help would be greatly appreciated. :)

Ankit Vani
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to