+ 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/predict-2.2.6/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/predict-2.2.6/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for predict-2.2.6
cd /home/pbulk/build/ham/predict/work/predict-2.2.6 && gcc  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include/ncurses -I/usr/include   -lsocket -lnsl  -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64  -pthread predict.c -o predict -lcurses -lpthread -lrt -lm
predict.c: In function 'NewUser':
predict.c:5867:14: error: conflicting types for 'mkdir'; have 'int *()'
 5867 |         int *mkdir();
      |              ^~~~~
In file included from /usr/include/fcntl.h:37,
                 from predict.c:35:
/usr/include/sys/stat.h:490:12: note: previous declaration of 'mkdir' with type 'int(const char *, mode_t)' {aka 'int(const char *, unsigned int)'}
  490 | extern int mkdir(const char *, mode_t);
      |            ^~~~~
*** Error code 1

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/ham/predict