ports/118941: sysutils/gnome-system-tools-2.20.0 won't build on FreeBSD 6.2 with GCC 3.4.6

Keith Gaughan keith.gaughan at gmail.com
Fri Dec 21 22:40:03 UTC 2007


>Number:         118941
>Category:       ports
>Synopsis:       sysutils/gnome-system-tools-2.20.0 won't build on FreeBSD 6.2 with GCC 3.4.6
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 21 22:40:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Keith Gaughan
>Release:        6.2
>Organization:
>Environment:
FreeBSD talisra.talideon.com 6.2-RELEASE FreeBSD 6.2-RELEASE #3: Thu Feb 22 23:33:09 GMT 2007     root at talisra.talideon.com:/usr/obj/usr/src/sys/GENERIC_MSDOSFS_LARGE  i386
>Description:
[Kernel is a generic kernel with "options MSDOSFS_LARGE".]

Building fails with:

Making all in network
gmake[3]: Entering directory `/usr/ports/sysutils/gnome-system-tools/work/gnome-system-tools-2.20.0/src/network'
cc -DHAVE_CONFIG_H -I. -I../.. -D_THREAD_SAFE -DORBIT2=1 -D_REENTRANT -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 -I/usr/local/include/libglade-2.0 -I/usr/local/include/libxml2 -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 -I/usr/local/include/liboobs-1.0     -I../../src/common -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE  -I/usr/local/include  -O2 -fno-strict-aliasing -pipe  -MT nm-integration.o -MD -MP -MF .deps/nm-integration.Tpo -c -o nm-integration.o nm-integration.c
In file included from network-tool.h:29,
                 from nm-integration.h:25,
                 from nm-integration.c:22:
locations-combo.h:53: error: syntax error before '*' token
In file included from network-tool.h:30,
                 from nm-integration.h:25,
                 from nm-integration.c:22:
connection.h:93: error: syntax error before '*' token
In file included from nm-integration.h:25,
                 from nm-integration.c:22:
network-tool.h:44: error: syntax error before "GstTool"
network-tool.h:71: error: syntax error before "GstToolClass"
network-tool.h:76: error: syntax error before '*' token
network-tool.h:76: warning: data definition has no type or storage class
gmake[3]: *** [nm-integration.o] Error 1
gmake[3]: Leaving directory `/usr/ports/sysutils/gnome-system-tools/work/gnome-system-tools-2.20.0/src/network'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/sysutils/gnome-system-tools/work/gnome-system-tools-2.20.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/sysutils/gnome-system-tools/work/gnome-system-tools-2.20.0'
gmake: *** [all] Error 2
*** Error code 2


>How-To-Repeat:
cd /usr/ports/sysutils/gnome-system-tools
sudo make install
>Fix:
Reading through the source, I couldn't see why it wasn't building and couldn't see any syntax errors or the reason behind any of the warnings, so I installed the gcc41 port (GCC 4.1.3), and built gnome-system-tools with it instead of the bundled version of GCC (3.4.6). This time around, it built successfully.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list