+ 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/mgetty-1.1.37nb21/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mgetty-1.1.37nb21/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for mgetty-1.1.37nb21
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg -DVARRUNDIR=\"/var/run\" -c mgetty.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c logfile.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c do_chat.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c locks.c
locks.c: In function 'get_lock_name':
locks.c:398:31: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'dev_t' {aka 'long unsigned int'} [-Wformat=]
  398 |   sprintf(lock,"%s/LK.%03u.%03u.%03u",
      |                            ~~~^
      |                               |
      |                               unsigned int
      |                            %03lu
......
  401 |           tbuf.st_rdev >> 18,
      |           ~~~~~~~~~~~~~~~~~~   
      |                        |
      |                        dev_t {aka long unsigned int}
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c utmp.c
utmp.c: In function 'make_utmp_wtmp':
utmp.c:131:9: warning: unused variable 'fp' [-Wunused-variable]
  131 | FILE *  fp;
      |         ^~
utmp.c:128:17: warning: unused variable 'st' [-Wunused-variable]
  128 | struct stat     st;
      |                 ^~
utmp.c:176:13: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation]
  176 |             strncpy(utmp->ut_line, line, sizeof( utmp->ut_line) );
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utmp.c:187:13: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation]
  187 |             strncpy( utmp->ut_user, ut_user, sizeof( utmp->ut_user ) );
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c logname.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg -DCONFDIR=\"/etc/opt/pkg/mgetty+sendfax\" -c login.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c mg_m_init.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c modem.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c faxrec.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c ring.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c faxlib.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c faxsend.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c faxrecp.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c class1.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c class1lib.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c faxhng.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c hyla_nsf.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c g3file.c
g3file.c: In function 'g3_open_read':
g3file.c:103:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
  103 |          strcmp( g3_rf_buf+1, "PC Research, Inc" ) == 0 )
      |          ^~~~~~
g3file.c:38:1: note: include '<string.h>' or provide a declaration of 'strcmp'
   37 | #include "class1.h"
  +++ |+#include <string.h>
   38 | 
g3file.c:103:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
  103 |          strcmp( g3_rf_buf+1, "PC Research, Inc" ) == 0 )
      |                  ~~~~~~~~~^~
      |                           |
      |                           uch * {aka unsigned char *}
g3file.c:103:27: note: expected 'const char *' but argument is of type 'uch *' {aka 'unsigned char *'}
g3file.c: In function 'g3_send_file':
g3file.c:208:22: warning: pointer targets in passing argument 1 of 'in_func' differ in signedness [-Wpointer-sign]
  208 |     r_num = in_func( rbuf, sizeof(rbuf) );
      |                      ^~~~
      |                      |
      |                      uch * {aka unsigned char *}
g3file.c:208:22: note: expected 'char *' but argument is of type 'uch *' {aka 'unsigned char *'}
g3file.c:250:30: warning: pointer targets in passing argument 1 of 'in_func' differ in signedness [-Wpointer-sign]
  250 |             r_num = in_func( rbuf, sizeof(rbuf) );
      |                              ^~~~
      |                              |
      |                              uch * {aka unsigned char *}
g3file.c:250:30: note: expected 'char *' but argument is of type 'uch *' {aka 'unsigned char *'}
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c io.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c gettydefs.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c tio.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg -DCONFDIR=\"/etc/opt/pkg/mgetty+sendfax\" -c cnd.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c getdisk.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c goodies.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c config.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg -DFAX_SPOOL_IN=\"/var/opt/pkg/spool/fax/incoming\"  -DCONFDIR=\"/etc/opt/pkg/mgetty+sendfax\" -c conf_mg.c
cc -DDEVICE_GROUP=\"root\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dsolaris2 -O2 -Wall -pipe -DPREFIX=\"/opt/pkg\" -DVARBASE=/var/opt/pkg  -c do_stat.c
cc -o mgetty mgetty.o logfile.o do_chat.o locks.o utmp.o logname.o login.o  mg_m_init.o modem.o faxrec.o ring.o  faxlib.o faxsend.o faxrecp.o class1.o class1lib.o faxhng.o hyla_nsf.o  g3file.o io.o gettydefs.o tio.o cnd.o getdisk.o goodies.o  config.o conf_mg.o do_stat.o -Wl,-R/opt/pkg/lib 
Undefined			first referenced
 symbol  			    in file
sys_nerr                            logfile.o
sys_errlist                         logfile.o
ld: fatal: symbol referencing errors. No output written to mgetty
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /home/pbulk/build/comms/mgetty+sendfax/work/mgetty-1.1.37
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/comms/mgetty+sendfax
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/comms/mgetty+sendfax