+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/batchftp-1.02nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/batchftp-1.02nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for batchftp-1.02nb1
--- batchftp.o ---
cc -pipe -O2    -c batchftp.c
batchftp.c: In function 'start_ftp':
batchftp.c:758:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations]
  sigsetmask(0);                          /* do not block any signals */
  ^~~~~~~~~~
In file included from /usr/include/sys/param.h:28,
                 from batchftp.c:52:
/usr/include/signal.h:173:12: note: declared here
 extern int sigsetmask (int __mask) __THROW __attribute_deprecated__;
            ^~~~~~~~~~
batchftp.c:806:14: error: too many arguments to function 'setpgrp'
    pg_flag = setpgrp(pid, pid);                      /* make child group leader so that parent won't be killed */
              ^~~~~~~
In file included from batchftp.c:71:
/usr/include/unistd.h:660:12: note: declared here
 extern int setpgrp (void) __THROW;
            ^~~~~~~
batchftp.c: In function 'connect_delay':
batchftp.c:948:15: warning: implicit declaration of function 'time'; did you mean 'nice'? [-Wimplicit-function-declaration]
  seed = (int) time(0L);
               ^~~~
               nice
batchftp.c: In function 'main':
batchftp.c:151:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result]
  getcwd(home_dir,sizeof(home_dir));
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
batchftp.c: In function 'assign_args':
batchftp.c:680:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
  system(cmd_buf);                                        /*make copy of inputfile; append pid to filename */
  ^~~~~~~~~~~~~~~
batchftp.c: In function 'check_ftp':
batchftp.c:930:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
  system(linebuf);
  ^~~~~~~~~~~~~~~
*** [batchftp.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/net/batchftp/work
bmake: 1 error

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

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

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