=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for mold-2.2.0.tar.gz
=> Checksum SHA512 OK for mold-2.2.0.tar.gz
===> Installing dependencies for mold-2.2.0
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.27.6
=> 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 zstd>=1.3.6: found zstd-1.5.5
=> Full dependency mimalloc>=2.0.2: found mimalloc-2.0.9
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency threadingbuildingblocks>=2020.3: found threadingbuildingblocks-2021.5.0
===> Overriding tools for mold-2.2.0
===> Extracting for mold-2.2.0
===> Patching for mold-2.2.0
=> Applying pkgsrc patches for mold-2.2.0
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/devel/mold/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/devel/mold/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.4 2023/09/28 14:47:59 fcambus Exp $
|
|Disable precompiled headers.
|
|cc1plus: warning: cmake_pch.hxx.gch: had text segment at different address
|
|--- CMakeLists.txt.orig	2023-09-24 03:28:19.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 402.
done
===> Creating toolchain wrappers for mold-2.2.0
===> Configuring for mold-2.2.0
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
-- The C compiler identification is AppleClang 15.0.0.15000040
-- The CXX compiler identification is AppleClang 15.0.0.15000040
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/pbulk/build/devel/mold/work/.cwrapper/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/pbulk/build/devel/mold/work/.cwrapper/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The ASM compiler identification is AppleClang
-- Found assembler: /Users/pbulk/build/devel/mold/work/.cwrapper/bin/clang
-- 
 * NEON SIMD intrinsics, The library uses NEON SIMD intrinsics.

-- Looking for zstd.h
-- Looking for zstd.h - found
-- Performing Test P32
-- Performing Test P32 - Failed
-- Looking for pow in m
-- Looking for pow in m - found
-- Performing Test HAVE_FULL_ATOMIC_SUPPORT
-- Performing Test HAVE_FULL_ATOMIC_SUPPORT - Success
-- Configuring done (4.1s)
-- Generating done (0.1s)
-- Build files have been written to: /Users/pbulk/build/devel/mold/work/mold-2.2.0
=> Rewrite cmake Dependencies files
=> Substituting "alloca" in elf/mold-wrapper.c