+ 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
/opt/pkg/bin/bmake  all-recursive
Making all in po
  CC       src/rdisc6-ndisc.o
src/ndisc.c: In function 'parseadv':
src/ndisc.c:535:39: 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:39: note: each undeclared identifier is reported only once for each function it appears in
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/rdisc6-ndisc.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4
1 error

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-trunk/net/tcptraceroute6
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/tcptraceroute6