+ 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 ===> 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 --- --- rdnss/rdnssd.o --- --- tracert6 --- ALIAS tracert6 --- rdnss/rdnssd.o --- CC rdnss/rdnssd.o --- rdnss/icmp.o --- --- rdnss/netlink.o --- --- rdnss/icmp.o --- CC rdnss/icmp.o --- rdnss/netlink.o --- CC rdnss/netlink.o --- dnssort --- SED dnssort --- merge-hook --- SED merge-hook --- tcpspray6 --- --- addr2name --- --- tcpspray6 --- ALIAS tcpspray6 --- addr2name --- ALIAS addr2name --- rdnss/icmp.o --- rdnss/icmp.c: In function 'icmp_recv': rdnss/icmp.c:50:59: 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:39: 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:39: note: (near initialization for 'iov[0].iov_base') rdnss/icmp.c:63:26: error: 'struct msghdr' has no member named 'msg_control' 63 | .msg_control = cbuf, | ^~~~~~~~~~~ rdnss/icmp.c:63:40: 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:40: note: (near initialization for 'msg.msg_iov') rdnss/icmp.c:64:26: error: 'struct msghdr' has no member named 'msg_controllen' 64 | .msg_controllen = sizeof (cbuf) | ^~~~~~~~~~~~~~ rdnss/icmp.c:71:25: error: 'struct msghdr' has no member named 'msg_flags' 71 | || (msg.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) /* truncated packet */ | ^ rdnss/icmp.c:76:45: warning: implicit declaration of function 'CMSG_FIRSTHDR' [-Wimplicit-function-declaration] 76 | for (struct cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); | ^~~~~~~~~~~~~ rdnss/icmp.c:76:45: warning: initialization of 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] rdnss/icmp.c:76:17: error: declaration of non-variable 'CMSG_FIRSTHDR' in 'for' loop initial declaration 76 | for (struct cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); | ^~~ --- rdnss/rdnssd.o --- rdnss/rdnssd.c: In function 'main': --- src/addrinfo.o --- --- rdnss/rdnssd.o --- rdnss/rdnssd.c:855:28: 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:28: note: each undeclared identifier is reported only once for each function it appears in --- src/ndisc.o --- --- rdnss/icmp.o --- rdnss/icmp.c:78:29: warning: implicit declaration of function 'CMSG_NXTHDR' [-Wimplicit-function-declaration] 78 | cmsg = CMSG_NXTHDR (&msg, cmsg)) | ^~~~~~~~~~~ rdnss/icmp.c:78:27: 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:45: warning: implicit declaration of function 'CMSG_DATA' [-Wimplicit-function-declaration] 82 | && (255 != *(int *)CMSG_DATA (cmsg))) /* illegal hop limit */ | ^~~~~~~~~ rdnss/icmp.c:82:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 82 | && (255 != *(int *)CMSG_DATA (cmsg))) /* illegal hop limit */ | ^ --- src/addrinfo.o --- CC src/addrinfo.o --- src/ndisc.o --- CC src/ndisc.o --- rdnss/icmp.o --- *** [rdnss/icmp.o] Error code 1 bmake[2]: stopped making "all-am" in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 --- rdnss/rdnssd.o --- *** [rdnss/rdnssd.o] Error code 1 bmake[2]: stopped making "all-am" in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 --- src/ndisc.o --- src/ndisc.c: In function 'recvfromLL': src/ndisc.c:630:19: warning: implicit declaration of function 'CMSG_SPACE' [-Wimplicit-function-declaration] 630 | char cbuf[CMSG_SPACE (sizeof (int))]; | ^~~~~~~~~~ src/ndisc.c:642:18: error: 'struct msghdr' has no member named 'msg_control' 642 | .msg_control = cbuf, | ^~~~~~~~~~~ src/ndisc.c:643:18: error: 'struct msghdr' has no member named 'msg_controllen' 643 | .msg_controllen = sizeof (cbuf) | ^~~~~~~~~~~~~~ src/ndisc.c:651:37: warning: implicit declaration of function 'CMSG_FIRSTHDR' [-Wimplicit-function-declaration] 651 | for (struct cmsghdr *cmsg = CMSG_FIRSTHDR (&hdr); | ^~~~~~~~~~~~~ src/ndisc.c:651:37: warning: initialization of 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] src/ndisc.c:651:9: error: declaration of non-variable 'CMSG_FIRSTHDR' in 'for' loop initial declaration 651 | for (struct cmsghdr *cmsg = CMSG_FIRSTHDR (&hdr); | ^~~ src/ndisc.c:653:21: warning: implicit declaration of function 'CMSG_NXTHDR' [-Wimplicit-function-declaration] 653 | cmsg = CMSG_NXTHDR (&hdr, cmsg)) | ^~~~~~~~~~~ src/ndisc.c:653:19: 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:44: warning: implicit declaration of function 'CMSG_DATA' [-Wimplicit-function-declaration] 658 | if (255 != *(int *)CMSG_DATA (cmsg)) | ^~~~~~~~~ src/ndisc.c:658:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 658 | if (255 != *(int *)CMSG_DATA (cmsg)) | ^ *** [src/ndisc.o] Error code 1 bmake[2]: stopped making "all-am" in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 bmake[2]: 3 errors bmake[2]: stopped making "all-am" in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 bmake[1]: stopped making "all-recursive" in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 bmake: stopped making "all" in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/tcptraceroute6 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/tcptraceroute6