+ 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/bridged-20010701/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bridged-20010701/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for bridged-20010701
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DHAVE_LIBMD=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_SELECT=1 -c bridge.c
bridge.c:70:11: error: 'ETHER_ADDR_LEN' undeclared here (not in a function)
   70 |  char mac[ETHER_ADDR_LEN];
      |           ^~~~~~~~~~~~~~
bridge.c: In function 'bpfbind':
bridge.c:137:2: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
  137 |  bzero(&ifr, sizeof(struct ifreq));
      |  ^~~~~
bridge.c:137:2: warning: incompatible implicit declaration of built-in function 'bzero'
bridge.c:142:15: error: 'SIOCGIFFLAGS' undeclared (first use in this function)
  142 |  if (ioctl(s, SIOCGIFFLAGS, &ifr) < 0) {
      |               ^~~~~~~~~~~~
bridge.c:142:15: note: each undeclared identifier is reported only once for each function it appears in
bridge.c:147:16: error: 'SIOCSIFFLAGS' undeclared (first use in this function)
  147 |   if (ioctl(s, SIOCSIFFLAGS, &ifr) < 0) {
      |                ^~~~~~~~~~~~
bridge.c: In function 'bdglist':
bridge.c:178:26: warning: implicit declaration of function 'bcmp' [-Wimplicit-function-declaration]
  178 |   if (nodes[i].inuse && !bcmp(p, nodes[i].mac, ETHER_ADDR_LEN)) {
      |                          ^~~~
bridge.c: In function 'bdglist_add':
bridge.c:231:4: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration]
  231 |    bcopy(p, nodes[i].mac, ETHER_ADDR_LEN);
      |    ^~~~~
bridge.c:231:4: warning: incompatible implicit declaration of built-in function 'bcopy'
bridge.c: In function 'duppkt':
bridge.c:253:33: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch]
  253 |   if (!bcmp(digest, digests[i], 16)) {
      |                                 ^~
<built-in>: note: built-in 'bcmp' declared here
bridge.c:258:2: warning: incompatible implicit declaration of built-in function 'bcopy'
  258 |  bcopy(digest, digests[digests_p], 16);
      |  ^~~~~
bridge.c: In function 'main':
bridge.c:293:5: warning: incompatible implicit declaration of built-in function 'bzero'
  293 |     bzero(ifb[n].mac, ETHER_ADDR_LEN);
      |     ^~~~~
bridge.c:310:2: warning: incompatible implicit declaration of built-in function 'bzero'
  310 |  bzero(digests, sizeof(digests));
      |  ^~~~~
bridge.c:332:3: warning: incompatible implicit declaration of built-in function 'bcopy'
  332 |   bcopy((char *) &fds, (char *) &tfds, sizeof(fd_set));
      |   ^~~~~
*** [bridge.o] Error code 1

bmake: stopped in /home/pbulk/build/net/bridged/work/bridged
1 error

bmake: stopped in /home/pbulk/build/net/bridged/work/bridged
*** Error code 2

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

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