gtk20 compile error

Robert Huff roberthuff at rcn.com
Sun Jul 31 14:41:59 UTC 2011


Marco Beishuizen writes:

>  The gtk20 port seems broken. I followed the instructions in UPDATING, but 
>  building fails:
>  
>  ...
>  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
>  ...
>  
>  Anyone an idea what happened?

	Ideas, but no proof.
	However: recompiling glib, atk, and pango allows gtk to build.


				Robert Huff



More information about the freebsd-ports mailing list