=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for hyperion-Release_4.7.tar.gz
=> Checksum SHA512 OK for hyperion-Release_4.7.tar.gz
===> Installing dependencies for hercules4sdl-4.7
=> 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 gawk>=3.1.1: found gawk-5.3.0
=> Tool dependency m4>=1.4: found m4-1.4.19nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gsed>=3.0.2: found gsed-4.9nb1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency perl>=5.0: found perl-5.38.2
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency hercules4sdl-crypto>=1.0.0: found hercules4sdl-crypto-1.0.0nb20220201
=> Build dependency hercules4sdl-decnumber>=3.68.0: found hercules4sdl-decnumber-3.68.0nb20220201
=> Build dependency hercules4sdl-softfloat>=3.5.0: found hercules4sdl-softfloat-3.5.0nb20220201
=> Build dependency hercules4sdl-telnet>=1.0.0: found hercules4sdl-telnet-1.0.0nb20220201
=> Full dependency user-darwin>=20130712: found user-darwin-20170116
=> Full dependency bzip2>=1.0.3: found bzip2-1.0.8
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency libltdl>=2.4.2: found libltdl-2.4.7
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
===> Overriding tools for hercules4sdl-4.7
===> Extracting for hercules4sdl-4.7
===> Patching for hercules4sdl-4.7
=> Applying pkgsrc patches for hercules4sdl-4.7
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/hercules4sdl/patches/patch-Makefile.am
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/hercules4sdl/patches/patch-Makefile.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.am,v 1.2 2021/12/19 19:08:20 rhialto Exp $
|
|- Build dynamic modules only dynamic (-shared), not also static.
|
|--- Makefile.am.orig	2021-12-18 14:28:12.000000000 +0000
|+++ Makefile.am
--------------------------
Patching file Makefile.am using Plan A...
Hunk #1 succeeded at 146 (offset 2 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/hercules4sdl/patches/patch-configure.ac
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/hercules4sdl/patches/patch-configure.ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.ac,v 1.2 2021/12/19 19:08:20 rhialto Exp $
|
|- Avoid -march=xxx because it makes binaries nonportable.
|- Fix suffix of helper libraries.
|
|--- configure.ac.orig	2021-12-18 14:28:12.000000000 +0000
|+++ configure.ac
--------------------------
Patching file configure.ac using Plan A...
Hunk #1 succeeded at 2892 (offset 39 lines).
Hunk #2 succeeded at 3114 (offset 39 lines).
done
===> Creating toolchain wrappers for hercules4sdl-4.7
===> Configuring for hercules4sdl-4.7
=> Correcting configuration path
cd /Users/pbulk/build/emulators/hercules4sdl/work/hyperion-Release_4.7 && ./autogen.sh
Note: if you do not see a 'All processing successfully completed.'
message when this script completes, then something went wrong and
you should examine the output to try and determine what it was that
went wrong.

aclocal...    OK.  (25% done)
autoheader... OK.  (50% done)
automake...   OK.  (75% done)
autoconf...   OK.  (100% done)

All processing successfully completed.

You may now run ./configure in order to create a custom Makefile
that is suitable for your platform and environment.
=> 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
=> Replacing bash interpreter in _dynamic_version.
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-libiconv-prefix
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/gawk
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... aarch64-apple-darwin22
checking host system type... aarch64-apple-darwin22
checking target system type... aarch64-apple-darwin22
checking whether make supports the include directive... yes (GNU style)
checking for aarch64-apple-darwin22-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 target CPU architecture ... aarch64 
checking target CPU bitness ... 64 
configure: Detected GCC equivalent level for clang : 15.0.0 
checking how to print strings... print -r
checking for a sed that does not truncate output... /opt/pkg/bin/gsed
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-darwin22 file names to aarch64-apple-darwin22 format... func_convert_file_noop
checking how to convert aarch64-apple-darwin22 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-darwin22-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-apple-darwin22-dlltool... dlltool
checking how to associate runtime and link libraries... print -r --
checking for aarch64-apple-darwin22-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for aarch64-apple-darwin22-strip... no
checking for strip... strip
checking for aarch64-apple-darwin22-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-darwin22-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for aarch64-apple-darwin22-dsymutil... no
checking for dsymutil... dsymutil
checking for aarch64-apple-darwin22-nmedit... no
checking for nmedit... nmedit
checking for aarch64-apple-darwin22-lipo... no
checking for lipo... lipo
checking for aarch64-apple-darwin22-otool... no
checking for otool... otool
checking for aarch64-apple-darwin22-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 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 stdatomic.h... yes
checking for sys/sysctl.h... yes
checking for assert.h... 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... darwin22 dyld
checking how to hardcode library paths into programs... immediate
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
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... no
checking for clang options needed to detect all undeclared functions... -fno-builtin
checking what extension is used for runtime loadable modules... .so
checking what variable specifies run-time module search path... DYLD_LIBRARY_PATH
checking for the default library search path... /usr/local/lib /lib /usr/lib
checking for library containing dlopen... none required
checking for dlerror... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... yes
checking whether we have to add an underscore for dlsym... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... yes
checking whether lt_dlinterface_register is declared... yes
checking for lt_dladvise_preload in -lltdl... yes
checking where to find libltdl headers... 
checking where to find libltdl library... -lltdl
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... yes
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... yes
checking for strlcpy... yes
configure: (use of lt_dlopen forced by Hercules Dynamic Loader requirement) 
checking for ctype.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for setjmp.h... yes
checking for stdarg.h... yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sched.h... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for sys/mman.h... yes
checking for pthread.h... yes
checking whether HQA_DIR is defined ... no 
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for net/if.h... yes
checking for net/route.h... yes
checking for net/tcp.h... no
checking for netinet/tcp.h... yes
checking for arpa/inet.h... yes
checking for linux/if_tun.h... no
checking for sys/ioctl.h... yes
checking for linux/ipv6.h... no
checking for net/if_var.h... yes
checking for netinet/in_var.h... yes
checking for netinet6/in6_var.h... yes
checking for sys/param.h... yes
checking for sys/mount.h... yes
checking for sys/mtio.h... no
checking for sys/resource.h... yes
checking for sys/uio.h... yes
checking for sys/utsname.h... yes
checking for sys/wait.h... yes
checking for sys/un.h... yes
checking for byteswap.h... no
checking for bzlib.h... yes
checking for dirent.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for fenv.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdbool.h... yes
checking for locale.h... yes
checking for ltdl.h... (cached) yes
checking for malloc.h... no
checking for math.h... yes
checking for netdb.h... yes
checking for pwd.h... yes
checking for regex.h... yes
checking for signal.h... yes
checking for termios.h... yes
checking for time.h... (cached) yes
checking for zlib.h... yes
checking for sys/capability.h... no
checking for sys/prctl.h... no
checking for sys/syscall.h... yes
checking for rexx.h... no
checking for oorexxapi.h... no
checking for regina/rexxsaa.h... no
checking for rexxsaa.h... no
checking whether SIGPIPE is declared... yes
checking whether SIGBUS is declared... yes
checking whether IFNAMSIZ is declared... no
checking whether LOGIN_NAME_MAX is declared... no
checking whether _SC_NPROCESSORS_CONF is declared... yes
checking whether _SC_NPROCESSORS_ONLN is declared... yes
checking whether SIOCSIFNETMASK is declared... no
checking whether SIOCSIFBRDADDR is declared... no
checking whether SIOCSIFHWADDR is declared... no
checking whether SIOCGIFHWADDR is declared... no
checking whether SIOCADDRT is declared... no
checking whether SIOCDELRT is declared... no
checking whether SIOCDIFADDR is declared... no
configure: Checking for TCP keepalive support... 
checking whether SO_KEEPALIVE is declared... yes
checking whether TCP_KEEPIDLE is declared... no
checking whether TCP_KEEPINTVL is declared... yes
checking whether TCP_KEEPCNT is declared... yes
configure: TCP keepalive support...  PARTIAL 
checking for __int128_t... yes
checking for u_int8_t... yes
checking for useconds_t... yes
checking for id_t... yes
checking for u_char... yes
checking for u_short... yes
checking for u_int... yes
checking for u_long... yes
checking for in_addr_t... yes
checking for socklen_t... yes
checking for _pipe          in -lmsvcrt... no
checking for dlopen         in -ldl... yes
checking for sqrt           in -lm... yes
checking for connect        in -lsocket... no
checking for gethostbyname  in -lnsl... no
checking for inet_aton      in -lresolv... yes
checking for uncompress in -lz... yes
checking for BZ2_bzBuffToBuffDecompress in -lbz2... yes
checking for sched_yield  in -lrt... no
checking for pthread_setname_np... yes
checking for pthread_rwlockattr_setpshared... yes
checking for memrchr... no
checking for getopt_long... yes
checking for sqrtl... yes
checking for ldexpl... yes
checking for fabsl... yes
checking for fmodl... yes
checking for frexpl... yes
checking for ldexpf... yes
checking for frexpf... yes
checking for fabsf... yes
checking for rint... yes
checking for strlcpy... (cached) yes
checking for strlcat... (cached) yes
checking for strerror_r... yes
checking for strsignal... yes
checking for sys_siglist... yes
checking for InitializeCriticalSectionAndSpinCount... no
checking for sleep... yes
checking for usleep... yes
checking for nanosleep... yes
checking for sched_yield... yes
checking for strtok_r... yes
checking for pipe... yes
checking for gettimeofday... yes
checking for getpgrp... yes
checking for scandir... yes
checking for alphasort... yes
checking for getlogin... yes
checking for getlogin_r... yes
checking for realpath... yes
checking for fdatasync... yes
checking for fsync... yes
checking for ftruncate... yes
checking for inet_aton... yes
checking for fork... yes
checking for socketpair... yes
checking for sysconf... yes
checking for mlock... yes
checking for mlockall... yes
checking for pvalloc... no
checking for valloc... yes
checking for posix_memalign... yes
checking for vsscanf... yes
checking for setresuid... no
checking for getresuid... no
checking for setreuid... yes
checking for geteuid... yes
checking for getuid... yes
checking whether fdatasync is supported... no
checking for struct sockaddr_in.sin_len... yes
checking for struct in_addr.s_addr... yes
checking for struct in6_ifreq.ifr6_addr... no
checking for struct in6_ifreq.ifr_ifru.ifru_flags... yes
checking for struct sigaction.sa_sigaction... yes
checking for struct timespec.tv_nsec... no
checking for struct timespec.tv_nsec... (cached) no
checking whether byte ordering is bigendian... no
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of size_t... 8
checking size of int *... 8
checking size of off_t... 8
checking size of pthread_t... 8
configure: begin check: whether byte structs are aligned/rounded by default... 
checking size of struct bytestruct... 1
configure: results: byte structs are aligned/rounded by default... no 
checking if this is the broken 2.96 version of GCC... no
checking if '_bswap' builtins are available... yes
checking if atomic '_sync' builtins are available... yes
checking if '__atomic' intrinsics are available... yes
checking if C11 atomics are available... yes
checking what 'ATOMIC_BOOL_LOCK_FREE's value is... 2
checking what 'ATOMIC_CHAR_LOCK_FREE's value is... 2
checking what 'ATOMIC_CHAR16_T_LOCK_FREE's value is... 2
checking what 'ATOMIC_CHAR32_T_LOCK_FREE's value is... 2
checking what 'ATOMIC_WCHAR_T_LOCK_FREE's value is... 2
checking what 'ATOMIC_SHORT_LOCK_FREE's value is... 2
checking what 'ATOMIC_INT_LOCK_FREE's value is... 2
checking what 'ATOMIC_LONG_LOCK_FREE's value is... 2
checking what 'ATOMIC_LLONG_LOCK_FREE's value is... 2
checking what 'ATOMIC_POINTER_LOCK_FREE's value is... 2
checking C99 struct flexible arrays support... yes
checking whether '__attribute__ ((format(printf,n,n)))' is supported... yes
checking whether '__attribute__ ((regparm(n)))' is supported... no
checking whether GCC supports diagnostic pragma... yes
checking whether GCC supports diagnostic push/pop pragma... yes
checking whether GCC issues 'function defined but not used' warnings... yes
checking whether GCC issues 'variable set but not used' warnings... yes
checking whether '__builtin_alloca' is broken... no
checking whether preprocessor macro argument counting broken... no
checking if this is GCC with broken '-O3' option... no
checking if 'pthread_setname_np' takes only name... yes
checking if 'pthread_setname_np' takes 3 arguments... no
checking for gcc strict aliasing insanity... no
checking whether '-traditional-cpp' is K&R C preprocessor... yes
checking whether byte-swapping can be done using assembler ... no 
checking whether 'optreset' needed for 'getopt' use... yes
checking for clang option to enable large file support... none needed
checking for off_t... yes
checking for declarations of fseeko and ftello... yes
configure: Using External Packages override directory /opt/pkg/lib/hercules4sdl 
configure: NOTICE: sizeof(__int128_t) >= 16; max CPU engines = 128 
checking whether getopt wrapper kludge is necessary... no
checking for what optimization flags to use ...  -g -g3 -ggdb3 -O3 
configure:                                           
configure:  Package destination directory prefixes:  
configure:                                           
configure:     Libraries:  $(libdir)/$(PACKAGE)             
configure:     Data:       $(datadir)/hercules      
configure:     Locale:     ${datarootdir}/locale              
configure:                                           
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating util/Makefile
config.status: creating html/Makefile
config.status: creating man/Makefile
config.status: creating m4/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure: WARNING: unrecognized options: --with-libiconv-prefix
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp