After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 637974 - Gtk+ 2.91.7 build of introspection fails
Gtk+ 2.91.7 build of introspection fails
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
2.91.x
Other FreeBSD
: Normal critical
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-12-24 19:08 UTC by Koop Mast (kwm)
Modified: 2010-12-28 00:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
val+=value doesn't work non-bash shell. Use val=$val' ' instead. (646 bytes, patch)
2010-12-25 21:37 UTC, Koop Mast (kwm)
none Details | Review

Description Koop Mast (kwm) 2010-12-24 19:08:22 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'
Comment 1 Koop Mast (kwm) 2010-12-24 19:19:39 UTC
Just ran into the update of gdk-pixbuf to 2.23.0. This update resolves to problem.
Sorry for the noise.
Comment 2 Koop Mast (kwm) 2010-12-25 14:32:52 UTC
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.
Comment 3 Koop Mast (kwm) 2010-12-25 21:37:00 UTC
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.