+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/matio-1.5.21/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/matio-1.5.21/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for matio-1.5.21.tar.gz
=> Checksum SHA512 OK for matio-1.5.21.tar.gz
===> Installing dependencies for matio-1.5.21
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency hdf5>=1.8.11: found hdf5-1.10.7
=> Full dependency zlib>=1.2.3: found zlib-1.2.12nb1
===> Overriding tools for matio-1.5.21
===> Extracting for matio-1.5.21
===> Patching for matio-1.5.21
=> Applying pkgsrc patches for matio-1.5.21
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/matio/patches/patch-documentation_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/matio/patches/patch-documentation_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-documentation_Makefile.in,v 1.1 2021/11/07 10:50:38 nros Exp $
|
|* don't try to install info files, they are not generated even with
|  TEXINFO_REQD set to the latest version.
|
|--- documentation/Makefile.in.orig	2021-11-07 12:33:51.390164116 +0000
|+++ documentation/Makefile.in
--------------------------
Patching file documentation/Makefile.in using Plan A...
Hunk #1 succeeded at 693.
done
===> Creating toolchain wrappers for matio-1.5.21
===> Configuring for matio-1.5.21
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for x86_64-sun-solaris2.11-pgcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking debug mode... no
checking profile mode... no
checking how to print strings... print -r
checking for a sed that does not truncate output... /opt/pkg/bin/nbsed
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop
checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for x86_64-sun-solaris2.11-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-sun-solaris2.11-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-sun-solaris2.11-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make sets $(MAKE)... (cached) yes
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for pow in -lm... yes
checking for ANSI C header files... (cached) yes
checking for stdarg.h... yes
checking for varargs.h... no
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking intsafe.h usability... no
checking intsafe.h presence... no
checking for intsafe.h... no
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for struct lconv.decimal_point... yes
checking for struct lconv.thousands_sep... yes
checking for ptrdiff_t... yes
checking for localeconv... yes
checking for getopt_long... internal
checking size of double... 8
checking size of float... 4
checking size of long long... 8
checking size of long... 8
checking size of int... 4
checking size of short... 2
checking size of char... 1
checking size of void *... 8
checking size of size_t... 8
checking for mat_int64_t... int64_t
checking for mat_uint64_t... uint64_t
checking for mat_int32_t... int32_t
checking for mat_uint32_t... uint32_t
checking for mat_int16_t... int16_t
checking for mat_uint16_t... uint16_t
checking for mat_int8_t... int8_t
checking for mat_uint8_t... uint8_t
checking for long double... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for unsigned long long int... (cached) yes
checking for size_t... yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for uintptr_t... yes
checking for va_copy() function... yes
checking for vsnprintf()... yes
checking for snprintf()... yes
checking for vasprintf()... yes
checking for asprintf()... yes
checking for matlab... no
checking for zlib Library... -lz
checking for HDF5 software... -lhdf5
checking if HDF5 interface is >= v1.8... yes
checking enable MAT v7.3 file support... yes
checking for default MAT file version... MAT_FT_MAT5
checking enable extended sparse types... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating matio.pc
config.status: creating src/Makefile
config.status: creating getopt/Makefile
config.status: creating tools/Makefile
config.status: creating test/Makefile
config.status: creating documentation/Makefile
config.status: creating src/matioConfig.h
config.status: creating src/matio_pubconf.h
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing test/atconfig commands

   MATIO Configuration Summary       
==============================================================
           C Compiler: gcc
               CFLAGS:  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include
     Shared Libraries: yes
     Static Libraries: yes
  default MAT version: MAT_FT_MAT5

Features --------------------------------------------
  MAT v7.3 file support: yes
Extended sparse support: yes

Packages --------------------------------------------
                 zlib: -lz
                 hdf5: -lhdf5
               MATLAB: 


=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp