=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for gnet1-1.1.8nb8 /usr/pkg/bin/bmake all-recursive Making all in src /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -DPCRE_STATIC -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -D_REENTRANT -DPCRE_STATIC -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -DGNET_EXPERIMENTAL -c gnet.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -DPCRE_STATIC -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/include/glib/glib-2.0 -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/lib/glib-2.0/include -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/include -D_REENTRANT -O2 -march=i586 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -DGNET_EXPERIMENTAL -c gnet.c -fPIC -DPIC -o .libs/gnet.o gnet.c:45:5: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] g_thread_init (NULL); ^ /usr/pkgsrc/work/net/gnet1/work/.buildlink/include/glib/glib-2.0/glib/deprecated/gthread.h:260:10: note: 'g_thread_init' declared here void g_thread_init (gpointer vtable); ^ 1 warning generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -DPCRE_STATIC -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/include/glib/glib-2.0 -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/lib/glib-2.0/include -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/include -D_REENTRANT -O2 -march=i586 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -DGNET_EXPERIMENTAL -c gnet.c -o gnet.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -DPCRE_STATIC -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -D_REENTRANT -DPCRE_STATIC -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -DGNET_EXPERIMENTAL -c gnet-private.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -DPCRE_STATIC -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/include/glib/glib-2.0 -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/lib/glib-2.0/include -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/include -D_REENTRANT -O2 -march=i586 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -DGNET_EXPERIMENTAL -c gnet-private.c -fPIC -DPIC -o .libs/gnet-private.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -DPCRE_STATIC -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/include/glib/glib-2.0 -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/lib/glib-2.0/include -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/include -D_REENTRANT -O2 -march=i586 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -DGNET_EXPERIMENTAL -c gnet-private.c -o gnet-private.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -DPCRE_STATIC -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -D_REENTRANT -DPCRE_STATIC -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -DGNET_EXPERIMENTAL -c inetaddr.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -DPCRE_STATIC -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/include/glib/glib-2.0 -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/lib/glib-2.0/include -I/usr/pkgsrc/work/net/gnet1/work/.buildlink/include -D_REENTRANT -O2 -march=i586 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -DGNET_EXPERIMENTAL -c inetaddr.c -fPIC -DPIC -o .libs/inetaddr.o inetaddr.c:100:19: warning: implicit declaration of function 'gethostbyname_r' is invalid in C99 [-Wimplicit-function-declaration] while ((res = gethostbyname_r (hostname, &result_buf, buf, len, &result, &herr)) ^ inetaddr.c:299:19: warning: implicit declaration of function 'gethostbyaddr_r' is invalid in C99 [-Wimplicit-function-declaration] while ((res = gethostbyaddr_r (addr, length, type, &result_buf, buf, len, &result, &herr)) ^ inetaddr.c:2271:24: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (connect (sockfd, &addr->sa, sizeof(addr->sa)) == -1) ^~~~~~~~~ /usr/pkgsrc/work/net/gnet1/work/.buildlink/include/pthread.h:501:67: note: passing argument to parameter here extern int __pthread_connect(int, struct sockaddr *, socklen_t); ^ inetaddr.c:2429:17: error: variable has incomplete type 'struct ifconf' struct ifconf ifc; ^ inetaddr.c:2429:10: note: forward declaration of 'struct ifconf' struct ifconf ifc; ^ inetaddr.c:2436:13: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' len = 8 * sizeof(struct ifreq); ^ ~~~~~~~~~~~~~~ inetaddr.c:2430:10: note: forward declaration of 'struct ifreq' struct ifreq* ifr; ^ inetaddr.c:2447:25: error: invalid application of 'sizeof' to an incomplete type 'struct ifconf' if (ioctl(sockfd, SIOCGIFCONF, &ifc) < 0) ^~~~~~~~~~~ /usr/include/sys/sockio.h:63:21: note: expanded from macro 'SIOCGIFCONF' #define SIOCGIFCONF _IOWR('i', 38, struct ifconf) /* get ifnet list */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:89:48: note: expanded from macro '_IOWR' #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/sys/ioccom.h:83:19: note: expanded from macro '_IOC' ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \ ^ inetaddr.c:2429:10: note: forward declaration of 'struct ifconf' struct ifconf ifc; ^ inetaddr.c:2466:18: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' len += 8 * sizeof(struct ifreq); ^ ~~~~~~~~~~~~~~ inetaddr.c:2430:10: note: forward declaration of 'struct ifreq' struct ifreq* ifr; ^ inetaddr.c:2474:24: error: incomplete definition of type 'struct ifreq' ptr += sizeof(ifr->ifr_name) + ifr->ifr_addr.sa_len ~~~^ inetaddr.c:2430:10: note: forward declaration of 'struct ifreq' struct ifreq* ifr; ^ inetaddr.c:2474:41: error: incomplete definition of type 'struct ifreq' ptr += sizeof(ifr->ifr_name) + ifr->ifr_addr.sa_len ~~~^ inetaddr.c:2430:10: note: forward declaration of 'struct ifreq' struct ifreq* ifr; ^ inetaddr.c:2487:14: error: incomplete definition of type 'struct ifreq' if (ifr->ifr_addr.sa_family != AF_INET) ~~~^ inetaddr.c:2430:10: note: forward declaration of 'struct ifreq' struct ifreq* ifr; ^ inetaddr.c:2493:25: error: incomplete definition of type 'struct ifreq' memcpy(&addr, &ifr->ifr_addr, sizeof(addr)); ~~~^ inetaddr.c:2430:10: note: forward declaration of 'struct ifreq' struct ifreq* ifr; ^ inetaddr.c:2496:26: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' rv = ioctl(sockfd, SIOCGIFFLAGS, ifr); ^~~~~~~~~~~~ /usr/include/sys/sockio.h:58:22: note: expanded from macro 'SIOCGIFFLAGS' #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) /* get ifnet flags */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:89:48: note: expanded from macro '_IOWR' #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/sys/ioccom.h:83:19: note: expanded from macro '_IOC' ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \ ^ inetaddr.c:2430:10: note: forward declaration of 'struct ifreq' struct ifreq* ifr; ^ inetaddr.c:2502:16: error: incomplete definition of type 'struct ifreq' if (!(ifr->ifr_flags & IFF_UP) || ~~~^ inetaddr.c:2430:10: note: forward declaration of 'struct ifreq' struct ifreq* ifr; ^ inetaddr.c:2503:8: error: incomplete definition of type 'struct ifreq' (ifr->ifr_flags & IFF_LOOPBACK)) ~~~^ inetaddr.c:2430:10: note: forward declaration of 'struct ifreq' struct ifreq* ifr; ^ inetaddr.c:2503:22: error: use of undeclared identifier 'IFF_LOOPBACK' (ifr->ifr_flags & IFF_LOOPBACK)) ^ 3 warnings and 12 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gnet1/work/gnet-1.1.8/src *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gnet1/work/gnet-1.1.8 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gnet1/work/gnet-1.1.8 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/gnet1 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/gnet1