+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tcptraceroute6-1.0.4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tcptraceroute6-1.0.4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for tcptraceroute6-1.0.4 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in po --- src/.dirstamp --- --- src/.deps/.dirstamp --- --- rdnss/.dirstamp --- --- rdnss/.deps/.dirstamp --- --- compat/.dirstamp --- --- compat/.deps/.dirstamp --- --- tracert6 --- --- dnssort --- --- tracert6 --- ALIAS tracert6 --- dnssort --- SED dnssort --- merge-hook --- --- tcpspray6 --- --- addr2name --- --- tcpspray6 --- ALIAS tcpspray6 --- doc/rdnssd.8 --- --- compat/dummy.o --- --- merge-hook --- SED merge-hook --- rdnss/rdnssd.o --- --- rdnss/icmp.o --- --- compat/dummy.o --- CC compat/dummy.o --- addr2name --- ALIAS addr2name --- rdnss/netlink.o --- --- rdnss/rdnssd.o --- CC rdnss/rdnssd.o --- rdnss/icmp.o --- CC rdnss/icmp.o --- rdnss/netlink.o --- CC rdnss/netlink.o --- src/addrinfo.o --- --- doc/rdnssd.8 --- SED doc/rdnssd.8 --- src/addrinfo.o --- CC src/addrinfo.o --- src/ndisc.o --- --- src/rdisc6-ndisc.o --- --- src/ndisc.o --- CC src/ndisc.o --- src/rdisc6-ndisc.o --- CC src/rdisc6-ndisc.o --- src/traceroute.o --- CC src/traceroute.o --- src/trace-tcp.o --- CC src/trace-tcp.o --- src/trace-udp.o --- CC src/trace-udp.o --- rdnss/icmp.o --- rdnss/icmp.c: In function 'icmp_recv': rdnss/icmp.c:50:45: warning: implicit declaration of function 'CMSG_SPACE' [-Wimplicit-function-declaration] 50 | uint8_t buf[65536 - sizeof (icmp6)], cbuf[CMSG_SPACE (sizeof (int))]; | ^~~~~~~~~~ rdnss/icmp.c:53:18: warning: initialization of 'char *' from incompatible pointer type 'struct nd_router_advert *' [-Wincompatible-pointer-types] 53 | { .iov_base = &icmp6, .iov_len = sizeof (icmp6) }, | ^ rdnss/icmp.c:53:18: note: (near initialization for 'iov[0].iov_base') rdnss/icmp.c:63:5: error: 'struct msghdr' has no member named 'msg_control' 63 | .msg_control = cbuf, | ^~~~~~~~~~~ rdnss/icmp.c:63:19: warning: initialization of 'struct iovec *' from incompatible pointer type 'uint8_t *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] 63 | .msg_control = cbuf, | ^~~~ rdnss/icmp.c:63:19: note: (near initialization for 'msg.msg_iov') rdnss/icmp.c:64:5: error: 'struct msghdr' has no member named 'msg_controllen' 64 | .msg_controllen = sizeof (cbuf) | ^~~~~~~~~~~~~~ rdnss/icmp.c:71:11: error: 'struct msghdr' has no member named 'msg_flags' 71 | || (msg.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) /* truncated packet */ | ^ rdnss/icmp.c:76:31: warning: implicit declaration of function 'CMSG_FIRSTHDR' [-Wimplicit-function-declaration] 76 | for (struct cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); | ^~~~~~~~~~~~~ rdnss/icmp.c:76:31: warning: initialization of 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] rdnss/icmp.c:76:3: error: declaration of non-variable 'CMSG_FIRSTHDR' in 'for' loop initial declaration 76 | for (struct cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); | ^~~ rdnss/icmp.c:78:15: warning: implicit declaration of function 'CMSG_NXTHDR' [-Wimplicit-function-declaration] 78 | cmsg = CMSG_NXTHDR (&msg, cmsg)) | ^~~~~~~~~~~ rdnss/icmp.c:78:13: warning: assignment to 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 78 | cmsg = CMSG_NXTHDR (&msg, cmsg)) | ^ rdnss/icmp.c:82:24: warning: implicit declaration of function 'CMSG_DATA' [-Wimplicit-function-declaration] 82 | && (255 != *(int *)CMSG_DATA (cmsg))) /* illegal hop limit */ | ^~~~~~~~~ rdnss/icmp.c:82:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 82 | && (255 != *(int *)CMSG_DATA (cmsg))) /* illegal hop limit */ | ^ *** [rdnss/icmp.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 --- rdnss/rdnssd.o --- rdnss/rdnssd.c: In function 'main': rdnss/rdnssd.c:855:21: error: 'LOG_PERROR' undeclared (first use in this function); did you mean 'SO_ERROR'? 855 | openlog ("rdnssd", LOG_PERROR | LOG_PID, LOG_DAEMON); | ^~~~~~~~~~ | SO_ERROR rdnss/rdnssd.c:855:21: note: each undeclared identifier is reported only once for each function it appears in --- src/rdisc6-ndisc.o --- src/ndisc.c: In function 'parseadv': src/ndisc.c:535:25: error: 'ND_RA_FLAG_HOME_AGENT' undeclared (first use in this function); did you mean 'ND_RA_FLAG_MANAGED'? 535 | gettext ((v & ND_RA_FLAG_HOME_AGENT) ? N_ ("Yes") : N_("No"))); | ^~~~~~~~~~~~~~~~~~~~~ | ND_RA_FLAG_MANAGED src/ndisc.c:535:25: note: each undeclared identifier is reported only once for each function it appears in --- rdnss/rdnssd.o --- *** [rdnss/rdnssd.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 --- src/rdisc6-ndisc.o --- src/ndisc.c: In function 'recvfromLL': src/ndisc.c:630:12: warning: implicit declaration of function 'CMSG_SPACE' [-Wimplicit-function-declaration] 630 | char cbuf[CMSG_SPACE (sizeof (int))]; | ^~~~~~~~~~ src/ndisc.c:642:4: error: 'struct msghdr' has no member named 'msg_control' 642 | .msg_control = cbuf, | ^~~~~~~~~~~ src/ndisc.c:643:4: error: 'struct msghdr' has no member named 'msg_controllen' 643 | .msg_controllen = sizeof (cbuf) | ^~~~~~~~~~~~~~ src/ndisc.c:651:30: warning: implicit declaration of function 'CMSG_FIRSTHDR' [-Wimplicit-function-declaration] 651 | for (struct cmsghdr *cmsg = CMSG_FIRSTHDR (&hdr); | ^~~~~~~~~~~~~ src/ndisc.c:651:30: warning: initialization of 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] src/ndisc.c:651:2: error: declaration of non-variable 'CMSG_FIRSTHDR' in 'for' loop initial declaration 651 | for (struct cmsghdr *cmsg = CMSG_FIRSTHDR (&hdr); | ^~~ --- src/ndisc.o --- src/ndisc.c: In function 'recvfromLL': --- src/rdisc6-ndisc.o --- src/ndisc.c:653:14: warning: implicit declaration of function 'CMSG_NXTHDR' [-Wimplicit-function-declaration] 653 | cmsg = CMSG_NXTHDR (&hdr, cmsg)) | ^~~~~~~~~~~ src/ndisc.c:653:12: warning: assignment to 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 653 | cmsg = CMSG_NXTHDR (&hdr, cmsg)) | ^ --- src/ndisc.o --- src/ndisc.c:630:12: warning: implicit declaration of function 'CMSG_SPACE' [-Wimplicit-function-declaration] 630 | char cbuf[CMSG_SPACE (sizeof (int))]; | ^~~~~~~~~~ src/ndisc.c:642:4: error: 'struct msghdr' has no member named 'msg_control' 642 | .msg_control = cbuf, | ^~~~~~~~~~~ src/ndisc.c:643:4: error: 'struct msghdr' has no member named 'msg_controllen' 643 | .msg_controllen = sizeof (cbuf) | ^~~~~~~~~~~~~~ --- src/rdisc6-ndisc.o --- src/ndisc.c:658:23: warning: implicit declaration of function 'CMSG_DATA' [-Wimplicit-function-declaration] 658 | if (255 != *(int *)CMSG_DATA (cmsg)) | ^~~~~~~~~ src/ndisc.c:658:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 658 | if (255 != *(int *)CMSG_DATA (cmsg)) | ^ --- src/ndisc.o --- src/ndisc.c:651:30: warning: implicit declaration of function 'CMSG_FIRSTHDR' [-Wimplicit-function-declaration] 651 | for (struct cmsghdr *cmsg = CMSG_FIRSTHDR (&hdr); | ^~~~~~~~~~~~~ src/ndisc.c:651:30: warning: initialization of 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] src/ndisc.c:651:2: error: declaration of non-variable 'CMSG_FIRSTHDR' in 'for' loop initial declaration 651 | for (struct cmsghdr *cmsg = CMSG_FIRSTHDR (&hdr); | ^~~ src/ndisc.c:653:14: warning: implicit declaration of function 'CMSG_NXTHDR' [-Wimplicit-function-declaration] 653 | cmsg = CMSG_NXTHDR (&hdr, cmsg)) | ^~~~~~~~~~~ src/ndisc.c:653:12: warning: assignment to 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 653 | cmsg = CMSG_NXTHDR (&hdr, cmsg)) | ^ src/ndisc.c:658:23: warning: implicit declaration of function 'CMSG_DATA' [-Wimplicit-function-declaration] 658 | if (255 != *(int *)CMSG_DATA (cmsg)) | ^~~~~~~~~ src/ndisc.c:658:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 658 | if (255 != *(int *)CMSG_DATA (cmsg)) | ^ --- src/traceroute.o --- src/traceroute.c: In function 'send_payload': src/traceroute.c:115:12: warning: implicit declaration of function 'CMSG_SPACE' [-Wimplicit-function-declaration] 115 | char cbuf[CMSG_SPACE (sizeof (int))]; | ^~~~~~~~~~ src/traceroute.c:127:4: error: 'struct msghdr' has no member named 'msg_control' 127 | .msg_control = cbuf, | ^~~~~~~~~~~ src/traceroute.c:128:4: error: 'struct msghdr' has no member named 'msg_controllen' 128 | .msg_controllen = sizeof (cbuf) | ^~~~~~~~~~~~~~ src/traceroute.c:131:25: warning: implicit declaration of function 'CMSG_FIRSTHDR' [-Wimplicit-function-declaration] 131 | struct cmsghdr *cmsg = CMSG_FIRSTHDR (&hdr); | ^~~~~~~~~~~~~ src/traceroute.c:131:25: warning: initialization of 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] src/traceroute.c:134:19: warning: implicit declaration of function 'CMSG_LEN' [-Wimplicit-function-declaration] 134 | cmsg->cmsg_len = CMSG_LEN (sizeof (hlim)); | ^~~~~~~~ src/traceroute.c:136:10: warning: implicit declaration of function 'CMSG_DATA' [-Wimplicit-function-declaration] 136 | memcpy (CMSG_DATA (cmsg), &hlim, sizeof (hlim)); | ^~~~~~~~~ src/traceroute.c:136:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] 136 | memcpy (CMSG_DATA (cmsg), &hlim, sizeof (hlim)); | ^~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/string.h:34, from ./include/gettext.h:184, from src/traceroute.c:24: /usr/include/iso/string_iso.h:70:21: note: expected 'void * restrict' but argument is of type 'int' 70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t); | ^ src/traceroute.c: In function 'recv_payload': src/traceroute.c:164:4: error: 'struct msghdr' has no member named 'msg_control' 164 | .msg_control = cbuf, | ^~~~~~~~~~~ src/traceroute.c:165:4: error: 'struct msghdr' has no member named 'msg_controllen' 165 | .msg_controllen = sizeof (cbuf) | ^~~~~~~~~~~~~~ src/traceroute.c:173:30: warning: initialization of 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 173 | for (struct cmsghdr *cmsg = CMSG_FIRSTHDR (&hdr); | ^~~~~~~~~~~~~ src/traceroute.c:173:2: error: declaration of non-variable 'CMSG_FIRSTHDR' in 'for' loop initial declaration 173 | for (struct cmsghdr *cmsg = CMSG_FIRSTHDR (&hdr); | ^~~ src/traceroute.c:175:14: warning: implicit declaration of function 'CMSG_NXTHDR' [-Wimplicit-function-declaration] 175 | cmsg = CMSG_NXTHDR (&hdr, cmsg)) | ^~~~~~~~~~~ src/traceroute.c:175:12: warning: assignment to 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 175 | cmsg = CMSG_NXTHDR (&hdr, cmsg)) | ^ src/traceroute.c:178:18: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] 178 | memcpy (hlim, CMSG_DATA (cmsg), sizeof (*hlim)); | ^~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/string.h:34, from ./include/gettext.h:184, from src/traceroute.c:24: /usr/include/iso/string_iso.h:70:43: note: expected 'const void * restrict' but argument is of type 'int' 70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t); | ^ src/traceroute.c: In function 'traceroute': src/traceroute.c:1018:22: error: array type has incomplete element type 'struct sock_filter' 1018 | struct sock_filter f[10], *pc = f; | ^ src/traceroute.c:1019:10: error: variable 'sfp' has initializer but incomplete type 1019 | struct sock_fprog sfp = { | ^~~~~~~~~~ src/traceroute.c:1020:5: error: 'struct sock_fprog' has no member named 'len' 1020 | .len = sizeof (f) / sizeof (f[0]), | ^~~ src/traceroute.c:1020:11: warning: excess elements in struct initializer 1020 | .len = sizeof (f) / sizeof (f[0]), | ^~~~~~ src/traceroute.c:1020:11: note: (near initialization for 'sfp') src/traceroute.c:1021:5: error: 'struct sock_fprog' has no member named 'filter' 1021 | .filter = f, | ^~~~~~ src/traceroute.c:1021:14: warning: excess elements in struct initializer 1021 | .filter = f, | ^ src/traceroute.c:1021:14: note: (near initialization for 'sfp') --- src/rdisc6-ndisc.o --- *** [src/rdisc6-ndisc.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 --- src/traceroute.o --- src/traceroute.c:1019:21: error: storage size of 'sfp' isn't known 1019 | struct sock_fprog sfp = { | ^~~ src/traceroute.c:1027:6: error: invalid use of undefined type 'struct sock_filter' 1027 | pc->code = BPF_LD + BPF_W + BPF_ABS; | ^~ src/traceroute.c:1027:15: error: 'BPF_LD' undeclared (first use in this function) 1027 | pc->code = BPF_LD + BPF_W + BPF_ABS; | ^~~~~~ src/traceroute.c:1027:15: note: each undeclared identifier is reported only once for each function it appears in --- src/ndisc.o --- *** [src/ndisc.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 --- src/traceroute.o --- src/traceroute.c:1027:24: error: 'BPF_W' undeclared (first use in this function) 1027 | pc->code = BPF_LD + BPF_W + BPF_ABS; | ^~~~~ src/traceroute.c:1027:32: error: 'BPF_ABS' undeclared (first use in this function); did you mean 'PF_NBS'? 1027 | pc->code = BPF_LD + BPF_W + BPF_ABS; | ^~~~~~~ | PF_NBS src/traceroute.c:1028:6: error: invalid use of undefined type 'struct sock_filter' 1028 | pc->jt = pc->jf = 0; | ^~ src/traceroute.c:1028:15: error: invalid use of undefined type 'struct sock_filter' 1028 | pc->jt = pc->jf = 0; | ^~ src/traceroute.c:1029:6: error: invalid use of undefined type 'struct sock_filter' 1029 | pc->k = 8 + 24 + (i * 4); | ^~ src/traceroute.c:1030:6: error: increment of pointer to an incomplete type 'struct sock_filter' 1030 | pc++; | ^~ src/traceroute.c:1033:6: error: invalid use of undefined type 'struct sock_filter' 1033 | pc->code = BPF_JMP + BPF_JEQ + BPF_K; | ^~ src/traceroute.c:1033:15: error: 'BPF_JMP' undeclared (first use in this function) 1033 | pc->code = BPF_JMP + BPF_JEQ + BPF_K; | ^~~~~~~ src/traceroute.c:1033:25: error: 'BPF_JEQ' undeclared (first use in this function) 1033 | pc->code = BPF_JMP + BPF_JEQ + BPF_K; | ^~~~~~~ src/traceroute.c:1033:35: error: 'BPF_K' undeclared (first use in this function) 1033 | pc->code = BPF_JMP + BPF_JEQ + BPF_K; | ^~~~~ src/traceroute.c:1034:6: error: invalid use of undefined type 'struct sock_filter' 1034 | pc->jt = 0; | ^~ src/traceroute.c:1035:6: error: invalid use of undefined type 'struct sock_filter' 1035 | pc->jf = f + (sizeof (f) / sizeof (f[0])) - (pc + 2); | ^~ src/traceroute.c:1035:52: error: invalid use of undefined type 'struct sock_filter' 1035 | pc->jf = f + (sizeof (f) / sizeof (f[0])) - (pc + 2); | ^ src/traceroute.c:1036:6: error: invalid use of undefined type 'struct sock_filter' 1036 | pc->k = ntohl (dst.sin6_addr.s6_addr32[i]); | ^~ src/traceroute.c:1036:32: error: 'struct in6_addr' has no member named 's6_addr32' 1036 | pc->k = ntohl (dst.sin6_addr.s6_addr32[i]); | ^ src/traceroute.c:1037:6: error: increment of pointer to an incomplete type 'struct sock_filter' 1037 | pc++; | ^~ src/traceroute.c:1041:5: error: invalid use of undefined type 'struct sock_filter' 1041 | pc->code = BPF_RET + BPF_K; | ^~ src/traceroute.c:1041:14: error: 'BPF_RET' undeclared (first use in this function) 1041 | pc->code = BPF_RET + BPF_K; | ^~~~~~~ src/traceroute.c:1042:5: error: invalid use of undefined type 'struct sock_filter' 1042 | pc->jt = pc->jf = 0; | ^~ src/traceroute.c:1042:14: error: invalid use of undefined type 'struct sock_filter' 1042 | pc->jt = pc->jf = 0; | ^~ src/traceroute.c:1043:5: error: invalid use of undefined type 'struct sock_filter' 1043 | pc->k = ~0U; | ^~ src/traceroute.c:1044:5: error: increment of pointer to an incomplete type 'struct sock_filter' 1044 | pc++; | ^~ src/traceroute.c:1047:5: error: invalid use of undefined type 'struct sock_filter' 1047 | pc->code = BPF_RET + BPF_K; | ^~ src/traceroute.c:1048:5: error: invalid use of undefined type 'struct sock_filter' 1048 | pc->jt = pc->jf = pc->k = 0; | ^~ src/traceroute.c:1048:14: error: invalid use of undefined type 'struct sock_filter' 1048 | pc->jt = pc->jf = pc->k = 0; | ^~ src/traceroute.c:1048:23: error: invalid use of undefined type 'struct sock_filter' 1048 | pc->jt = pc->jf = pc->k = 0; | ^~ In file included from src/traceroute.c:33: src/traceroute.c:1050:12: error: increment of pointer to an incomplete type 'struct sock_filter' 1050 | assert ((++pc - f) == (sizeof (f) / sizeof (f[0]))); | ^~ *** [src/traceroute.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 5 errors bmake[2]: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 1 error bmake[1]: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 1 error bmake: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/tcptraceroute6 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/tcptraceroute6