+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/py310-pysvn-1.9.22nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/py310-pysvn-1.9.22nb3/work.log
=> Checksum BLAKE2s OK for pysvn-1.9.22.tar.gz
=> Checksum SHA512 OK for pysvn-1.9.22.tar.gz
===> Installing dependencies for py310-pysvn-1.9.22nb3
==========================================================================
The following variables will affect the build process of this package,
py310-pysvn-1.9.22nb3.  Their current value is shown below:

        * KRB5_DEFAULT = mit-krb5
        * PYTHON_VERSION_DEFAULT = 312
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

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

        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = mit-krb5
        * 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 cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency expat>=2.0.0nb1: found expat-2.6.3
=> Full dependency mit-krb5>=1.18.4nb1: found mit-krb5-1.21.3nb1
=> Full dependency neon>=0.33.0nb5: found neon-0.33.0nb5
=> Full dependency python310>=3.10.13nb1: found python310-3.10.16
=> Full dependency subversion-base>=1.14.4nb3: found subversion-base-1.14.4nb3
=> Full dependency apr>=1.5.0: found apr-1.7.5
=> Full dependency apr-util>=1.2.8: found apr-util-1.6.3nb7
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency gmp>=6.0: found gmp-6.3.0
=> Full dependency gnutls>=3.3.0: found gnutls-3.8.8nb2
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency libtasn1>=0.2.7: found libtasn1-4.19.0
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency lz4>=1.7.3<100: found lz4-1.10.0
=> Full dependency nettle>=3.4.1: found nettle-3.10
=> Full dependency openssl>=1.1.1: found openssl-3.4.0
=> Full dependency p11-kit>=0.23: found p11-kit-0.25.5
=> Full dependency serf>=1.1.1: found serf-1.3.10nb2
=> Full dependency sqlite3>=3.7.15.1: found sqlite3-3.47.2nb1
=> Full dependency utf8proc>=2.1.1: found utf8proc-2.9.0
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for py310-pysvn-1.9.22nb3
===> Extracting for py310-pysvn-1.9.22nb3
===> Patching for py310-pysvn-1.9.22nb3
=> Applying pkgsrc patches for py310-pysvn-1.9.22nb3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-pysvn/patches/patch-setup__configure.py
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-pysvn/patches/patch-setup__configure.py
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-setup__configure.py,v 1.1 2021/09/30 16:15:10 hauke Exp $
|
|Add support for NetBSD toolchain.
|
|--- setup_configure.py.orig	2021-09-29 20:38:06.063225727 +0000
|+++ setup_configure.py
--------------------------
Patching file setup_configure.py using Plan A...
Hunk #1 succeeded at 182 (offset -2 lines).
Hunk #2 succeeded at 215 (offset -2 lines).
Hunk #3 succeeded at 1353 (offset -2 lines).
done
===> Creating toolchain wrappers for py310-pysvn-1.9.22nb3
/usr/bin/mkdir -p /home/pbulk/build/devel/py-pysvn/work/.buildlink/bin && /usr/bin/ln -fs apr-1-config /home/pbulk/build/devel/py-pysvn/work/.buildlink/bin/apr-config
/usr/bin/mkdir -p /home/pbulk/build/devel/py-pysvn/work/.buildlink/bin && /usr/bin/ln -fs apu-1-config /home/pbulk/build/devel/py-pysvn/work/.buildlink/bin/apu-config
===> Configuring for py310-pysvn-1.9.22nb3
=> Substituting "path" in setup_configure.py
=> Checking for portability problems in extracted files
Info: Configure for python 3.10.16 in exec_prefix /opt/pkg
Info: Using C compiler gcc
Info: Using C++ compiler g++
Info: Checking for PyCXX include in ../Import/pycxx-7.1.9/CXX/Version.hxx
Info: Found  PyCXX include in /home/pbulk/build/devel/py-pysvn/work/pysvn-1.9.22/Import/pycxx-7.1.9
Info: Checking for PyCXX Source in /home/pbulk/build/devel/py-pysvn/work/pysvn-1.9.22/Import/pycxx-7.1.9/Src/cxxsupport.cxx
Info: Found   PyCXX Source in /home/pbulk/build/devel/py-pysvn/work/pysvn-1.9.22/Import/pycxx-7.1.9/Src
Info: Checking for SVN include in /usr/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/local/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/pkg/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/local/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/pkg/include/subversion-1/svn_client.h
Error: Cannot find SVN include svn_client.h - use --svn-inc-dir
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-pysvn
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-pysvn