+ 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/wminet-1.2nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/wminet-1.2nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for wminet-1.2nb1
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include main.c -o main.o
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include if.c -o if.o
if.c: In function 'addIfData':
if.c:124:39: error: 'const struct ifnet' has no member named 'if_ibytes'
  124 |                 ptr->rcvLast = theData->if_ibytes;
      |                                       ^~
if.c:125:39: error: 'const struct ifnet' has no member named 'if_obytes'
  125 |                 ptr->xmtLast = theData->if_obytes;
      |                                       ^~
if.c: In function 'dereference':
if.c:196:26: error: 'struct ifnet' has no member named 'if_softc'
  196 |                         d.if_softc = 0;
      |                          ^
if.c:202:26: error: 'struct ifnet' has no member named 'if_bpf'
  202 |                         d.if_bpf = 0;
      |                          ^
if.c:206:27: error: 'struct ifnet' has no member named 'if_linkmib'; did you mean 'if_init'?
  206 |                         d.if_linkmib = 0;
      |                           ^~~~~~~~~~
      |                           if_init
if.c:207:26: error: 'struct ifnet' has no member named 'if_poll_slowq'
  207 |                         d.if_poll_slowq = 0;
      |                          ^
if.c: In function 'ifInit':
if.c:254:24: warning: implicit declaration of function 'kvm_openfiles'; did you mean 'kvm_open'? [-Wimplicit-function-declaration]
  254 |         if (0 != (kd = kvm_openfiles(0, 0, 0, O_RDONLY, errBuf))) {
      |                        ^~~~~~~~~~~~~
      |                        kvm_open
if.c:254:22: warning: assignment to 'kvm_t *' {aka 'struct _kvmd *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  254 |         if (0 != (kd = kvm_openfiles(0, 0, 0, O_RDONLY, errBuf))) {
      |                      ^
if.c: In function 'ifSample':
if.c:385:41: error: 'const struct ifnet' has no member named 'if_obytes'
  385 |                 d->xmt[d->current] = ptr->if_obytes - d->xmtLast;
      |                                         ^~
if.c:386:33: error: 'const struct ifnet' has no member named 'if_obytes'
  386 |                 d->xmtLast = ptr->if_obytes;
      |                                 ^~
if.c:390:41: error: 'const struct ifnet' has no member named 'if_ibytes'
  390 |                 d->rcv[d->current] = ptr->if_ibytes - d->rcvLast;
      |                                         ^~
if.c:391:33: error: 'const struct ifnet' has no member named 'if_ibytes'
  391 |                 d->rcvLast = ptr->if_ibytes;
      |                                 ^~
*** [if.o] Error code 1

bmake: stopped in /home/pbulk/build/net/wminet/work/wmnet-1.2
1 error

bmake: stopped in /home/pbulk/build/net/wminet/work/wmnet-1.2
*** Error code 2

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

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