+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tcpdpriv-0.8nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tcpdpriv-0.8nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tcpdpriv-0.8nb1 --- tcpdpriv.o --- --- tcpdutil.o --- --- tcpdpriv.o --- gcc -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -g -I/usr/local/include -I/home/pbulk/build/net/tcpdpriv/work/.home/usr/include -Wall -DWIDE -I/usr/pkg/include -c tcpdpriv.c --- tcpdutil.o --- gcc -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -g -I/usr/local/include -I/home/pbulk/build/net/tcpdpriv/work/.home/usr/include -Wall -DWIDE -I/usr/pkg/include -c tcpdutil.c --- tcpdpriv.o --- tcpdpriv.c: In function 'rand_start': tcpdpriv.c:657:16: error: storage size of 'stat' isn't known struct statfs stat; ^ tcpdpriv.c:669:2: warning: implicit declaration of function 'statfs' [-Wimplicit-function-declaration] n = statfs(second, &stat); ^ tcpdpriv.c:657:16: warning: unused variable 'stat' [-Wunused-variable] struct statfs stat; ^ tcpdpriv.c: In function 'bi_ffs6': tcpdpriv.c:792:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] value = bi_ffs(ntohl(IN6ADDR32(addr, i))); ^ tcpdpriv.c: In function 'extract_bit6': tcpdpriv.c:805:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] value = ntohl(IN6ADDR32(addr, i)); ^ tcpdpriv.c: In function 'make_output6': tcpdpriv.c:1137:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(new, i) = IN6ADDR32(old, i); ^ tcpdpriv.c:1137:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] tcpdpriv.c:1144:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(new, i) = rand32(); ^ tcpdpriv.c:1148:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] value = ntohl(IN6ADDR32(old, i)); ^ tcpdpriv.c:1155:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(new, i) = htonl(value); ^ tcpdpriv.c:1165:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(new, 0) = IN6ADDR32(new, 1) = IN6ADDR32(new, 2) = 0; ^ tcpdpriv.c:1165:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] tcpdpriv.c:1165:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] tcpdpriv.c:1166:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(new, 3) = htonl(hdr->counter); ^ tcpdpriv.c: In function 'make_peer6': tcpdpriv.c:1190:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(&tmp, i) = IN6ADDR32(input, i) ^ IN6ADDR32(&old->input, i); ^ tcpdpriv.c:1190:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] tcpdpriv.c:1190:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] tcpdpriv.c:1206:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(&down[bitvalue]->output, 0) = ^ tcpdpriv.c:1207:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (IN6ADDR32(input, 0) & htonl(hdr->addr_mask)) | ^ tcpdpriv.c:1208:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (IN6ADDR32(&down[bitvalue]->output, 0) & ~htonl(hdr->addr_mask)); ^ tcpdpriv.c: In function 'lookup_init6': tcpdpriv.c:1389:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(&node->output, 0) = 0; ^ tcpdpriv.c:1390:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(&node->output, 1) = 0; ^ tcpdpriv.c:1391:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(&node->output, 2) = 0; ^ tcpdpriv.c:1392:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(&node->output, 3) = hdr->bump; ^ tcpdpriv.c:1394:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(&node->output, 0) = rand32(); ^ tcpdpriv.c:1395:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(&node->output, 1) = rand32(); ^ tcpdpriv.c:1396:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(&node->output, 2) = rand32(); ^ tcpdpriv.c:1397:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(&node->output, 3) = rand32(); ^ tcpdpriv.c:1400:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(&node->input, 0) = htonl(hdr->addr_mask); ^ tcpdpriv.c:1401:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(&node->output, 0) |= htonl(hdr->addr_mask); ^ tcpdpriv.c: In function 'lookup6': tcpdpriv.c:1431:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(&tmp, i) = IN6ADDR32(&node->down[0]->input, i) ^ tcpdpriv.c:1431:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] tcpdpriv.c:1432:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ^ IN6ADDR32(&node->down[1]->input, i); ^ tcpdpriv.c:1435:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] IN6ADDR32(&tmp, i) = IN6ADDR32(input, i) ^ tcpdpriv.c:1435:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] tcpdpriv.c:1436:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ^ IN6ADDR32(&node->input, i); ^ tcpdpriv.c: In function 'dumptcpoptions': tcpdpriv.c:1617:18: error: 'struct tcphdr' has no member named 'th_off' optlen = (tcp->th_off*4)-sizeof *tcp; ^ tcpdpriv.c:1634:8: error: 'struct tcphdr' has no member named 'th_sum' tcp->th_sum = cksum_adjust(tcp->th_sum, sumoff); ^ tcpdpriv.c:1634:35: error: 'struct tcphdr' has no member named 'th_sum' tcp->th_sum = cksum_adjust(tcp->th_sum, sumoff); ^ In file included from /usr/include/bits/byteswap.h:35:0, from /usr/include/endian.h:60, from /usr/include/sys/types.h:216, from tcpdpriv.c:59: tcpdpriv.c: In function 'dumptcp': tcpdpriv.c:1665:23: error: 'struct tcphdr' has no member named 'th_sport' inport = ntohs(tcp->th_sport); ^ tcpdpriv.c:1668:41: error: 'struct tcphdr' has no member named 'th_sport' phoffset = cksum_subtract(phoffset, tcp->th_sport); ^ tcpdpriv.c:1669:5: error: 'struct tcphdr' has no member named 'th_sport' tcp->th_sport = htons(outport); ^ tcpdpriv.c:1670:36: error: 'struct tcphdr' has no member named 'th_sport' phoffset = cksum_add(phoffset, tcp->th_sport); ^ In file included from /usr/include/bits/byteswap.h:35:0, from /usr/include/endian.h:60, from /usr/include/sys/types.h:216, from tcpdpriv.c:59: tcpdpriv.c:1678:23: error: 'struct tcphdr' has no member named 'th_dport' inport = ntohs(tcp->th_dport); ^ tcpdpriv.c:1681:41: error: 'struct tcphdr' has no member named 'th_dport' phoffset = cksum_subtract(phoffset, tcp->th_dport); ^ tcpdpriv.c:1682:5: error: 'struct tcphdr' has no member named 'th_dport' tcp->th_dport = htons(outport); ^ tcpdpriv.c:1683:36: error: 'struct tcphdr' has no member named 'th_dport' phoffset = cksum_add(phoffset, tcp->th_dport); ^ tcpdpriv.c:1697:8: error: 'struct tcphdr' has no member named 'th_sum' tcp->th_sum = cksum_adjust(tcp->th_sum, phoffset); ^ tcpdpriv.c:1697:35: error: 'struct tcphdr' has no member named 'th_sum' tcp->th_sum = cksum_adjust(tcp->th_sum, phoffset); ^ tcpdpriv.c:1707:13: error: 'struct tcphdr' has no member named 'th_off' if ((tcp->th_off*4) > sizeof *tcp) { ^ In file included from /usr/include/bits/byteswap.h:35:0, from /usr/include/endian.h:60, from /usr/include/sys/types.h:216, from tcpdpriv.c:59: tcpdpriv.c: In function 'dumpudp': tcpdpriv.c:1768:23: error: 'struct udphdr' has no member named 'uh_sport' inport = ntohs(udp->uh_sport); ^ tcpdpriv.c:1771:41: error: 'struct udphdr' has no member named 'uh_sport' phoffset = cksum_subtract(phoffset, udp->uh_sport); ^ tcpdpriv.c:1772:5: error: 'struct udphdr' has no member named 'uh_sport' udp->uh_sport = htons(outport); ^ tcpdpriv.c:1773:36: error: 'struct udphdr' has no member named 'uh_sport' phoffset = cksum_add(phoffset, udp->uh_sport); ^ In file included from /usr/include/bits/byteswap.h:35:0, from /usr/include/endian.h:60, from /usr/include/sys/types.h:216, from tcpdpriv.c:59: tcpdpriv.c:1785:23: error: 'struct udphdr' has no member named 'uh_dport' inport = ntohs(udp->uh_dport); ^ tcpdpriv.c:1788:41: error: 'struct udphdr' has no member named 'uh_dport' phoffset = cksum_subtract(phoffset, udp->uh_dport); ^ tcpdpriv.c:1789:5: error: 'struct udphdr' has no member named 'uh_dport' udp->uh_dport = htons(outport); ^ tcpdpriv.c:1790:36: error: 'struct udphdr' has no member named 'uh_dport' phoffset = cksum_add(phoffset, udp->uh_dport); ^ tcpdpriv.c:1810:12: error: 'struct udphdr' has no member named 'uh_sum' if (udp->uh_sum != 0) { ^ tcpdpriv.c:1811:5: error: 'struct udphdr' has no member named 'uh_sum' udp->uh_sum = cksum_adjust(udp->uh_sum, phoffset); ^ tcpdpriv.c:1811:32: error: 'struct udphdr' has no member named 'uh_sum' udp->uh_sum = cksum_adjust(udp->uh_sum, phoffset); ^ tcpdpriv.c: In function 'dumpicmp6': tcpdpriv.c:1973:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] phoffset = cksum_subtract(phoffset, IN6ADDR32(&inaddr, i)); ^ tcpdpriv.c:1976:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] phoffset = cksum_add(phoffset, IN6ADDR32(&outaddr, i)); ^ tcpdpriv.c: In function 'dumparp': tcpdpriv.c:2021:10: error: 'ARPOP_REVREQUEST' undeclared (first use in this function) case ARPOP_REVREQUEST: ^ tcpdpriv.c:2021:10: note: each undeclared identifier is reported only once for each function it appears in tcpdpriv.c:2022:10: error: 'ARPOP_REVREPLY' undeclared (first use in this function) case ARPOP_REVREPLY: ^ tcpdpriv.c:2023:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] addr = ntohl(*((u_int32_t *)&ap->arp_spa[0])); ^ tcpdpriv.c:2025:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((u_int32_t *)&ap->arp_spa[0]) = htonl(addr); ^ tcpdpriv.c:2027:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] addr = ntohl(*((u_int32_t *)&ap->arp_tpa[0])); ^ tcpdpriv.c:2029:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((u_int32_t *)&ap->arp_tpa[0]) = htonl(addr); ^ tcpdpriv.c: In function 'dumpip6': tcpdpriv.c:2224:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] phoffset = cksum_subtract(phoffset, IN6ADDR32(&ip6->ip6_src, i)); ^ tcpdpriv.c:2227:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] phoffset = cksum_add(phoffset, IN6ADDR32(&ip6->ip6_src, i)); ^ tcpdpriv.c:2235:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] phoffset = cksum_subtract(phoffset, IN6ADDR32(&ip6->ip6_dst, i)); ^ tcpdpriv.c:2238:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] phoffset = cksum_add(phoffset, IN6ADDR32(&ip6->ip6_dst, i)); ^ tcpdpriv.c:2257:7: error: 'IPPROTO_IPV4' undeclared (first use in this function) case IPPROTO_IPV4: /* ipv4 over ipv6 */ ^ tcpdpriv.c:2201:14: warning: variable 'nxt' set but not used [-Wunused-but-set-variable] u_int8_t nxt; ^ tcpdpriv.c: In function 'main': tcpdpriv.c:2882:6: warning: 'pcap_lookupdev' is deprecated (declared at /home/pbulk/build/net/tcpdpriv/work/.buildlink/include/pcap/pcap.h:394): use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] interface = pcap_lookupdev(pcap_errbuf); ^ *** [tcpdpriv.o] Error code 1 bmake: stopped in /home/pbulk/build/net/tcpdpriv/work/tcpd-tools-0.8/wide-tcpdpriv 1 error bmake: stopped in /home/pbulk/build/net/tcpdpriv/work/tcpd-tools-0.8/wide-tcpdpriv *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/tcpdpriv *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/tcpdpriv