+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/2bwm-0.3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/2bwm-0.3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for 2bwm-0.3
=> Fixing makefile
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Os -s -I/opt/local/include  -DTWOBWM_PATH=\"/opt/local/bin/2bwm\" -I/opt/local/include -I/usr/include -c 2bwm.c
2bwm.c: In function 'install_sig_handlers':
2bwm.c:3269:26: error: storage size of 'sa' isn't known
 3269 |         struct sigaction sa;
      |                          ^~
2bwm.c:3270:26: error: storage size of 'sa_chld' isn't known
 3270 |         struct sigaction sa_chld;
      |                          ^~~~~~~
2bwm.c:3272:9: warning: implicit declaration of function 'sigemptyset'; did you mean 'XK_emptyset'? [-Wimplicit-function-declaration]
 3272 |         sigemptyset(&sa.sa_mask);
      |         ^~~~~~~~~~~
      |         XK_emptyset
2bwm.c:3273:23: error: 'SA_NOCLDSTOP' undeclared (first use in this function)
 3273 |         sa.sa_flags = SA_NOCLDSTOP;
      |                       ^~~~~~~~~~~~
2bwm.c:3273:23: note: each undeclared identifier is reported only once for each function it appears in
2bwm.c:3275:13: warning: implicit declaration of function 'sigaction' [-Wimplicit-function-declaration]
 3275 |         if (sigaction(SIGCHLD, &sa, NULL) == -1)
      |             ^~~~~~~~~
2bwm.c:3279:23: error: 'SA_RESTART' undeclared (first use in this function)
 3279 |         sa.sa_flags = SA_RESTART; /* Restart if interrupted by handler */
      |                       ^~~~~~~~~~
*** [2bwm.o] Error code 1

bmake: stopped in /home/pbulk/build/wm/2bwm/work/2bwm-0.3
1 error

bmake: stopped in /home/pbulk/build/wm/2bwm/work/2bwm-0.3
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/wm/2bwm
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/wm/2bwm