+ 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 -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I../include -c chksniff.c
chksniff.c: In function 'main':
chksniff.c:32:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
   32 |   if (strcmp(argv[1], "-h") || strcmp(argv[1], "-v")) {
      |       ^~~~~~
chksniff.c:60:16: error: 'SIOCGIFCONF' undeclared (first use in this function)
   60 |  if (ioctl(fd, SIOCGIFCONF, &ifc) != 0) {
      |                ^~~~~~~~~~~
chksniff.c:60:16: note: each undeclared identifier is reported only once for each function it appears in
chksniff.c:70:17: error: 'SIOCGIFFLAGS' undeclared (first use in this function)
   70 |   if (ioctl(fd, SIOCGIFFLAGS, &ifr[i]) != 0) {
      |                 ^~~~~~~~~~~~
chksniff.c:79:17: error: 'SIOCGIFADDR' undeclared (first use in this function)
   79 |   if (ioctl(fd, SIOCGIFADDR, &ifr[i]) != 0) {
      |                 ^~~~~~~~~~~
chksniff.c:83:32: 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-trunk/net/chksniff
*** Error code 1

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