+ 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/stagit-1.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/stagit-1.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for stagit-1.2
gcc -o stagit.o -c stagit.c  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
stagit.c:433:1: error: conflicting types for 'mkdirp'; have 'int(const char *)'
  433 | mkdirp(const char *path)
      | ^~~~~~
In file included from stagit.c:6:
/usr/include/libgen.h:97:12: note: previous declaration of 'mkdirp' with type 'int(const char *, mode_t)' {aka 'int(const char *, unsigned int)'}
   97 | extern int mkdirp(const char *, mode_t);
      |            ^~~~~~
*** [stagit.o] Error code 1

bmake: stopped in /home/pbulk/build/www/stagit/work/stagit-1.2
1 error

bmake: stopped in /home/pbulk/build/www/stagit/work/stagit-1.2
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/www/stagit