=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for transmission-2.92 Making all in extras gmake[1]: Entering directory '/usr/pkgsrc/work/net/transmission/work/transmission-2.92/extras' gmake[1]: Nothing to be done for 'all'. gmake[1]: Leaving directory '/usr/pkgsrc/work/net/transmission/work/transmission-2.92/extras' Making all in third-party gmake[1]: Entering directory '/usr/pkgsrc/work/net/transmission/work/transmission-2.92/third-party' Making all in dht gmake[2]: Entering directory '/usr/pkgsrc/work/net/transmission/work/transmission-2.92/third-party/dht' CC dht.o dht.c:360:35: warning: cast from 'const struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 2 [-Wcast-align] struct sockaddr_in *sin = (struct sockaddr_in*)sa; ^~~~~~~~~~~~~~~~~~~~~~~ dht.c:368:37: warning: cast from 'const struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4 [-Wcast-align] struct sockaddr_in6 *sin6 = (struct sockaddr_in6*)sa; ^~~~~~~~~~~~~~~~~~~~~~~~ dht.c:1319:35: warning: cast from 'const struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 2 [-Wcast-align] struct sockaddr_in *sin = (struct sockaddr_in*)sa; ^~~~~~~~~~~~~~~~~~~~~~~ dht.c:1323:37: warning: cast from 'const struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4 [-Wcast-align] struct sockaddr_in6 *sin6 = (struct sockaddr_in6*)sa; ^~~~~~~~~~~~~~~~~~~~~~~~ dht.c:1446:35: warning: cast from 'const struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 2 [-Wcast-align] struct sockaddr_in *sin = (struct sockaddr_in*)sa; ^~~~~~~~~~~~~~~~~~~~~~~ dht.c:1451:37: warning: cast from 'const struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4 [-Wcast-align] struct sockaddr_in6 *sin6 = (struct sockaddr_in6*)sa; ^~~~~~~~~~~~~~~~~~~~~~~~ dht.c:273:28: warning: unused variable 'ones' [-Wunused-const-variable] static const unsigned char ones[20] = { ^ 7 warnings generated. AR libdht.a gmake[2]: Leaving directory '/usr/pkgsrc/work/net/transmission/work/transmission-2.92/third-party/dht' Making all in libb64 gmake[2]: Entering directory '/usr/pkgsrc/work/net/transmission/work/transmission-2.92/third-party/libb64' CC cdecode.o CC cencode.o AR libb64.a gmake[2]: Leaving directory '/usr/pkgsrc/work/net/transmission/work/transmission-2.92/third-party/libb64' Making all in libnatpmp gmake[2]: Entering directory '/usr/pkgsrc/work/net/transmission/work/transmission-2.92/third-party/libnatpmp' CC getgateway.o getgateway.c:319:16: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 2 [-Wcast-align] *addr = ((struct sockaddr_in *)gate)->sin_addr.s_addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. CC natpmp.o natpmp.c:179:4: warning: cast from 'unsigned char *' to '__uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] *((uint16_t *)(p->pending_request + 4)) = htons(privateport); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ natpmp.c:180:4: warning: cast from 'unsigned char *' to '__uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] *((uint16_t *)(p->pending_request + 6)) = htons(publicport); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ natpmp.c:181:4: warning: cast from 'unsigned char *' to '__uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] *((uint32_t *)(p->pending_request + 8)) = htonl(lifetime); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ natpmp.c:212:34: warning: cast from 'unsigned char *' to '__uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] response->resultcode = ntohs(*((uint16_t *)(buf + 2))); ^ ~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:72:41: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:212:34: warning: cast from 'unsigned char *' to '__uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] response->resultcode = ntohs(*((uint16_t *)(buf + 2))); ^ ~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:73:28: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/bswap.h:60:6: note: expanded from macro '__byte_swap_u16_constant' ((((x) & 0xff00) >> 8) | \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:212:34: warning: cast from 'unsigned char *' to '__uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] response->resultcode = ntohs(*((uint16_t *)(buf + 2))); ^ ~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:73:28: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/bswap.h:61:6: note: expanded from macro '__byte_swap_u16_constant' (((x) & 0x00ff) << 8)))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:212:34: warning: cast from 'unsigned char *' to '__uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] response->resultcode = ntohs(*((uint16_t *)(buf + 2))); ^ ~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:73:58: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:213:29: warning: cast from 'unsigned char *' to '__uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] response->epoch = ntohl(*((uint32_t *)(buf + 4))); ^ ~~~~~~~~~ /usr/include/sys/endian.h:125:44: note: expanded from macro 'ntohl' #define ntohl(x) bswap32(__CAST(uint32_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:68:41: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:213:29: warning: cast from 'unsigned char *' to '__uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] response->epoch = ntohl(*((uint32_t *)(buf + 4))); ^ ~~~~~~~~~ /usr/include/sys/endian.h:125:44: note: expanded from macro 'ntohl' #define ntohl(x) bswap32(__CAST(uint32_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:69:28: note: expanded from macro 'bswap32' __byte_swap_u32_constant(x) : __BYTE_SWAP_U32_VARIABLE(x)) ^ /usr/include/sys/bswap.h:53:6: note: expanded from macro '__byte_swap_u32_constant' ((((x) & 0xff000000) >> 24) | \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:213:29: warning: cast from 'unsigned char *' to '__uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] response->epoch = ntohl(*((uint32_t *)(buf + 4))); ^ ~~~~~~~~~ /usr/include/sys/endian.h:125:44: note: expanded from macro 'ntohl' #define ntohl(x) bswap32(__CAST(uint32_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:69:28: note: expanded from macro 'bswap32' __byte_swap_u32_constant(x) : __BYTE_SWAP_U32_VARIABLE(x)) ^ /usr/include/sys/bswap.h:54:6: note: expanded from macro '__byte_swap_u32_constant' (((x) & 0x00ff0000) >> 8) | \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:213:29: warning: cast from 'unsigned char *' to '__uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] response->epoch = ntohl(*((uint32_t *)(buf + 4))); ^ ~~~~~~~~~ /usr/include/sys/endian.h:125:44: note: expanded from macro 'ntohl' #define ntohl(x) bswap32(__CAST(uint32_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:69:28: note: expanded from macro 'bswap32' __byte_swap_u32_constant(x) : __BYTE_SWAP_U32_VARIABLE(x)) ^ /usr/include/sys/bswap.h:55:6: note: expanded from macro '__byte_swap_u32_constant' (((x) & 0x0000ff00) << 8) | \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:213:29: warning: cast from 'unsigned char *' to '__uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] response->epoch = ntohl(*((uint32_t *)(buf + 4))); ^ ~~~~~~~~~ /usr/include/sys/endian.h:125:44: note: expanded from macro 'ntohl' #define ntohl(x) bswap32(__CAST(uint32_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:69:28: note: expanded from macro 'bswap32' __byte_swap_u32_constant(x) : __BYTE_SWAP_U32_VARIABLE(x)) ^ /usr/include/sys/bswap.h:56:6: note: expanded from macro '__byte_swap_u32_constant' (((x) & 0x000000ff) << 24)))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:213:29: warning: cast from 'unsigned char *' to '__uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] response->epoch = ntohl(*((uint32_t *)(buf + 4))); ^ ~~~~~~~~~ /usr/include/sys/endian.h:125:44: note: expanded from macro 'ntohl' #define ntohl(x) bswap32(__CAST(uint32_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:69:58: note: expanded from macro 'bswap32' __byte_swap_u32_constant(x) : __BYTE_SWAP_U32_VARIABLE(x)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:242:49: warning: cast from 'unsigned char *' to '__uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] response->pnu.publicaddress.addr.s_addr = *((uint32_t *)(buf + 8)); ^~~~~~~~~~~~~~~~~~~~~ natpmp.c:244:56: warning: cast from 'unsigned char *' to '__uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] response->pnu.newportmapping.privateport = ntohs(*((uint16_t *)(buf + 8))); ^ ~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:72:41: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:244:56: warning: cast from 'unsigned char *' to '__uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] response->pnu.newportmapping.privateport = ntohs(*((uint16_t *)(buf + 8))); ^ ~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:73:28: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/bswap.h:60:6: note: expanded from macro '__byte_swap_u16_constant' ((((x) & 0xff00) >> 8) | \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:244:56: warning: cast from 'unsigned char *' to '__uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] response->pnu.newportmapping.privateport = ntohs(*((uint16_t *)(buf + 8))); ^ ~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:73:28: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/bswap.h:61:6: note: expanded from macro '__byte_swap_u16_constant' (((x) & 0x00ff) << 8)))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:244:56: warning: cast from 'unsigned char *' to '__uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] response->pnu.newportmapping.privateport = ntohs(*((uint16_t *)(buf + 8))); ^ ~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:73:58: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:245:61: warning: cast from 'unsigned char *' to '__uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] response->pnu.newportmapping.mappedpublicport = ntohs(*((uint16_t *)(buf + 10))); ^ ~~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:72:41: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:245:61: warning: cast from 'unsigned char *' to '__uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] response->pnu.newportmapping.mappedpublicport = ntohs(*((uint16_t *)(buf + 10))); ^ ~~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:73:28: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/bswap.h:60:6: note: expanded from macro '__byte_swap_u16_constant' ((((x) & 0xff00) >> 8) | \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:245:61: warning: cast from 'unsigned char *' to '__uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] response->pnu.newportmapping.mappedpublicport = ntohs(*((uint16_t *)(buf + 10))); ^ ~~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:73:28: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/bswap.h:61:6: note: expanded from macro '__byte_swap_u16_constant' (((x) & 0x00ff) << 8)))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:245:61: warning: cast from 'unsigned char *' to '__uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] response->pnu.newportmapping.mappedpublicport = ntohs(*((uint16_t *)(buf + 10))); ^ ~~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:73:58: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:246:53: warning: cast from 'unsigned char *' to '__uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] response->pnu.newportmapping.lifetime = ntohl(*((uint32_t *)(buf + 12))); ^ ~~~~~~~~~~ /usr/include/sys/endian.h:125:44: note: expanded from macro 'ntohl' #define ntohl(x) bswap32(__CAST(uint32_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:68:41: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:246:53: warning: cast from 'unsigned char *' to '__uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] response->pnu.newportmapping.lifetime = ntohl(*((uint32_t *)(buf + 12))); ^ ~~~~~~~~~~ /usr/include/sys/endian.h:125:44: note: expanded from macro 'ntohl' #define ntohl(x) bswap32(__CAST(uint32_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:69:28: note: expanded from macro 'bswap32' __byte_swap_u32_constant(x) : __BYTE_SWAP_U32_VARIABLE(x)) ^ /usr/include/sys/bswap.h:53:6: note: expanded from macro '__byte_swap_u32_constant' ((((x) & 0xff000000) >> 24) | \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:246:53: warning: cast from 'unsigned char *' to '__uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] response->pnu.newportmapping.lifetime = ntohl(*((uint32_t *)(buf + 12))); ^ ~~~~~~~~~~ /usr/include/sys/endian.h:125:44: note: expanded from macro 'ntohl' #define ntohl(x) bswap32(__CAST(uint32_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:69:28: note: expanded from macro 'bswap32' __byte_swap_u32_constant(x) : __BYTE_SWAP_U32_VARIABLE(x)) ^ /usr/include/sys/bswap.h:54:6: note: expanded from macro '__byte_swap_u32_constant' (((x) & 0x00ff0000) >> 8) | \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:246:53: warning: cast from 'unsigned char *' to '__uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] response->pnu.newportmapping.lifetime = ntohl(*((uint32_t *)(buf + 12))); ^ ~~~~~~~~~~ /usr/include/sys/endian.h:125:44: note: expanded from macro 'ntohl' #define ntohl(x) bswap32(__CAST(uint32_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:69:28: note: expanded from macro 'bswap32' __byte_swap_u32_constant(x) : __BYTE_SWAP_U32_VARIABLE(x)) ^ /usr/include/sys/bswap.h:55:6: note: expanded from macro '__byte_swap_u32_constant' (((x) & 0x0000ff00) << 8) | \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:246:53: warning: cast from 'unsigned char *' to '__uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] response->pnu.newportmapping.lifetime = ntohl(*((uint32_t *)(buf + 12))); ^ ~~~~~~~~~~ /usr/include/sys/endian.h:125:44: note: expanded from macro 'ntohl' #define ntohl(x) bswap32(__CAST(uint32_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:69:28: note: expanded from macro 'bswap32' __byte_swap_u32_constant(x) : __BYTE_SWAP_U32_VARIABLE(x)) ^ /usr/include/sys/bswap.h:56:6: note: expanded from macro '__byte_swap_u32_constant' (((x) & 0x000000ff) << 24)))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ natpmp.c:246:53: warning: cast from 'unsigned char *' to '__uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] response->pnu.newportmapping.lifetime = ntohl(*((uint32_t *)(buf + 12))); ^ ~~~~~~~~~~ /usr/include/sys/endian.h:125:44: note: expanded from macro 'ntohl' #define ntohl(x) bswap32(__CAST(uint32_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:69:58: note: expanded from macro 'bswap32' __byte_swap_u32_constant(x) : __BYTE_SWAP_U32_VARIABLE(x)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ 28 warnings generated. CC wingettimeofday.o AR libnatpmp.a gmake[2]: Leaving directory '/usr/pkgsrc/work/net/transmission/work/transmission-2.92/third-party/libnatpmp' Making all in miniupnp gmake[2]: Entering directory '/usr/pkgsrc/work/net/transmission/work/transmission-2.92/third-party/miniupnp' ./updateminiupnpcstrings.sh ./VERSION ./miniupnpcstrings.h.in miniupnpcstrings.h Detected OS [Minix] version [3.4.0] cat: ./VERSION: No such file or directory MiniUPnPc version [] setting OS_STRING macro value to Minix/3.4.0 in miniupnpcstrings.h. setting MINIUPNPC_VERSION_STRING macro value to in miniupnpcstrings.h. /usr/pkg/bin/gmake all-am gmake[3]: Entering directory '/usr/pkgsrc/work/net/transmission/work/transmission-2.92/third-party/miniupnp' CC connecthostport.o connecthostport.c:190:34: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4 [-Wcast-align] struct sockaddr_in6 * addr6 = (struct sockaddr_in6 *)p->ai_addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. CC igd_desc_parse.o CC minisoap.o CC minissdpc.o CC miniupnpc.o miniupnpc.c:532:21: error: variable has incomplete type 'struct ip_mreqn' struct ip_mreqn reqn; /* only defined with -D_BSD_SOURCE or -D_GNU_SOURCE */ ^ miniupnpc.c:532:12: note: forward declaration of 'struct ip_mreqn' struct ip_mreqn reqn; /* only defined with -D_BSD_SOURCE or -D_GNU_SOURCE */ ^ miniupnpc.c:533:22: error: invalid application of 'sizeof' to an incomplete type 'struct ip_mreqn' memset(&reqn, 0, sizeof(struct ip_mreqn)); ^ ~~~~~~~~~~~~~~~~~ miniupnpc.c:532:12: note: forward declaration of 'struct ip_mreqn' struct ip_mreqn reqn; /* only defined with -D_BSD_SOURCE or -D_GNU_SOURCE */ ^ 2 errors generated. Makefile:496: recipe for target 'miniupnpc.o' failed gmake[3]: *** [miniupnpc.o] Error 1 gmake[3]: Leaving directory '/usr/pkgsrc/work/net/transmission/work/transmission-2.92/third-party/miniupnp' Makefile:435: recipe for target 'all' failed gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory '/usr/pkgsrc/work/net/transmission/work/transmission-2.92/third-party/miniupnp' Makefile:451: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/work/net/transmission/work/transmission-2.92/third-party' Makefile:507: recipe for target 'all-recursive' failed gmake: *** [all-recursive] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/transmission *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/transmission