+ 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/netmaze-0.81nb4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/netmaze-0.81nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for netmaze-0.81nb4
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -DNO_ASM     -I/opt/pkg/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64      -DSH_MEM -I/opt/pkg/include -c x11cntrl.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -DNO_ASM     -I/opt/pkg/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64      -DSH_MEM -I/opt/pkg/include -c draw_3d.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -DNO_ASM     -I/opt/pkg/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64      -DSH_MEM -I/opt/pkg/include -c x11smiley.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -DNO_ASM     -I/opt/pkg/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64      -DSH_MEM -I/opt/pkg/include -c x11gfx.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -DNO_ASM     -I/opt/pkg/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64      -DSH_MEM -I/opt/pkg/include -c netmaze.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -DNO_ASM     -I/opt/pkg/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64      -DSH_MEM -I/opt/pkg/include -c network.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -DNO_ASM     -I/opt/pkg/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64      -DSH_MEM -I/opt/pkg/include -c allmove.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -DNO_ASM     -I/opt/pkg/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64      -DSH_MEM -I/opt/pkg/include -c maze.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -DNO_ASM     -I/opt/pkg/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64      -DSH_MEM -I/opt/pkg/include -c iocntl.c
iocntl.c: In function 'init_net':
iocntl.c:82:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   82 |     exit(1);
      |     ^~~~
iocntl.c:17:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
   16 | #include <sys/ioctl.h>
  +++ |+#include <stdlib.h>
   17 | 
iocntl.c:82:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   82 |     exit(1);
      |     ^~~~
iocntl.c:82:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
iocntl.c:89:61: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   89 |     fprintf(stderr, "netmaze: unable to create socket.\n"); exit(1);
      |                                                             ^~~~
iocntl.c:89:61: note: include '<stdlib.h>' or provide a declaration of 'exit'
iocntl.c:111:25: error: 'FIOASYNC' undeclared (first use in this function); did you mean 'UIO_ASYNC'?
  111 |   if (ioctl(own_socket, FIOASYNC, &flag) == -1)
      |                         ^~~~~~~~
      |                         UIO_ASYNC
iocntl.c:111:25: note: each undeclared identifier is reported only once for each function it appears in
iocntl.c:113:40: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  113 |     perror("socket: ioctl(FIOASYNC)"); exit(1);
      |                                        ^~~~
iocntl.c:113:40: note: include '<stdlib.h>' or provide a declaration of 'exit'
iocntl.c:119:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  119 |      perror("connect"); exit(1);
      |                         ^~~~
iocntl.c:119:25: note: include '<stdlib.h>' or provide a declaration of 'exit'
iocntl.c:124:25: error: 'SIOCSPGRP' undeclared (first use in this function)
  124 |   if (ioctl(own_socket, SIOCSPGRP, &flag) == -1)
      |                         ^~~~~~~~~
iocntl.c: In function 'io_handler':
iocntl.c:180:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  180 |       exit(2);
      |       ^~~~
iocntl.c:180:7: note: include '<stdlib.h>' or provide a declaration of 'exit'
*** [iocntl.o] Error code 1

bmake: stopped in /home/pbulk/build/games/netmaze/work/netmaze
1 error

bmake: stopped in /home/pbulk/build/games/netmaze/work/netmaze
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/netmaze