+ 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/wmSMPmon-2.3nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/wmSMPmon-2.3nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
===> Building for wmSMPmon-2.3nb1
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/opt/local/include -c -o wmSMPmon.o wmSMPmon.c
wmSMPmon.c:22:10: 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-2021Q4-x86_64/sysutils/wmSMPmon
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/sysutils/wmSMPmon