=> Checksum BLAKE2s OK for pygit2-1.16.0.tar.gz
=> Checksum SHA512 OK for pygit2-1.16.0.tar.gz
===> Installing dependencies for py310-pygit2-1.16.0
==========================================================================
The following variables will affect the build process of this package,
py310-pygit2-1.16.0.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 312

Based on these variables, the following variables have been set:

        * PYPACKAGE = python310

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency py310-setuptools-[0-9]*: found py310-setuptools-78.1.0
=> Tool dependency py310-build>=0: found py310-build-1.2.2.post1nb1
=> Tool dependency py310-installer>=0.7.0nb1: found py310-installer-0.7.0nb3
=> 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 py310-cffi>=1.16.0: found py310-cffi-1.17.1nb1
=> Full dependency libgit2>=1.8: found libgit2-1.8.4nb4
=> Full dependency python310>=3.10: found python310-3.10.17nb1
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency pcre2>=10.21: found pcre2-10.45
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for py310-pygit2-1.16.0
===> Extracting for py310-pygit2-1.16.0
===> Patching for py310-pygit2-1.16.0
=> Applying pkgsrc patches for py310-pygit2-1.16.0
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/devel/py-pygit2/patches/patch-build.sh
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/devel/py-pygit2/patches/patch-build.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-build.sh,v 1.2 2023/04/26 12:38:26 adam Exp $
|
|Fix unportable test(1) operator.
|
|--- build.sh.orig	2023-03-22 14:38:33.000000000 +0000
|+++ build.sh
--------------------------
Patching file build.sh using Plan A...
Hunk #1 succeeded at 266 (offset -3 lines).
done
===> Creating toolchain wrappers for py310-pygit2-1.16.0
===> Configuring for py310-pygit2-1.16.0