+ 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/lagrange-1.17.4nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lagrange-1.17.4nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for lagrange-1.17.4nb1
[  0%] Built target ext-deps
[  1%] Building C object lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/the_foundation.c.o
[  2%] Building C object lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/address.c.o
[  2%] Building C object lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/audience.c.o
[  3%] Building C object lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/array.c.o
[  4%] Building C object lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/block.c.o
[  5%] Building C object lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/blockhash.c.o
[  6%] Building C object lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/buffer.c.o
[  7%] Building C object lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/class.c.o
[  7%] Building C object lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/commandline.c.o
[  8%] Building C object lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/crc32.c.o
[  9%] Building C object lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/fileinfo.c.o
/home/pbulk/build/net/lagrange/work/lagrange-1.17.4/lib/the_Foundation/src/fileinfo.c:66:17: fatal error: sys/dir.h: No such file or directory
   66 | #       include <sys/dir.h>
      |                 ^~~~~~~~~~~
compilation terminated.
*** [lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/fileinfo.c.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/net/lagrange/work/lagrange-1.17.4
1 error

bmake[2]: stopped in /home/pbulk/build/net/lagrange/work/lagrange-1.17.4
*** [lib/the_Foundation/CMakeFiles/the_Foundation.dir/all] Error code 2

bmake[1]: stopped in /home/pbulk/build/net/lagrange/work/lagrange-1.17.4
1 error

bmake[1]: stopped in /home/pbulk/build/net/lagrange/work/lagrange-1.17.4
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/net/lagrange/work/lagrange-1.17.4
1 error

bmake: stopped in /home/pbulk/build/net/lagrange/work/lagrange-1.17.4
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/lagrange
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/lagrange