From owner-freebsd-gnome@FreeBSD.ORG Fri Oct 18 23:15:18 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3F5F6ECC; Fri, 18 Oct 2013 23:15:18 +0000 (UTC) (envelope-from andy@neu.net) Received: from mail.neu.net (neu.net [199.48.129.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E08622555; Fri, 18 Oct 2013 23:15:17 +0000 (UTC) Received: from neu.net (neu.net [199.48.129.194]) by mail.neu.net (8.14.6/8.14.5) with ESMTP id r9INFEsv064946; Fri, 18 Oct 2013 19:15:15 -0400 (EDT) (envelope-from andy@neu.net) Date: Fri, 18 Oct 2013 19:15:14 -0400 (EDT) From: AN To: Danilo Egea Subject: Re: make[4]: stopped in /usr/ports/devel/libgtop In-Reply-To: <5261A27B.6030202@yahoo.com.br> Message-ID: References: <5261A27B.6030202@yahoo.com.br> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: clamav-milter 0.98 at my.mail.server X-Virus-Status: Clean X-Spam-Status: No, score=-0.0 required=4.5 tests=RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.neu.net Cc: ports@freebsd.org, gnome@freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Oct 2013 23:15:18 -0000 On Fri, 18 Oct 2013, Danilo Egea wrote: > On 10/18/13 16:36, AN wrote: >> FreeBSD FBSD11 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r256636: Wed Oct >> 16 17:43:34 UTC 2013 >> root@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. >> > Please, try this: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/183083 > > I didn't test this yet. Hi Danilo: I confirm this fixed the problem for me. Thank you for the quick response. Andy