+ 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/tcpdstat-0.8nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tcpdstat-0.8nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for tcpdstat-0.8nb1
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_int64_t=uint64_t -Du_int32_t=uint32_t -Du_int16_t=uint16_t -Du_int8_t=uint8_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I.  -DINET6 -c stat.c
stat.c: In function 'main':
stat.c:123:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
  123 |     if (strcmp(file, "-") != 0) {
      |         ^~~~~~
stat.c:45:1: note: include '<string.h>' or provide a declaration of 'strcmp'
   44 | #include "tcpdstat.h"
  +++ |+#include <string.h>
   45 | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_int64_t=uint64_t -Du_int32_t=uint32_t -Du_int16_t=uint16_t -Du_int8_t=uint8_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I.  -DINET6 -c net_read.c
net_read.c: In function 'llc_read':
net_read.c:365:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration]
  365 |     bcopy((char *)p, (char *)&llc, min(caplen, sizeof(llc)));
      |     ^~~~~
net_read.c:365:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch]
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_int64_t=uint64_t -Du_int32_t=uint32_t -Du_int16_t=uint16_t -Du_int8_t=uint8_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I.  -DINET6 -c ip_flow.c
ip_flow.c:78:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   78 | static __inline int ip_hash4 __P((struct in_addr *, struct in_addr *));
      |                              ^~~
ip_flow.c:80:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   80 | static __inline int ip_hash6 __P((struct in6_addr *, struct in6_addr *));
      |                              ^~~
*** [ip_flow.o] Error code 1

bmake: stopped in /home/pbulk/build/net/tcpdstat/work/tcpd-tools-0.8/tcpdstat
1 error

bmake: stopped in /home/pbulk/build/net/tcpdstat/work/tcpd-tools-0.8/tcpdstat
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/tcpdstat
*** Error code 1

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