+ 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/chksniff-0.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/chksniff-0.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for chksniff-0.2
cd ./src; make; cd ../
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I../include -c chksniff.c
chksniff.c: In function 'main':
chksniff.c:32:21: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
   32 |                 if (strcmp(argv[1], "-h") || strcmp(argv[1], "-v")) {
      |                     ^~~~~~
chksniff.c:18:1: note: include '<string.h>' or provide a declaration of 'strcmp'
   17 | #include "chksniff.h"
  +++ |+#include <string.h>
   18 | 
chksniff.c:60:23: error: 'SIOCGIFCONF' undeclared (first use in this function)
   60 |         if (ioctl(fd, SIOCGIFCONF, &ifc) != 0) {
      |                       ^~~~~~~~~~~
chksniff.c:60:23: note: each undeclared identifier is reported only once for each function it appears in
chksniff.c:70:31: error: 'SIOCGIFFLAGS' undeclared (first use in this function)
   70 |                 if (ioctl(fd, SIOCGIFFLAGS, &ifr[i]) != 0) {
      |                               ^~~~~~~~~~~~
chksniff.c:79:31: error: 'SIOCGIFADDR' undeclared (first use in this function)
   79 |                 if (ioctl(fd, SIOCGIFADDR, &ifr[i]) != 0) {
      |                               ^~~~~~~~~~~
chksniff.c:83:46: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration]
   83 |                 printf("%s [%s]: %s", iname, inet_ntoa((*(struct sockaddr_in *) & ifr[i].ifr_addr).sin_addr), promisc ? "promisc\n" : "normal\n");
      |                                              ^~~~~~~~~
*** [chksniff.o] Error code 1

make[1]: stopped in /home/pbulk/build/net/chksniff/work/chksniff-0.2/src
1 error

make[1]: stopped in /home/pbulk/build/net/chksniff/work/chksniff-0.2/src
A failure has been detected in another branch of the parallel make

bmake: stopped in /home/pbulk/build/net/chksniff/work/chksniff-0.2
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/chksniff