+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tcptraceroute6-1.0.4/work.log
+ su pbulk -c '"$@"' make /opt/local/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/local/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 ---
--- src/addrinfo.o ---
--- src/ndisc.o ---
--- tracert6 ---
  ALIAS    tracert6
--- src/ndisc.o ---
  CC       src/ndisc.o
--- src/addrinfo.o ---
  CC       src/addrinfo.o
--- src/rdisc6-ndisc.o ---
  CC       src/rdisc6-ndisc.o
--- 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
--- 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 making "all-am" in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4
bmake[2]: 2 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-trunk-x86_64/net/tcptraceroute6
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/tcptraceroute6