=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for libuuid-2.26.2 CC libuuid/src/libuuid_la-clear.lo CC libuuid/src/libuuid_la-compare.lo CC libuuid/src/libuuid_la-copy.lo CC libuuid/src/libuuid_la-gen_uuid.lo libuuid/src/gen_uuid.c:132:15: error: variable has incomplete type 'struct ifreq' struct ifreq ifr, *ifrp; ^ libuuid/src/gen_uuid.c:132:9: note: forward declaration of 'struct ifreq' struct ifreq ifr, *ifrp; ^ libuuid/src/gen_uuid.c:133:16: error: variable has incomplete type 'struct ifconf' struct ifconf ifc; ^ libuuid/src/gen_uuid.c:133:9: note: forward declaration of 'struct ifconf' struct ifconf ifc; ^ libuuid/src/gen_uuid.c:161:17: error: invalid application of 'sizeof' to an incomplete type 'struct ifconf' if (ioctl (sd, SIOCGIFCONF, (char *)&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) | \ ^ libuuid/src/gen_uuid.c:133:9: note: forward declaration of 'struct ifconf' struct ifconf ifc; ^ libuuid/src/gen_uuid.c:166:25: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' for (i = 0; i < n; i+= ifreq_size(*ifrp) ) { ^~~~~~~~~~~~~~~~~ libuuid/src/gen_uuid.c:148:27: note: expanded from macro 'ifreq_size' #define ifreq_size(i) max(sizeof(struct ifreq),\ ^ ~~~~~~~~~~~~~~ ./include/c.h:104:13: note: expanded from macro 'max' __typeof__(x) _max1 = (x); \ ^ libuuid/src/gen_uuid.c:132:9: note: forward declaration of 'struct ifreq' struct ifreq ifr, *ifrp; ^ libuuid/src/gen_uuid.c:166:25: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' for (i = 0; i < n; i+= ifreq_size(*ifrp) ) { ^~~~~~~~~~~~~~~~~ libuuid/src/gen_uuid.c:148:27: note: expanded from macro 'ifreq_size' #define ifreq_size(i) max(sizeof(struct ifreq),\ ^ ~~~~~~~~~~~~~~ ./include/c.h:104:25: note: expanded from macro 'max' __typeof__(x) _max1 = (x); \ ^ libuuid/src/gen_uuid.c:132:9: note: forward declaration of 'struct ifreq' struct ifreq ifr, *ifrp; ^ libuuid/src/gen_uuid.c:166:25: error: incomplete definition of type 'struct ifreq' for (i = 0; i < n; i+= ifreq_size(*ifrp) ) { ^~~~~~~~~~~~~~~~~ libuuid/src/gen_uuid.c:149:16: note: expanded from macro 'ifreq_size' sizeof((i).ifr_name)+(i).ifr_addr.sa_len) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/c.h:105:13: note: expanded from macro 'max' __typeof__(y) _max2 = (y); \ ^ libuuid/src/gen_uuid.c:132:9: note: forward declaration of 'struct ifreq' struct ifreq ifr, *ifrp; ^ libuuid/src/gen_uuid.c:166:25: error: incomplete definition of type 'struct ifreq' for (i = 0; i < n; i+= ifreq_size(*ifrp) ) { ^~~~~~~~~~~~~~~~~ libuuid/src/gen_uuid.c:149:30: note: expanded from macro 'ifreq_size' sizeof((i).ifr_name)+(i).ifr_addr.sa_len) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./include/c.h:105:13: note: expanded from macro 'max' __typeof__(y) _max2 = (y); \ ^ libuuid/src/gen_uuid.c:132:9: note: forward declaration of 'struct ifreq' struct ifreq ifr, *ifrp; ^ libuuid/src/gen_uuid.c:166:25: error: incomplete definition of type 'struct ifreq' for (i = 0; i < n; i+= ifreq_size(*ifrp) ) { ^~~~~~~~~~~~~~~~~ libuuid/src/gen_uuid.c:149:16: note: expanded from macro 'ifreq_size' sizeof((i).ifr_name)+(i).ifr_addr.sa_len) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/c.h:105:25: note: expanded from macro 'max' __typeof__(y) _max2 = (y); \ ^ libuuid/src/gen_uuid.c:132:9: note: forward declaration of 'struct ifreq' struct ifreq ifr, *ifrp; ^ libuuid/src/gen_uuid.c:166:25: error: incomplete definition of type 'struct ifreq' for (i = 0; i < n; i+= ifreq_size(*ifrp) ) { ^~~~~~~~~~~~~~~~~ libuuid/src/gen_uuid.c:149:30: note: expanded from macro 'ifreq_size' sizeof((i).ifr_name)+(i).ifr_addr.sa_len) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./include/c.h:105:25: note: expanded from macro 'max' __typeof__(y) _max2 = (y); \ ^ libuuid/src/gen_uuid.c:132:9: note: forward declaration of 'struct ifreq' struct ifreq ifr, *ifrp; ^ libuuid/src/gen_uuid.c:166:22: error: invalid operands to binary expression ('int' and 'void') for (i = 0; i < n; i+= ifreq_size(*ifrp) ) { ~^ ~~~~~~~~~~~~~~~~~ libuuid/src/gen_uuid.c:168:29: error: incomplete definition of type 'struct ifreq' strncpy(ifr.ifr_name, ifrp->ifr_name, IFNAMSIZ); ~~~~^ libuuid/src/gen_uuid.c:132:9: note: forward declaration of 'struct ifreq' struct ifreq ifr, *ifrp; ^ libuuid/src/gen_uuid.c:168:41: error: use of undeclared identifier 'IFNAMSIZ' strncpy(ifr.ifr_name, ifrp->ifr_name, IFNAMSIZ); ^ libuuid/src/gen_uuid.c:318:21: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'long long') [-Wformat] clock_seq, last.tv_sec, last.tv_usec, adjustment); ^~~~~~~~~~~ libuuid/src/gen_uuid.c:318:34: warning: format specifies type 'unsigned long' but the argument has type 'suseconds_t' (aka 'int') [-Wformat] clock_seq, last.tv_sec, last.tv_usec, adjustment); ^~~~~~~~~~~~ 2 warnings and 12 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/devel/libuuid/work/util-linux-2.26.2 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/devel/libuuid *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/devel/libuuid