+ 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/sendfile-2.1bnb4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sendfile-2.1bnb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for sendfile-2.1bnb4
cd src; make
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -DSOLARIS2 -c sendfile.c
In file included from sendfile.c:123:
config.h:166: warning: "__EXTENSIONS__" redefined
  166 |   #define __EXTENSIONS__
      | 
<command-line>: note: this is the location of the previous definition
sendfile.c:160:7: error: conflicting types for 'gethostname'; have 'int(char *, int)'
  160 |   int gethostname(char *, int);
      |       ^~~~~~~~~~~
In file included from sendfile.c:126:
/usr/include/unistd.h:350:12: note: previous declaration of 'gethostname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'}
  350 | extern int gethostname(char *, size_t);
      |            ^~~~~~~~~~~
sendfile.c: In function 'main':
sendfile.c:490:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  490 |                 else                strcpy(force_compress,optarg); break;
      |                 ^~~~
sendfile.c:490:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  490 |                 else                strcpy(force_compress,optarg); break;
      |                                                                    ^~~~~
sendfile.c:493:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  493 |                 else                strcpy(comment,optarg); break;
      |                 ^~~~
sendfile.c:493:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  493 |                 else                strcpy(comment,optarg); break;
      |                                                             ^~~~~
sendfile.c:499:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  499 |                 else                strcpy(where,optarg); break;
      |                 ^~~~
sendfile.c:499:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  499 |                 else                strcpy(where,optarg); break;
      |                                                           ^~~~~
sendfile.c:501:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  501 |                 else                packet_size=atoi(optarg); break;
      |                 ^~~~
sendfile.c:501:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  501 |                 else                packet_size=atoi(optarg); break;
      |                                                               ^~~~~
sendfile.c:1165:32: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=]
 1165 |           sscanf(line,"SIZE %lld %lld",&size,&orgsize);
      |                             ~~~^       ~~~~~
      |                                |       |
      |                                |       off_t * {aka long int *}
      |                                long long int *
      |                             %ld
sendfile.c:1165:37: warning: format '%lld' expects argument of type 'long long int *', but argument 4 has type 'off_t *' {aka 'long int *'} [-Wformat=]
 1165 |           sscanf(line,"SIZE %lld %lld",&size,&orgsize);
      |                                  ~~~^        ~~~~~~~~
      |                                     |        |
      |                                     |        off_t * {aka long int *}
      |                                     long long int *
      |                                  %ld
sendfile.c:1218:34: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=]
 1218 |         snprintf(MAXS(sizes),"%lld %lld",size,orgsize);
      |                               ~~~^       ~~~~
      |                                  |       |
      |                                  |       off_t {aka long int}
      |                                  long long int
      |                               %ld
sendfile.c:1218:39: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=]
 1218 |         snprintf(MAXS(sizes),"%lld %lld",size,orgsize);
      |                                    ~~~^       ~~~~~~~
      |                                       |       |
      |                                       |       off_t {aka long int}
      |                                       long long int
      |                                    %ld
sendfile.c:1353:30: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=]
 1353 |     snprintf(MAXS(sizes),"%lld %lld",size,orgsize);
      |                           ~~~^       ~~~~
      |                              |       |
      |                              |       off_t {aka long int}
      |                              long long int
      |                           %ld
sendfile.c:1353:35: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=]
 1353 |     snprintf(MAXS(sizes),"%lld %lld",size,orgsize);
      |                                ~~~^       ~~~~~~~
      |                                   |       |
      |                                   |       off_t {aka long int}
      |                                   long long int
      |                                %ld
sendfile.c:1746:32: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=]
 1746 |       snprintf(MAXS(sizes),"%lld %lld",size,orgsize);
      |                             ~~~^       ~~~~
      |                                |       |
      |                                |       off_t {aka long int}
      |                                long long int
      |                             %ld
sendfile.c:1746:37: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=]
 1746 |       snprintf(MAXS(sizes),"%lld %lld",size,orgsize);
      |                                  ~~~^       ~~~~~~~
      |                                     |       |
      |                                     |       off_t {aka long int}
      |                                     long long int
      |                                  %ld
sendfile.c: In function 'forward':
sendfile.c:2352:59: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=]
 2352 |       if (str_neq_nocase("SIZE",line,4)) sscanf(arg+1,"%lld",&size);
      |                                                        ~~~^  ~~~~~
      |                                                           |  |
      |                                                           |  off_t * {aka long int *}
      |                                                           long long int *
      |                                                        %ld
sendfile.c: In function 'list_spool':
sendfile.c:2634:30: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=]
 2634 |       printf("%s@%s : %s (%lld KB)\n",
      |                           ~~~^
      |                              |
      |                              long long int
      |                           %ld
 2635 |              oflp->to,hlp->host,file,(oflp->size+512)/1024);
      |                                      ~~~~~~~~~~~~~~~~~~~~~
      |                                                      |
      |                                                      off_t {aka long int}
*** [sendfile.o] Error code 1

make[1]: stopped in /home/pbulk/build/net/sendfile/work/sendfile-2.1b/src
1 error

make[1]: stopped in /home/pbulk/build/net/sendfile/work/sendfile-2.1b/src
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/net/sendfile/work/sendfile-2.1b
1 error

bmake: stopped in /home/pbulk/build/net/sendfile/work/sendfile-2.1b
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/sendfile