Date: Wed, 13 Feb 2013 11:17:08 -0500 From: "J. W. Ballantine" <jwb@hera.homer.att.com> To: gnome@freebsd.org Subject: gobject-introspection build failure Message-ID: <201302131617.r1DGH8Nk023359@hera.homer.att.com>
next in thread | raw e-mail | index | archive | help
When building gobject-introspection on a current ports tree, it fails with: GEN g-ir-annotation-tool GISCAN GLib-2.0.gir /usr/local/include/glib-2.0/glib/gbytes.h:36: syntax error, unexpected identifier in 'GBytes * g_bytes_new (gconstpointer data,' at 'GBytes' /usr/local/include/glib-2.0/glib/gbytes.h:37: syntax error, unexpected typedef-name, expecting identifier or '(' or '*' in ' gsize size);' at 'gsize' /usr/local/include/glib-2.0/glib/gbytes.h:40: syntax error, unexpected typedef-name, expecting identifier or '(' or '*' in ' gsize size);' at 'gsize' /usr/local/include/glib-2.0/glib/gbytes.h:43: syntax error, unexpected typedef-name, expecting identifier or '(' or '*' in ' gsize size);' at 'gsize' /usr/local/include/glib-2.0/glib/gbytes.h:46: syntax error, unexpected typedef-name, expecting identifier or '(' or '*' in ' gsize size,' at 'gsize' /usr/local/include/glib-2.0/glib/gbytes.h:47: syntax error, unexpected typedef-name, expecting identifier or '(' or '*' in ' GDestroyNotify free_func,' at 'GDestroyNotify' /usr/local/include/glib-2.0/glib/gbytes.h:48: syntax error, unexpected typedef-name, expecting identifier or '(' or '*' in ' gpointer user_data);' at 'gpointer' /usr/local/include/glib-2.0/glib/gbytes.h:52: syntax error, unexpected typedef-name, expecting identifier or '(' or '*' in ' gsize length);' at 'gsize' /usr/local/include/glib-2.0/glib/gbytes.h:54: syntax error, unexpected '*', expecting ')' or ',' in 'gconstpointer g_bytes_get_d ata (GBytes *bytes,' at '*' /usr/local/include/glib-2.0/glib/gbytes.h:55: syntax error, unexpected ')', expecting ',' or ';' in ' gsize *size);' at ')' /usr/local/include/glib-2.0/glib/gbytes.h:57: syntax error, unexpected '*', expecting ')' or ',' in 'gsize g_bytes_get_size (GBy tes *bytes);' at '*' /usr/local/include/glib-2.0/glib/gbytes.h:61: syntax error, unexpected '*', expecting ')' or ',' in 'void g_bytes_unref (GBytes *bytes);' at '*' /usr/local/include/glib-2.0/glib/gbytes.h:63: syntax error, unexpected '*', expecting ')' or ',' in 'gpointer g_bytes_unref_to_d ata (GBytes *bytes,' at '*' /usr/local/include/glib-2.0/glib/gbytes.h:64: syntax error, unexpected ')', expecting ',' or ';' in ' gsize *size);' at ')' /usr/local/include/glib-2.0/glib/gbytes.h:66: syntax error, unexpected '*', expecting ')' or ',' in 'GByteArray * g_bytes_unref_ to_array (GBytes *bytes);' at '*' /usr/local/include/glib-2.0/glib/ghmac.h:44: syntax error, unexpected identifier in 'GLIB_AVAILABLE_IN_2_30' at 'GLIB_AVAILABLE_IN_2_30' /usr/local/include/glib-2.0/glib/ghmac.h:48: syntax error, unexpected identifier in 'GLIB_AVAILABLE_IN_2_30' at 'GLIB_AVAILABLE_IN_2_30' /usr/local/include/glib-2.0/glib/ghmac.h:50: syntax error, unexpected identifier in 'GLIB_AVAILABLE_IN_2_30' at 'GLIB_AVAILABLE_IN_2_30' /usr/local/include/glib-2.0/glib/ghmac.h:52: syntax error, unexpected identifier in 'GLIB_AVAILABLE_IN_2_30' at 'GLIB_AVAILABLE_IN_2_30' /usr/local/include/glib-2.0/glib/ghmac.h:54: syntax error, unexpected identifier in 'GLIB_AVAILABLE_IN_2_30' at 'GLIB_AVAILABLE_IN_2_30' /usr/local/include/glib-2.0/glib/ghmac.h:58: syntax error, unexpected identifier in 'GLIB_AVAILABLE_IN_2_30' at 'GLIB_AVAILABLE_IN_2_30' /usr/local/include/glib-2.0/glib/ghmac.h:60: syntax error, unexpected identifier in 'GLIB_AVAILABLE_IN_2_30' at 'GLIB_AVAILABLE_IN_2_30' /usr/local/include/glib-2.0/glib/ghmac.h:65: syntax error, unexpected identifier in 'GLIB_AVAILABLE_IN_2_30' at 'GLIB_AVAILABLE_IN_2_30' /usr/local/include/glib-2.0/glib/ghmac.h:71: syntax error, unexpected identifier in 'GLIB_AVAILABLE_IN_2_30' at 'GLIB_AVAILABLE_IN_2_30' Namespace conflict for 'check_version' gmake[2]: *** [GLib-2.0.gir] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/gobject-introspection/work/gobjec t-introspection-0.10.8' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/gobject-introspection/work/gobjec t-introspection-0.10.8' gmake: *** [all] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/devel/gobject-introspection. I've rebuilt the python tree and glib20 and the version of gcc is gcc version 4.2.1 20070831 patched [FreeBSD]. Since this port is integral to the gnome package, what do I need to do to get it built? Thanks Jim Ballantine
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302131617.r1DGH8Nk023359>