FreeBSD FBSD11 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r256636: Wed Oct 16
17:43:34 UTC 2013 r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC
amd64
Trying to build Gnome2 fails with:
Making all in common
gmake[8]: Entering directory
`/usr/ports/devel/libgtop/work/libgtop-2.28.4/sysdeps/common'
gmake[8]: Nothing to be done for `all'.
gmake[8]: Leaving directory
`/usr/ports/devel/libgtop/work/libgtop-2.28.4/sysdeps/common'
Making all in freebsd
gmake[8]: Entering directory
`/usr/ports/devel/libgtop/work/libgtop-2.28.4/sysdeps/freebsd'
/bin/sh /usr/ports/devel/libgtop/work/gnome-libtool --tag=CC
--mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../..
-I../../sysdeps/freebsd -I../../include -I/usr/local/include/glib-2.0
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-DHAVE_NET_IF_VAR_H -Winline -Wall -std=gnu89 -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe
-fno-strict-aliasing -MT netload.lo -MD -MP -MF .deps/netload.Tpo -c -o
netload.lo netload.c
gnome-libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../..
-I../../sysdeps/freebsd -I../../include -I/usr/local/include/glib-2.0
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-DHAVE_NET_IF_VAR_H -Winline -Wall -std=gnu89 -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe -fno-strict-aliasing
-MT netload.lo -MD -MP -MF .deps/netload.Tpo -c netload.c -fPIC -DPIC -o
.libs/netload.o
netload.c:100:31: error: field has incomplete type 'struct ifaddr'
struct ifaddr ifa;
^
/usr/include/net/if_var.h:99:24: note: forward declaration of 'struct
ifaddr'
TAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list
*/
^
/usr/include/sys/queue.h:493:9: note: expanded from macro 'TAILQ_HEAD'
struct type *tqh_first; /* first element */ \
^
netload.c:101:34: error: field has incomplete type 'struct in_ifaddr'
struct in_ifaddr in;
^
netload.c:101:24: note: forward declaration of 'struct in_ifaddr'
struct in_ifaddr in;
^
netload.c:210:58: warning: cast from 'struct sockaddr *' to 'struct
sockaddr_dl *' increases required alignment from 1 to 2 [-Wcast-align]
struct sockaddr_dl *dl = (struct
sockaddr_dl *) sa;
^~~~~~~~~~~~~~~~~~~~~~~~~
netload.c:216:39: warning: cast from 'struct sockaddr *' to 'struct
sockaddr_in *' increases required alignment from 1 to 4 [-Wcast-align]
sin = (struct sockaddr_in *)sa;
^~~~~~~~~~~~~~~~~~~~~~~~
netload.c:224:61: warning: cast from 'struct sockaddr *' to 'struct
sockaddr_in6 *' increases required alignment from 1 to 4 [-Wcast-align]
struct sockaddr_in6 *sin6 = (struct
sockaddr_in6 *) sa;
^~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings and 2 errors generated.
gmake[8]: *** [netload.lo] Error 1
gmake[8]: Leaving directory
`/usr/ports/devel/libgtop/work/libgtop-2.28.4/sysdeps/freebsd'
gmake[7]: *** [all-recursive] Error 1
gmake[7]: Leaving directory
`/usr/ports/devel/libgtop/work/libgtop-2.28.4/sysdeps'
gmake[6]: *** [all-recursive] Error 1
gmake[6]: Leaving directory `/usr/ports/devel/libgtop/work/libgtop-2.28.4'
gmake[5]: *** [all] Error 2
gmake[5]: Leaving directory `/usr/ports/devel/libgtop/work/libgtop-2.28.4'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure
to
the maintainer.
*** Error code 1
Stop.
make[4]: stopped in /usr/ports/devel/libgtop
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/x11/gnome-applets
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/x11/gnome-applets
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/x11/gnome2
*** Error code 1
Stop.
make: stopped in /usr/ports/x11/gnome2
Any help fixing this would be really appreciated, thanks in advance.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"