+ 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 -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 -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:6: warning: implicit declaration of function 'statfs'; did you mean 'stat'? [-Wimplicit-function-declaration]
  n = statfs(second, &stat);
      ^~~~~~
      stat
tcpdpriv.c:657:16: warning: unused variable 'stat' [-Wunused-variable]
  struct statfs stat;
                ^~~~
tcpdpriv.c: In function 'dumparp':
tcpdpriv.c:2021:10: error: 'ARPOP_REVREQUEST' undeclared (first use in this function); did you mean 'ARPOP_RREQUEST'?
     case ARPOP_REVREQUEST:
          ^~~~~~~~~~~~~~~~
          ARPOP_RREQUEST
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); did you mean 'ARPOP_RREPLY'?
     case ARPOP_REVREPLY:
          ^~~~~~~~~~~~~~
          ARPOP_RREPLY
tcpdpriv.c: In function 'dumpip6':
tcpdpriv.c:2257:7: error: 'IPPROTO_IPV4' undeclared (first use in this function); did you mean 'IPPROTO_IPV6'?
  case IPPROTO_IPV4:  /* ipv4 over ipv6 */
       ^~~~~~~~~~~~
       IPPROTO_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: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
      interface = pcap_lookupdev(pcap_errbuf);
      ^~~~~~~~~
In file included from /home/pbulk/build/net/tcpdpriv/work/.buildlink/include/pcap.h:43,
                 from tcpdpriv.c:112:
/home/pbulk/build/net/tcpdpriv/work/.buildlink/include/pcap/pcap.h:444:16: note: declared here
 PCAP_API char *pcap_lookupdev(char *);
                ^~~~~~~~~~~~~~
*** [tcpdpriv.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/net/tcpdpriv/work/tcpd-tools-0.8/wide-tcpdpriv
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/net/tcpdpriv/work/tcpd-tools-0.8/wide-tcpdpriv
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/tcpdpriv
*** Error code 1

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