GNOME Bugzilla – Bug 637974
Gtk+ 2.91.7 build of introspection fails
Last modified: 2010-12-28 00:24:52 UTC
The build of introspection fails on FreeBSD. It looks like it could be related to the gdk-backend branch merge. Using gobject-introspection 0.10.0. CCLD gtk-query-immodules-3.0 GISCAN Gtk-3.0.gir /usr/include/machine/endian.h:123: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{' /usr/include/machine/endian.h:123: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';' /usr/include/machine/endian.h:130: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{' /usr/include/machine/endian.h:130: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';' Gdk-ERROR **: No GDK backend found aborting... Command '['/usr/home/kwm/cvs/marcus/ports/x11-toolkits/gtk30/work/gtk+-2.91.7/gtk/tmp-introspect0hAC1Z/Gtk-3.0', '--introspect-dump=/usr/home/kwm/cvs/marcus/ports/x11-toolkits/gtk30/work/gtk+-2.91.7/gtk/tmp-introspect0hAC1Z/types.txt,/usr/home/kwm/cvs/marcus/ports/x11-toolkits/gtk30/work/gtk+-2.91.7/gtk/tmp-introspect0hAC1Z/dump.xml']' returned non-zero exit status -5 gmake[4]: *** [Gtk-3.0.gir] Error 1 gmake[4]: Leaving directory `/usr/home/kwm/cvs/marcus/ports/x11-toolkits/gtk30/work/gtk+-2.91.7/gtk'
Just ran into the update of gdk-pixbuf to 2.23.0. This update resolves to problem. Sorry for the noise.
I was too quick. This problem is still there with gdk-pixbuf 2.23.0. I was distracted yesterday and mixed up two terminals one where I was building Gtk+ 2.91 and the other that I used earlier to build Gtk+ 2.23.
Created attachment 177049 [details] [review] val+=value doesn't work non-bash shell. Use val=$val' ' instead. Also fix a " == " comparison that our shell doesn't understands.