=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libbsd-0.12.1.tar.xz
=> Checksum SHA512 OK for libbsd-0.12.1.tar.xz
===> Installing dependencies for libbsd-0.12.1
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0
=> Tool dependency xz>=4.999.9betanb1: found xz-5.6.1nb100
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libmd>=1.1.0: found libmd-1.1.0
===> Overriding tools for libbsd-0.12.1
===> Extracting for libbsd-0.12.1
===> Patching for libbsd-0.12.1
=> Applying pkgsrc patches for libbsd-0.12.1
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/libbsd/patches/patch-src_Makefile.am
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/libbsd/patches/patch-src_Makefile.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile.am,v 1.1 2022/12/19 16:05:43 vins Exp $
|
|Prevent the libbsd shared library from being overwitten.
|
|--- src/Makefile.am.orig	2022-01-29 14:23:40.000000000 +0000
|+++ src/Makefile.am
--------------------------
Patching file src/Makefile.am using Plan A...
Hunk #1 succeeded at 381 (offset 225 lines).
done
===> Creating toolchain wrappers for libbsd-0.12.1
===> Configuring for libbsd-0.12.1
set -e; cd /Users/pbulk/build/devel/libbsd/work/libbsd-0.12.1 && autoreconf -fiv
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /opt/pkg/bin/autoconf --force
autoreconf: running: /opt/pkg/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:30: installing 'build-aux/compile'
configure.ac:9: installing 'build-aux/missing'
src/Makefile.am: installing 'build-aux/depcomp'
autoreconf: Leaving directory '.'
=> 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... /usr/bin/install -c -o pbulk -g staff
checking whether build environment is sane... yes
checking for a race-free mkdir -p... mkdir -p
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 make supports the include directive... yes (GNU style)
checking for aarch64-apple-darwin23-gcc... clang
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 the compiler supports GNU C... yes
checking whether clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking whether clang understands -c and -o together... yes
checking dependency style of clang... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for clang option to enable large file support... none needed
checking size of time_t... 8
checking size of time_t... 8
./configure[5623]: test: 64: unexpected operator/operand
checking for aarch64-apple-darwin23-ar... no
checking for aarch64-apple-darwin23-lib... no
checking for aarch64-apple-darwin23-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... aarch64-apple-darwin23
checking host system type... aarch64-apple-darwin23
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/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 1048576
checking how to convert aarch64-apple-darwin23 file names to aarch64-apple-darwin23 format... func_convert_file_noop
checking how to convert aarch64-apple-darwin23 file names to toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for aarch64-apple-darwin23-file... no
checking for file... file
checking for aarch64-apple-darwin23-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-apple-darwin23-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for aarch64-apple-darwin23-ar... ar
checking for archiver @FILE support... no
checking for aarch64-apple-darwin23-strip... no
checking for strip... strip
checking for aarch64-apple-darwin23-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for aarch64-apple-darwin23-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for aarch64-apple-darwin23-dsymutil... no
checking for dsymutil... dsymutil
checking for aarch64-apple-darwin23-nmedit... no
checking for nmedit... nmedit
checking for aarch64-apple-darwin23-lipo... no
checking for lipo... lipo
checking for aarch64-apple-darwin23-otool... no
checking for otool... otool
checking for aarch64-apple-darwin23-otool64... no
checking for otool64... no
checking for -single_module linker flag... ld: warning: -single_module is obsolete
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin23 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking if ld supports --version-script flag... no
checking for aarch64-apple-darwin23-objdump... objdump
checking for aarch64-apple-darwin23-gcc... (cached) clang
checking whether the compiler supports GNU C... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to enable C11 features... (cached) none needed
checking whether clang understands -c and -o together... (cached) yes
checking dependency style of clang... (cached) gcc3
checking for a sed that does not truncate output... (cached) /opt/pkg/bin/nbsed
checking whether ln -s works... yes
checking for unif01_CreateExternGenBits in -ltestu01... no
checking for sys/ndir.h... no
checking for sys/dir.h... yes
checking for ndir.h... no
checking for dirent.h... yes
checking for pwd.h... yes
checking for grp.h... yes
checking for stdio_ext.h... no
checking for procinfo.h... no
checking for inline... inline
checking for typeof syntax and keyword spelling... typeof
checking for int64_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for uid_t... yes
checking for gid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for clang options needed to detect all undeclared functions... -fno-builtin
checking whether F_CLOSEM is declared... no
checking whether environ is declared... no
checking how to run the C preprocessor... clang -E
checking for GNU .init_array section support... no
checking for program_invocation_short_name... no
checking for __progname... yes
checking for __register_atfork... no
checking for vasprintf... yes
checking for asprintf... yes
checking for clearenv... no
checking for dirfd... yes
checking for flock... yes
checking for fopencookie... no
checking for __fpurge... no
checking for funopen... yes
checking for getauxval... no
checking for getentropy... yes
checking for getexecname... no
checking for getline... yes
checking for open_memstream... yes
checking for pstat_getproc... no
checking for sysconf... yes
checking for uid_from_user... no
checking for gid_from_group... no
checking for user_from_uid... yes
checking for group_from_gid... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating src/libbsd.pc
config.status: creating src/libbsd-ctor.pc
config.status: creating src/libbsd-overlay.pc
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp