+ 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/squashfs-4.6.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/squashfs-4.6.1/work.log
===> Building for squashfs-4.6.1
/home/pbulk/build/filesystems/squashfs/work/.cwrapper/bin/libtool  --mode=compile --tag=CC gcc -o mksquashfs.lo -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DLZO_SUPPORT -DLZ4_SUPPORT -DZSTD_SUPPORT -DXATTR_SUPPORT -DREPRODUCIBLE_DEFAULT -DVERSION=\"4.6.1\" -DDATE=\"2023/03/25\" -DYEAR=\"2023\" -I/opt/pkg/include mksquashfs.c
libtool: compile:  gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/home/pbulk/build/filesystems/squashfs/work/.buildlink/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DLZO_SUPPORT -DLZ4_SUPPORT -DZSTD_SUPPORT -DXATTR_SUPPORT -DREPRODUCIBLE_DEFAULT -DVERSION=\"4.6.1\" -DDATE=\"2023/03/25\" -DYEAR=\"2023\" mksquashfs.c  -fPIC -DPIC -o .libs/mksquashfs.o
mksquashfs.c:57:10: fatal error: sys/sysctl.h: No such file or directory
   57 | #include <sys/sysctl.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
gmake: *** [Makefile:368: mksquashfs.lo] Error 1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/filesystems/squashfs
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/filesystems/squashfs