+ 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/srm-1.2.15/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/srm-1.2.15/work.log
===> Building for srm-1.2.15
--- all ---
/opt/pkg/bin/bmake  all-recursive
--- all-recursive ---
Making all in lib
--- snprintf.o ---
--- getopt1.o ---
--- getopt.o ---
--- snprintf.o ---
gcc -DHAVE_CONFIG_H -I. -I..      -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNDEBUG -MT snprintf.o -MD -MP -MF .deps/snprintf.Tpo -c -o snprintf.o snprintf.c
--- getopt1.o ---
gcc -DHAVE_CONFIG_H -I. -I..      -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNDEBUG -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c
--- getopt.o ---
gcc -DHAVE_CONFIG_H -I. -I..      -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNDEBUG -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c
--- snprintf.o ---
mv -f .deps/snprintf.Tpo .deps/snprintf.Po
--- getopt1.o ---
mv -f .deps/getopt1.Tpo .deps/getopt1.Po
--- getopt.o ---
mv -f .deps/getopt.Tpo .deps/getopt.Po
--- libsrm.a ---
rm -f libsrm.a
ar cru libsrm.a snprintf.o getopt1.o  getopt.o 
ranlib libsrm.a
Making all in src
--- error.o ---
--- main.o ---
--- random.o ---
--- rename_unlink.o ---
--- error.o ---
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib   -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNDEBUG -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c
--- main.o ---
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib   -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNDEBUG -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
--- rename_unlink.o ---
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib   -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNDEBUG -MT rename_unlink.o -MD -MP -MF .deps/rename_unlink.Tpo -c -o rename_unlink.o rename_unlink.c
--- random.o ---
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib   -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNDEBUG -MT random.o -MD -MP -MF .deps/random.Tpo -c -o random.o random.c
--- main.o ---
main.c: In function 'main':
main.c:127:20: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  127 |   trees = (char**) alloca(((argc-optind)+1) * sizeof(char*));
      |                    ^~~~~~
main.c:127:20: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
--- rename_unlink.o ---
rename_unlink.c: In function 'rename_unlink':
rename_unlink.c:77:28: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
   77 |   if ( (new_name = (char *)alloca(new_name_size)) == NULL ) {
      |                            ^~~~~~
rename_unlink.c:77:28: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
--- error.o ---
mv -f .deps/error.Tpo .deps/error.Po
--- sunlink.o ---
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib   -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNDEBUG -MT sunlink.o -MD -MP -MF .deps/sunlink.Tpo -c -o sunlink.o sunlink.c
--- random.o ---
mv -f .deps/random.Tpo .deps/random.Po
--- tree_walker.o ---
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib   -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNDEBUG -MT tree_walker.o -MD -MP -MF .deps/tree_walker.Tpo -c -o tree_walker.o tree_walker.c
--- main.o ---
mv -f .deps/main.Tpo .deps/main.Po
--- fill.o ---
--- rename_unlink.o ---
mv -f .deps/rename_unlink.Tpo .deps/rename_unlink.Po
--- fill.o ---
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib   -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNDEBUG -MT fill.o -MD -MP -MF .deps/fill.Tpo -c -o fill.o fill.c
--- sunlink.o ---
sunlink.c: In function 'sunlink':
sunlink.c:121:3: error: unknown type name 'sighandler_t'; did you mean 'sa_handler'?
  121 |   sighandler_t usr2=signal(SIGUSR2, sigint_handler);
      |   ^~~~~~~~~~~~
      |   sa_handler
sunlink.c:121:21: warning: initialization of 'int' from 'void (*)(int)' makes integer from pointer without a cast [-Wint-conversion]
  121 |   sighandler_t usr2=signal(SIGUSR2, sigint_handler);
      |                     ^~~~~~
--- fill.o ---
mv -f .deps/fill.Tpo .deps/fill.Po
--- sunlink.o ---
sunlink.c:124:3: error: unknown type name 'sighandler_t'; did you mean 'sa_handler'?
  124 |   sighandler_t info=signal(SIGINFO, sigint_handler);
      |   ^~~~~~~~~~~~
      |   sa_handler
sunlink.c:124:21: warning: initialization of 'int' from 'void (*)(int)' makes integer from pointer without a cast [-Wint-conversion]
  124 |   sighandler_t info=signal(SIGINFO, sigint_handler);
      |                     ^~~~~~
sunlink.c:127:3: error: unknown type name 'sighandler_t'; did you mean 'sa_handler'?
  127 |   sighandler_t pipe=signal(SIGPIPE, SIG_IGN);
      |   ^~~~~~~~~~~~
      |   sa_handler
sunlink.c:127:21: warning: initialization of 'int' from 'void (*)(int)' makes integer from pointer without a cast [-Wint-conversion]
  127 |   sighandler_t pipe=signal(SIGPIPE, SIG_IGN);
      |                     ^~~~~~
sunlink.c:133:19: warning: passing argument 2 of 'signal' makes pointer from integer without a cast [-Wint-conversion]
  133 |   signal(SIGPIPE, pipe);
      |                   ^~~~
      |                   |
      |                   int
In file included from /usr/include/signal.h:42,
                 from sunlink.c:104:
/usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int'
   63 | extern void (*signal(int, void (*)(int)))(int);
      |                           ^~~~~~~~~~~~~
sunlink.c:136:19: warning: passing argument 2 of 'signal' makes pointer from integer without a cast [-Wint-conversion]
  136 |   signal(SIGINFO, info);
      |                   ^~~~
      |                   |
      |                   int
/usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int'
   63 | extern void (*signal(int, void (*)(int)))(int);
      |                           ^~~~~~~~~~~~~
sunlink.c:139:19: warning: passing argument 2 of 'signal' makes pointer from integer without a cast [-Wint-conversion]
  139 |   signal(SIGUSR2, usr2);
      |                   ^~~~
      |                   |
      |                   int
/usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int'
   63 | extern void (*signal(int, void (*)(int)))(int);
      |                           ^~~~~~~~~~~~~
sunlink.c: In function 'overwrite_selector':
sunlink.c:454:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  454 |   if( (srm->buffer = (unsigned char *)alloca(srm->buffer_size)) == NULL )
      |                                       ^~~~~~
sunlink.c:454:39: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
sunlink.c: In function 'sunlink_impl':
sunlink.c:844:19: error: storage size of 'fs_stats' isn't known
  844 |     struct statfs fs_stats;
      |                   ^~~~~~~~
sunlink.c:845:9: warning: implicit declaration of function 'fstatfs'; did you mean 'fstatvfs'? [-Wimplicit-function-declaration]
  845 |     if (fstatfs(srm.fd, &fs_stats) < 0 && errno != ENOSYS)
      |         ^~~~~~~
      |         fstatvfs
sunlink.c:859:2: error: #error Please define your platform.
  859 | #error Please define your platform.
      |  ^~~~~
sunlink.c:844:19: warning: unused variable 'fs_stats' [-Wunused-variable]
  844 |     struct statfs fs_stats;
      |                   ^~~~~~~~
*** [sunlink.o] Error code 1

bmake[2]: stopped making "all" in /home/pbulk/build/security/srm/work/srm-1.2.15/src
--- tree_walker.o ---
mv -f .deps/tree_walker.Tpo .deps/tree_walker.Po
bmake[2]: 1 error

bmake[2]: stopped making "all" in /home/pbulk/build/security/srm/work/srm-1.2.15/src

bmake[1]: stopped making "all-recursive" in /home/pbulk/build/security/srm/work/srm-1.2.15

bmake: stopped making "all" in /home/pbulk/build/security/srm/work/srm-1.2.15
*** Error code 2

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

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