Gnome-games error

Kostik Belousov kostikbel at gmail.com
Sun Mar 9 17:18:04 UTC 2008


On Sun, Mar 09, 2008 at 09:49:43AM -0500, Sam Fourman Jr. wrote:
> I got this error compiling gnome-games after a recent portsnap update
> 
> gmake[3]: Entering directory
> `/usr/ports/games/gnome-games/work/gnome-games-2.20.3/gnect/src'
> cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I../../libgames-support
> -DGNOMELOCALEDIR=\""/usr/local/share/locale"\"
> -DDATADIR=\""/usr/local/share"\"
> -DGNECT_DATA_DIR=\""/usr/local/share/"\" -std=gnu89 -D_THREAD_SAFE
> -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
> -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
> -I/usr/local/include/pango-1.0 -I/usr/local/include
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include/freetype2   -DORBIT2=1 -D_REENTRANT
> -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -DORBIT2=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/libxml2
> -I/usr/local/include -I/usr/local/include/libgnome-2.0
> -I/usr/local/include/orbit-2.0 -I/usr/local/include/gconf/2
> -I/usr/local/include/gnome-vfs-2.0
> -I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libbonobo-2.0
> -I/usr/local/include/bonobo-activation-2.0
> -I/usr/local/include/libgnomeui-2.0 -I/usr/local/include/libart-2.0
> -I/usr/local/include/gnome-keyring-1
> -I/usr/local/include/libbonoboui-2.0
> -I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/gtk-2.0
> -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2
> -I/usr/local/include/gail-1.0 -I/usr/local/include/atk-1.0
> -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/cairo
> -I/usr/local/include/pygtk-2.0 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include   -I/usr/local/include/librsvg-2
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include/gtk-2.0   -D_REENTRANT
> -I/usr/local/include/gstreamer-0.10 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2
> -I/usr/local/include   -I../../libgames-support -Wall
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith
> -Wno-sign-compare  -I../../dependencies/ggzmod
> -I../../dependencies/ggz-gtk -I../../dependencies/ggzcore
> -I../../dependencies/libggz -I../../dependencies/libggz
> -I../../dependencies/ggzdmod  -I/usr/local/include  -O2
> -fno-strict-aliasing -pipe  -D_REENTRANT -MT ggz-network.o -MD -MP -MF
> .deps/ggz-network.Tpo -c -o ggz-network.o ggz-network.c
> ggz-network.c: In function 'on_network_game':
> ggz-network.c:282: error: too many arguments to function 'ggz_gtk_initialize'
> gmake[3]: *** [ggz-network.o] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/games/gnome-games/work/gnome-games-2.20.3/gnect/src'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/games/gnome-games/work/gnome-games-2.20.3/gnect'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/games/gnome-games/work/gnome-games-2.20.3'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/gam

I got the same error, coming from gnome-games use of the
/usr/local/incude/ggz-gtk.h header, that is installed by
ggz-gtk-client-0.0.14_1.

Workaround is to rename offending header temporarily for the build.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080309/75f3f002/attachment.pgp


More information about the freebsd-ports mailing list