=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for unac-1.7.0.tar.gz
=> Checksum SHA512 OK for unac-1.7.0.tar.gz
===> Installing dependencies for unac-1.7.0
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
===> Overriding tools for unac-1.7.0
===> Extracting for unac-1.7.0
===> Patching for unac-1.7.0
=> Applying pkgsrc patches for unac-1.7.0
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/unac/patches/patch-aa
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/unac/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.1.1.1 2009/07/27 13:46:57 drochner Exp $
|
|--- Makefile.in.orig	2002-09-02 12:51:42.000000000 +0200
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 188.
done
===> Creating toolchain wrappers for unac-1.7.0
===> Configuring for unac-1.7.0
=> 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 gawk... /opt/pkg/bin/nawk
checking whether make sets ${MAKE}... yes
checking whether make sets ${MAKE}... (cached) yes
checking for aarch64-apple-darwin22-gcc... clang
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of clang... gcc3
checking how to run the C preprocessor... clang -E
checking for AIX... no
checking maximum warning verbosity option...  for C++ -Wall -Wmissing-declarations -Wmissing-prototypes for C
checking build system type... aarch64-apple-darwin22
checking host system type... aarch64-apple-darwin22
checking for ld used by GCC... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /opt/pkg/bin/nbsed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic Mach-O dynamically linked shared library
checking command to parse nm output... ok
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for aarch64-apple-darwin22-ranlib... no
checking for ranlib... ranlib
checking for aarch64-apple-darwin22-strip... no
checking for strip... strip
checking for objdir... .libs
checking for clang option to produce PIC... -fno-common
checking if clang PIC flag -fno-common works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.lo... yes
checking if clang supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin22 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for perl... /Users/pbulk/build/textproc/unac/work/.tools/bin/perl
checking for sh... /Users/pbulk/build/textproc/unac/work/.tools/bin/sh
checking whether to enable maintainer-specific portions of Makefiles... no
checking for ld used by GCC... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... /opt/pkg/bin/mksh: ./config.rpath: No such file or directory
done
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for iconv_open... no
configure: error:
iconv_open not found try to install replacement from
http://www.gnu.org/software/libiconv/
ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.8.tar.gz
*** Error code 1

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/unac
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/unac