+ 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/lagrange-1.17.6/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lagrange-1.17.6/work.log
WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
===> Building for lagrange-1.17.6
[  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
[ 10%] Building C object lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/future.c.o
/home/pbulk/build/net/lagrange/work/lagrange-1.17.6/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 ---
*** [lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/fileinfo.c.o] Error code 1

bmake[2]: stopped making "lib/the_Foundation/CMakeFiles/the_Foundation.dir/build" in /home/pbulk/build/net/lagrange/work/lagrange-1.17.6
bmake[2]: 1 error

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

bmake[1]: stopped making "all" in /home/pbulk/build/net/lagrange/work/lagrange-1.17.6
bmake[1]: 1 error

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

bmake: stopped making "all" in /home/pbulk/build/net/lagrange/work/lagrange-1.17.6
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/net/lagrange/work/lagrange-1.17.6
*** Error code 2

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

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/lagrange