+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 PKG_APACHE=apache24 WRKLOG=/tmp/bulklog/ap24-py311-python-3.5.0.1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 PKG_APACHE=apache24 WRKLOG=/tmp/bulklog/ap24-py311-python-3.5.0.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for mod_python-3.5.0.1.tar.gz
=> Checksum SHA512 OK for mod_python-3.5.0.1.tar.gz
===> Installing dependencies for ap24-py311-python-3.5.0.1
==========================================================================
The following variables will affect the build process of this package,
ap24-py311-python-3.5.0.1.  Their current value is shown below:

        * BDB185_DEFAULT = db4
        * BDB_DEFAULT = db4
        * PKG_APACHE_DEFAULT = apache24
        * PYTHON_VERSION_DEFAULT = 312
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

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

        * APACHE_PKG_PREFIX = ap24
        * BDBBASE (defined, but empty)
        * BDB_LIBS = -ldb4
        * BDB_TYPE = db4
        * PKG_APACHE = apache24
        * PYPACKAGE = python311

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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency py311-setuptools-[0-9]*: found py311-setuptools-75.6.0
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency perl>=5.0: found perl-5.40.0nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency apache>=2.4.58nb1<2.5: found apache-2.4.62nb3
=> Full dependency python311>=3.11.0: found python311-3.11.10nb3
=> 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 cyrus-sasl>=2.1.12: found cyrus-sasl-2.1.28nb1
=> Full dependency db4>=4.8.30: found db4-4.8.30nb1
=> Full dependency expat>=1.95.7: found expat-2.6.3
=> Full dependency libuuid>=2.18: found libuuid-2.32.1nb2
=> Full dependency openldap-client>=2.4.6: found openldap-client-2.6.9
=> Full dependency openssl>=1.1.1: found openssl-3.3.2
===> Overriding tools for ap24-py311-python-3.5.0.1
===> Extracting for ap24-py311-python-3.5.0.1
===> Patching for ap24-py311-python-3.5.0.1
=> Applying pkgsrc patches for ap24-py311-python-3.5.0.1
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/www/ap2-python/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/www/ap2-python/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.2 2014/07/20 12:39:48 obache Exp $
|
|* Set RPATH if supported.
|
|--- configure.orig	2013-11-12 03:21:34.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 3225 (offset -162 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/www/ap2-python/patches/patch-configure.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/www/ap2-python/patches/patch-configure.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.in,v 1.2 2014/07/20 12:39:48 obache Exp $
|
|* Set RPATH if supported.
|
|--- configure.in.orig	2013-11-12 03:21:34.000000000 +0000
|+++ configure.in
--------------------------
Patching file configure.in using Plan A...
Hunk #1 succeeded at 208 (offset -2 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/www/ap2-python/patches/patch-dist_version.sh
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/www/ap2-python/patches/patch-dist_version.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-dist_version.sh,v 1.2 2023/08/28 09:47:46 gdt Exp $
|
|Don't depend on 'git'.
|
|--- dist/version.sh.orig	2023-08-18 17:28:08.000000000 +0000
|+++ dist/version.sh
--------------------------
Patching file dist/version.sh using Plan A...
Hunk #1 succeeded at 6.
Hunk #2 succeeded at 20.
done
===> Creating toolchain wrappers for ap24-py311-python-3.5.0.1
/bin/mkdir -p /home/pbulk/build/www/ap2-python/work/.buildlink/bin && /bin/ln -fs ../sbin/apxs /home/pbulk/build/www/ap2-python/work/.buildlink/bin/apxs
/bin/mkdir -p /home/pbulk/build/www/ap2-python/work/.buildlink/bin && /bin/ln -fs apr-1-config /home/pbulk/build/www/ap2-python/work/.buildlink/bin/apr-config
/bin/mkdir -p /home/pbulk/build/www/ap2-python/work/.buildlink/bin && /bin/ln -fs apu-1-config /home/pbulk/build/www/ap2-python/work/.buildlink/bin/apu-config
===> Configuring for ap24-py311-python-3.5.0.1
=> Adjust optimization
=> 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
checking for x86_64-redhat-linux-gcc... cc
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 we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for ar... ar
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether make sets $(MAKE)... yes
checking for main in -lm... yes
checking for an ANSI C-conforming const... yes
checking your blood pressure... a bit high, but we can proceed
configure: checking whether apxs is available...
checking Apache version... 2.4.62
checking for Apache libexec directory... /usr/pkg/lib/httpd
checking for Apache include directory... -I/usr/pkg/include/httpd
checking for --with-python... /usr/pkg/bin/python3.11
checking Python version... 3.11
checking for --with-mutex-dir... no
Using MUTEX_DIR /tmp
checking for --with-max-locks... no
Using 8 MAX_LOCKS.
checking for --with-flex... no
checking for flex... no
configure: WARNING: flex  not found
  You can generally ignore this warning unless you need to regenerate
  psp_parser.c from psp_parse.l.  If you do need regenerate psp_parser.c,
  use --with-flex to specify the location of flex.
  See the README for more information.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating Doc/Makefile
config.status: creating src/include/mod_python.h
config.status: creating test/Makefile
config.status: creating dist/setup.py
config.status: creating dist/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/mod_python
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp