+ 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/pkg-1.10.99.7nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pkg-1.10.99.7nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for pkg-1.10.99.7.tar.xz
=> Checksum SHA512 OK for pkg-1.10.99.7.tar.xz
===> Installing dependencies for pkg-1.10.99.7nb1
=> 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 libarchive>=3.3.1: found libarchive-3.7.2
===> Overriding tools for pkg-1.10.99.7nb1
===> Extracting for pkg-1.10.99.7nb1
===> Patching for pkg-1.10.99.7nb1
=> Applying pkgsrc patches for pkg-1.10.99.7nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-scripts_periodic_411.pkg-backup.in,v 1.1 2020/04/10 23:28:32 khorben Exp $
|
|Pass the portability test
|
|--- scripts/periodic/411.pkg-backup.in.orig	2020-04-10 23:10:58.674050832 +0000
|+++ scripts/periodic/411.pkg-backup.in
--------------------------
Patching file scripts/periodic/411.pkg-backup.in using Plan A...
Hunk #1 succeeded at 25.
done
===> Creating toolchain wrappers for pkg-1.10.99.7nb1
===> Configuring for pkg-1.10.99.7nb1
=> Update pkg(8) defaults.
=> Direct audit reports to Pkgsrc vuxml
=> 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
=> 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... ./install-sh -c -d
checking for gawk... /usr/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... yes
checking for style of include used by make... GNU
checking for x86_64-sun-solaris2.11-gcc... 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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc option to accept ISO C99... none needed
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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... printf %s\n
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 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 CFLAGS for maximum warnings... -Wall -Wno-unused-function
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for memmove... yes
checking for bcopy... yes
checking whether ln -s works... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for elf-hints.h... no
checking for stdlib.h... (cached) yes
checking for sys/param.h... yes
checking for machine/endian.h... no
checking for endian.h... yes
checking for sys/endian.h... no
checking for dlfcn.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/mman.h... yes
checking for sys/elf_common.h... no
checking for link.h... yes
checking for stddef.h... yes
checking for stdarg.h... yes
checking for stdbool.h... yes
checking for stdint.h... (cached) yes
checking for ctype.h... yes
checking for errno.h... yes
checking for limits.h... yes
checking for libgen.h... yes
checking for stdio.h... yes
checking for float.h... yes
checking for math.h... yes
checking for readpassphrase.h... no
checking for osreldate.h... no
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for netinet/in6.h... no
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for dirent.h... yes
checking for sys/capability.h... no
checking for sys/capsicum.h... no
checking for bsd/stdlib.h... no
checking for bsd/string.h... no
checking for bsd/stdio.h... no
checking for bsd/readpassphrase.h... no
checking for bsd/libutil.h... no
checking for bsd/err.h... no
checking for bsd/unistd.h... no
checking for bsd/sys/cdefs.h... no
checking for sys/procctl.h... no
checking for off_t... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for GCC atomic builtins... yes
checking if LD -Wl,--version-script works... no
checking for regex.h... yes
checking for strtofflags... no
checking for fflagstostr... no
checking for posix_fallocate... yes
checking for usleep... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for strerror_r... yes
checking for strtonum... yes
checking for strnstr... yes
checking for funopen... no
checking for fopencookie... no
checking for sysctlbyname... no
checking for __res_setservers... no
checking for eaccess... no
checking for closefrom... yes
checking for dirfd... yes
checking for sysconf... yes
checking for struct stat.st_mtim... yes
checking whether fstatat is declared... yes
checking whether openat is declared... yes
checking whether unlinkat is declared... yes
checking whether readlinkat is declared... yes
checking whether faccessat is declared... yes
checking whether be16dec is declared... no
checking whether be32dec is declared... no
checking whether be64dec is declared... no
checking whether le16dec is declared... no
checking whether le32dec is declared... no
checking whether le64dec is declared... no
checking whether be16enc is declared... no
checking whether be32enc is declared... no
checking whether be64enc is declared... no
checking whether le16enc is declared... no
checking whether le32enc is declared... no
checking whether le64enc is declared... no
checking for struct in6_addr.s6_addr32... no
checking for struct in6_addr.s6_addr16... no
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr_in6.sin6_len... no
checking for struct sockaddr_storage.ss_len... no
checking for struct sockaddr_storage.ss_family... yes
checking for struct sockaddr_storage.__ss_family... no
checking for IPv6 support... yes
checking pkg-config is at least version 0.9.0... no
checking for git... no

no
checking for library containing lzma_version_string... -llzma
checking for library containing BZ2_bzReadOpen... -lbz2
checking for library containing zlibVersion... -lz
checking for library containing archive_read_open... -larchive
checking for library containing __res_query... no
checking archive.h usability... yes
checking archive.h presence... yes
checking for archive.h... yes
checking for library containing jail_getid... no
checking for library containing getprogname... none required
checking gelf.h usability... yes
checking gelf.h presence... yes
checking for gelf.h... yes
checking for Elf_Note... no
checking libelf.h usability... yes
checking libelf.h presence... yes
checking for libelf.h... yes
checking for Elf_Note... (cached) no
checking for cap_sandboxed... no
checking for arc4random_uniform... no
checking for arc4random_stir... no
checking for humanize_number... no
checking for BSD dirname(const char *)... no
checking for BSD fstatfs(int, struct statfs *buf)... no
checking for chflags... no
checking for chflagsat... no
checking for utimensat... yes
checking for futimesat... yes
checking for basename_r... no
checking for BSD basename(const char *)... no
checking for /proc/pid/fd directory... yes
checking whether F_CLOSEM is declared... no
checking whether we should only build the static version of pkg... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Kyuafile
config.status: creating src/Makefile
config.status: creating external/Makefile
config.status: creating external/blake2/Makefile
config.status: creating scripts/Makefile
config.status: creating docs/Makefile
config.status: creating tests/Makefile
config.status: creating tests/Kyuafile
config.status: creating tests/frontend/Kyuafile
config.status: creating tests/frontend/test_environment.sh
config.status: creating compat/Makefile
config.status: creating libpkg/Makefile
config.status: creating libpkg/repo/Makefile
config.status: creating libpkg/pkg.h
config.status: creating libpkg/pkg.pc
config.status: creating scripts/periodic/400.status-pkg
config.status: creating scripts/periodic/410.pkg-audit
config.status: creating scripts/periodic/411.pkg-backup
config.status: creating scripts/periodic/460.pkg-checksum
config.status: creating scripts/periodic/490.status-pkg-changes
config.status: creating scripts/completion/_pkg.bash
config.status: creating scripts/completion/_pkg
config.status: creating libpkg/repo/binary/Makefile
config.status: creating pkg_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing pkg_repos.h commands
config.status: executing mkdir commands