+ 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/wmSMPmon-2.3nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/wmSMPmon-2.3nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for wmSMPmon-2.3nb1
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -c -o wmSMPmon.o wmSMPmon.c
wmSMPmon.c:22:17: fatal error: sys/sched.h: No such file or directory
   22 | #include        <sys/sched.h>
      |                 ^~~~~~~~~~~~~
compilation terminated.
*** [wmSMPmon.o] Error code 1

bmake: stopped in /home/pbulk/build/sysutils/wmSMPmon/work/wmSMPmon-2.x/wmSMPmon
1 error

bmake: stopped in /home/pbulk/build/sysutils/wmSMPmon/work/wmSMPmon-2.x/wmSMPmon
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/wmSMPmon