+ 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/tct-1.09nb14/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tct-1.09nb14/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for tct-1.09nb14
checking to make sure all the target(s) are here...
Ok, trying to find perl5 now... hang on a bit...

Perl5 is in /opt/pkg/bin/perl

changing the source in: bin/mactime bin/grave-robber lazarus/lazarus bin/strip_tct_home extras/bdf extras/ils2mac extras/realpath 

So far so good...
Looking for all the commands now...

Hmmm... can't find acctcom... moving on...

Hmmm... can't find finger... moving on...

Hmmm... can't find lsof... moving on...

Hmmm... can't find lsmod... moving on...

Hmmm... can't find modstat... moving on...

Hmmm... can't find pkginfo... moving on...

Hmmm... can't find pstat... moving on...

Hmmm... can't find rpm... moving on...

Hmmm... can't find showrev... moving on...

Hmmm... can't find top... moving on...

Hmmm... can't find whoami... moving on...

Hmmm... can't find xhost... moving on...

Hmmm... can't find xauth... moving on...

Ok, now doing substitutions on the shell scripts...
Changing paths in conf/paths.pl...
Putting in $TCT_HOME into lazarus/lazarus
Putting in $TCT_HOME into conf/coroner.cf
Putting in $TCT_HOME into conf/grave-robber.cf
Putting in $TCT_HOME into bin/grave-robber
Putting in $TCT_HOME into bin/mactime
Putting in $TCT_HOME into extras/bdf
Putting in $TCT_HOME into extras/ils2mac
Putting in $TCT_HOME into extras/realpath
chmod 700 .
cd src/aux; make "CC=gcc" MAKELEVEL=
gcc -DSUNOS5 -DUSE_PREAD -O -g  -c mymalloc.c
gcc -DSUNOS5 -DUSE_PREAD -O -g  -c error.c
gcc -DSUNOS5 -DUSE_PREAD -O -g  -c strerror.c
gcc -DSUNOS5 -DUSE_PREAD -O -g  -c split_at.c
ar rv aux_lib.a mymalloc.o error.o strerror.o split_at.o
ar: creating aux_lib.a
ar: writing aux_lib.a
a - mymalloc.o
a - error.o
a - strerror.o
a - split_at.o
: aux_lib.a
cd src/misc; make "CC=gcc" MAKELEVEL=
gcc -O -g -I.  -DSUNOS5_0_5  -c md5.c
md5.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int]
   32 | main(argc, argv)
      | ^~~~
gcc -O -g -I.  -DSUNOS5_0_5  -c md5c.c
gcc -O -g -I.  -DSUNOS5_0_5 -o ../../bin/md5 md5.o md5c.o
gcc -O -g -I.  -DSUNOS5_0_5  -c timeout.c
timeout.c: In function 'main':
timeout.c:104:23: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration]
  104 |         while ((pid = wait(&status)) != -1 && pid != child_pid)
      |                       ^~~~
gcc -O -g -I.  -DSUNOS5_0_5 -o ../../bin/timeout timeout.o
cd src/fstools; make "CC=gcc" MAKELEVEL=
gcc -DSUNOS5 -DUSE_PREAD -I../aux -O -g  -c fs_buf.c
gcc -DSUNOS5 -DUSE_PREAD -I../aux -O -g  -c fs_inode.c
gcc -DSUNOS5 -DUSE_PREAD -I../aux -O -g  -c fs_io.c
gcc -DSUNOS5 -DUSE_PREAD -I../aux -O -g  -c fs_copy_file.c
gcc -DSUNOS5 -DUSE_PREAD -I../aux -O -g  -c fs_open.c
gcc -DSUNOS5 -DUSE_PREAD -I../aux -O -g  -c ffs.c
gcc -DSUNOS5 -DUSE_PREAD -I../aux -O -g  -c ext2fs.c
gcc -DSUNOS5 -DUSE_PREAD -I../aux -O -g  -c mylseek.c
ar rv fs_lib.a fs_buf.o fs_inode.o fs_io.o fs_copy_file.o fs_open.o ffs.o ext2fs.o mylseek.o
ar: creating fs_lib.a
ar: writing fs_lib.a
a - fs_buf.o
a - fs_inode.o
a - fs_io.o
a - fs_copy_file.o
a - fs_open.o
a - ffs.o
a - ext2fs.o
a - mylseek.o
: fs_lib.a
gcc -DSUNOS5 -DUSE_PREAD -I../aux -O -g  -c ils.c
gcc -DSUNOS5 -DUSE_PREAD -I../aux -O -g -o ../../bin/ils ils.o fs_lib.a ../aux/aux_lib.a -lsocket -lnsl
gcc -DSUNOS5 -DUSE_PREAD -I../aux -O -g  -c unrm.c
gcc -DSUNOS5 -DUSE_PREAD -I../aux -O -g -o ../../bin/unrm unrm.o fs_lib.a ../aux/aux_lib.a -lsocket -lnsl
gcc -DSUNOS5 -DUSE_PREAD -I../aux -O -g  -c icat.c
gcc -DSUNOS5 -DUSE_PREAD -I../aux -O -g -o ../../bin/icat icat.o fs_lib.a ../aux/aux_lib.a -lsocket -lnsl
cd src/pcat; make "CC=gcc" MAKELEVEL=
gcc -I../aux -DSUNOS5_0_5 -O -g  -c pcat.c
gcc -I../aux -DSUNOS5_0_5 -O -g -o ../../bin/pcat pcat.o ../aux/aux_lib.a 
cd src/file; make "CC=gcc" MAKELEVEL=
gcc -O -g -DSUNOS5_0_5 -DMAGIC="\"`cd ../../etc; pwd`/magic\""  -c file.c
gcc -O -g -DSUNOS5_0_5 -DMAGIC="\"`cd ../../etc; pwd`/magic\""  -c apprentice.c
gcc -O -g -DSUNOS5_0_5 -DMAGIC="\"`cd ../../etc; pwd`/magic\""  -c fsmagic.c
gcc -O -g -DSUNOS5_0_5 -DMAGIC="\"`cd ../../etc; pwd`/magic\""  -c softmagic.c
gcc -O -g -DSUNOS5_0_5 -DMAGIC="\"`cd ../../etc; pwd`/magic\""  -c ascmagic.c
gcc -O -g -DSUNOS5_0_5 -DMAGIC="\"`cd ../../etc; pwd`/magic\""  -c compress.c
gcc -O -g -DSUNOS5_0_5 -DMAGIC="\"`cd ../../etc; pwd`/magic\""  -c is_tar.c
gcc -O -g -DSUNOS5_0_5 -DMAGIC="\"`cd ../../etc; pwd`/magic\""  -c print.c
gcc -O -g -DSUNOS5_0_5 -DMAGIC="\"`cd ../../etc; pwd`/magic\""  -c international.c
gcc -O -g -DSUNOS5_0_5 -DMAGIC="\"`cd ../../etc; pwd`/magic\"" -o ../../bin/file file.o apprentice.o fsmagic.o softmagic.o ascmagic.o  compress.o is_tar.o  print.o international.o
Undefined			first referenced
 symbol  			    in file
sys_nerr                            file.o
sys_errlist                         file.o
ld: fatal: symbol referencing errors. No output written to ../../bin/file
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
make: stopped in /home/pbulk/build/security/tct/work/tct-1.09/src/file
*** Error code 1

Stop.
make[1]: stopped in /home/pbulk/build/security/tct/work/tct-1.09/src/file
*** Error code 1

Stop.
bmake: stopped in /home/pbulk/build/security/tct/work/tct-1.09
*** Error code 1

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/tct