+ 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=39 WRKLOG=/tmp/bulklog/py39-pysvn-1.9.20/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/py39-pysvn-1.9.20/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for pysvn-1.9.20.tar.gz
=> Checksum SHA512 OK for pysvn-1.9.20.tar.gz
===> Installing dependencies for py39-pysvn-1.9.20
==========================================================================
The following variables will affect the build process of this package,
py39-pysvn-1.9.20.  Their current value is shown below:

        * KRB5_DEFAULT = mit-krb5
        * PYTHON_VERSION_DEFAULT = 311
        * 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 = python39

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency subversion-base>=1.14.2nb8: found subversion-base-1.14.3
=> Full dependency expat>=2.0.0nb1: found expat-2.6.0
=> Full dependency neon>=0.32.5nb3: found neon-0.33.0
=> Full dependency python39>=3.9.18nb1: found python39-3.9.18nb4
===> Overriding tools for py39-pysvn-1.9.20
===> Extracting for py39-pysvn-1.9.20
===> Patching for py39-pysvn-1.9.20
=> Applying pkgsrc patches for py39-pysvn-1.9.20
=> 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 py39-pysvn-1.9.20
/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 py39-pysvn-1.9.20
=> Substituting "path" in setup_configure.py
=> Checking for portability problems in extracted files
Info: Configure for python 3.9.18 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.5/CXX/Version.hxx
Info: Found  PyCXX include in /home/pbulk/build/devel/py-pysvn/work/pysvn-1.9.20/Import/pycxx-7.1.5
Info: Checking for PyCXX Source in /home/pbulk/build/devel/py-pysvn/work/pysvn-1.9.20/Import/pycxx-7.1.5/Src/cxxsupport.cxx
Info: Found   PyCXX Source in /home/pbulk/build/devel/py-pysvn/work/pysvn-1.9.20/Import/pycxx-7.1.5/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 in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-pysvn
*** Error code 1

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