+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/2bwm-0.3/work.log
+ su pbulk -c '"$@"' make /usr/pkg/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
--- 2bwm.o ---
--- hidden ---
--- 2bwm.o ---
cc -pipe -O2 -I/usr/pkg/include -Os -s -I/usr/pkg/include  -DTWOBWM_PATH=\"/usr/pkg/bin/2bwm\" -I/usr/pkg/include -c 2bwm.c
--- hidden ---
cc -o hidden -pipe -O2 -I/usr/pkg/include -Os -s -I/usr/pkg/include  -DTWOBWM_PATH=\"/usr/pkg/bin/2bwm\" hidden.c -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lxcb -lxcb-randr -lxcb-keysyms  -lxcb-icccm -lxcb-ewmh -lxcb-xrm
--- 2bwm.o ---
2bwm.c: In function 'install_sig_handlers':
2bwm.c:3269:19: error: storage size of 'sa' isn't known
  struct sigaction sa;
                   ^
2bwm.c:3270:19: error: storage size of 'sa_chld' isn't known
  struct sigaction sa_chld;
                   ^
2bwm.c:3272:2: warning: implicit declaration of function 'sigemptyset' [-Wimplicit-function-declaration]
  sigemptyset(&sa.sa_mask);
  ^
2bwm.c:3273:16: error: 'SA_NOCLDSTOP' undeclared (first use in this function)
  sa.sa_flags = SA_NOCLDSTOP;
                ^
2bwm.c:3273:16: note: each undeclared identifier is reported only once for each function it appears in
2bwm.c:3275:2: warning: implicit declaration of function 'sigaction' [-Wimplicit-function-declaration]
  if (sigaction(SIGCHLD, &sa, NULL) == -1)
  ^
2bwm.c:3279:16: error: 'SA_RESTART' undeclared (first use in this function)
  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-el7-trunk-x86_64/wm/2bwm
*** Error code 1

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