build issue with gtk20



I am trying to upgrade gtk20 per instructions in /usr/ports/UPDATING, the
new version won't build.

Here's the tail end of the log:
/usr/include/machine/endian.h:107: syntax error, unexpected '{' in ' return
(__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r"
(__X)); __X; }));' at '{'
/usr/include/machine/endian.h:107: syntax error, unexpected ';' in ' return
(__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r"
(__X)); __X; }));' at ';'
g-ir-scanner: compile: cc -D_REENTRANT -I/usr/local/include/glib-2.0
-DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe
-march=pentium4 -Wall -I.. -I../gtk -I.. -I../gdk -I../gdk
-I/usr/local/include/glib-2.0 -I/usr/local/include/pango-1.0
-I/usr/local/include/cairo -I/usr/local/include/pixman-1
-I/usr/local/include -I/usr/local/include/freetype2
-I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/gdk-pixbuf-2.0
-I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0
-I/usr/local/include/cairo -I/usr/local/include/pixman-1 -c -o
/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.5/gtk/tmp-introspectCCtzqi/Gtk-2.0.o
/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.5/gtk/tmp-introspectCCtzqi/Gtk-2.0.c
g-ir-scanner: link: /bin/sh /usr/ports/x11-toolkits/gtk20/work/gnome-libtool
--mode=link --tag=CC --silent cc -o
/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.5/gtk/tmp-introspectCCtzqi/Gtk-2.0
-export-dynamic -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -fno-strict-aliasing
-pipe -march=pentium4 -Wall -L. -L/usr/local/lib libgtk-x11-2.0.la -pthread
-L/usr/local/lib -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0
-lglib-2.0
/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.5/gtk/tmp-introspectCCtzqi/Gtk-2.0.o
gtkscalebutton.c:544: Warning: Gtk: invalid annotation option: int
gtkwidget.c:6462: Warning: Gtk: gtk_widget_style_attach: unknown parameter
'widget' in documentation comment, should be 'style'
gtkpaned.c:2236: Warning: Gtk: gtk_paned_get_handle_window: unknown
parameter 'panede' in documentation comment, should be 'paned'
gtkruler.c:306: Warning: Gtk: gtk_ruler_get_metric: unknown parameter
'Deprecated' in documentation comment, should be 'ruler'
gtkruler.c:336: Warning: Gtk: gtk_ruler_set_range: unknown parameter
'Deprecated' in documentation comment, should be one of 'ruler', 'lower',
'upper', 'position', 'max_size'
gtkruler.c:387: Warning: Gtk: gtk_ruler_get_range: unknown parameter
'Deprecated' in documentation comment, should be one of 'ruler', 'lower',
'upper', 'position', 'max_size'
gtknotebook.c:7820: Warning: Gtk: gtk_notebook_set_group_name: unknown
parameter 'name' in documentation comment, should be one of 'notebook',
'group_name'
gtkvruler.c:76: Warning: Gtk: gtk_vruler_new: unknown parameter 'Deprecated'
in documentation comment
gtktextlayout.c:1002: Warning: Gtk: gtk_text_layout_validate_yrange: unknown
parameter 'anchor' in documentation comment, should be one of 'layout',
'anchor_line', 'y0_', 'y1_'
gtktextlayout.c:1123: Warning: Gtk: gtk_text_layout_validate: unknown
parameter 'tree' in documentation comment, should be one of 'layout',
'max_pixels'
Traceback (most recent call last):
File "/usr/local/bin/g-ir-scanner", line 45, in <module>
sys.exit(scanner_main(sys.argv))
File "/usr/local/lib/gobject-introspection/giscanner/scannermain.py", line
411, in scanner_main
main.transform()
File "/usr/local/lib/gobject-introspection/giscanner/maintransformer.py",
line 100, in transform
self._pair_function(node)
File "/usr/local/lib/gobject-introspection/giscanner/maintransformer.py",
line 891, in _pair_function
elif self._pair_method(func, subsymbol):
File "/usr/local/lib/gobject-introspection/giscanner/maintransformer.py",
line 915, in _pair_method
if first.type.ctype.count('*') != 1:
AttributeError: 'NoneType' object has no attribute 'count'
gmake[4]: *** [Gtk-2.0.gir] Error 1
gmake[4]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.5/gtk'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.5/gtk'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.5/gtk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.5'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Easiest/quickest method for very simple interfaces?
    ... >> I have some experience with its Gtk2 bindings. ... mentioned Python earlier; that'll work fine. ... >> This is where you have to read the documentation for the widget set ... > I wanted to avoid reading all the documentation to decide which one to ...
    (comp.os.linux.misc)
  • Re: gtk questions
    ... >>treeview widget? ... Are they using the old gtk-1 columned ... I don't think that the gtk-1 documentation ever got truely finished ... I was looking only at the text renderer and didn't ...
    (comp.os.linux.development.apps)
  • qooxdoo report
    ... I will spend X hours finding the X lines of code I need to make something new work, like drag and drop from a datagrid cell to a search field. ... it is all there and in the end just takes a few lines of code but even with extensive documentation there is no substitute for experience to know exactly where to look and what to use. ... btw, part of the story here is that a table cell is not a widget in itself and all they documented was widget-to-widget d'n'd. ...
    (comp.lang.javascript)
  • Re: panedwindow is a pain
    ... > panedwindow) but using another widget. ... simple documentation issue, in the particular case of the panedwindow ... widget (iwidgets vs Tk 8.4). ...
    (comp.lang.tcl)
  • Re: Documentation and Usability
    ... >> them a clue as to what the widget is or what to do with it. ... maintainer sits down to write the documentation. ... Considering the fact that the package maintainers volunteer to package ...
    (Debian-User)