+ 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=312 WRKLOG=/tmp/bulklog/unit-python3.12-1.32.1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/unit-python3.12-1.32.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for unit-1.32.1.tar.gz
=> Checksum SHA512 OK for unit-1.32.1.tar.gz
===> Installing dependencies for unit-python3.12-1.32.1
==========================================================================
The supported build options for unit-python3.12 are:

	debug inet6 njs pcre pcre2 ssl

The currently selected options are:

	inet6 pcre2 ssl

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.unit (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
unit-python3.12-1.32.1.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 311
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private
        * UNIT_DATADIR = /var/db/unit
        * UNIT_LOGDIR = /var/log/unit
        * UNIT_PIDDIR = /var/run
        * VARBASE = /var

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

        * PYPACKAGE = python312

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 mktools-[0-9]*: found mktools-20220614
=> 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 python312>=3.12: found python312-3.12.4
=> Full dependency pcre2>=10.30: found pcre2-10.44
=> Full dependency openssl>=3: found openssl-3.3.1
===> Overriding tools for unit-python3.12-1.32.1
===> Extracting for unit-python3.12-1.32.1
===> Patching for unit-python3.12-1.32.1
=> Applying pkgsrc patches for unit-python3.12-1.32.1
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-auto_events
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-auto_events
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-auto_events,v 1.3 2022/12/17 17:51:45 gutteridge Exp $
|
|Prefer eventports on SunOS
|
|--- auto/events.orig	2022-12-16 22:55:06.825345785 -0500
|+++ auto/events
--------------------------
Patching file auto/events using Plan A...
Hunk #1 succeeded at 5.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-auto_os_conf
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-auto_os_conf
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-auto_os_conf,v 1.1 2021/02/14 11:56:57 otis Exp $
|
|Move _XOPEN_SOURCE to CFLAGS
|
|--- auto/os/conf.orig	2020-11-19 18:12:30.000000000 +0000
|+++ auto/os/conf
--------------------------
Patching file auto/os/conf using Plan A...
Hunk #1 succeeded at 98.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-auto_shmem
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-auto_shmem
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-auto_shmem,v 1.1 2021/12/13 23:10:22 gutteridge Exp $
|
|Fix sandboxed builds on NetBSD, where /var/shm typically doesn't exist.
|
|--- auto/shmem.orig	2021-12-02 15:23:00.000000000 +0000
|+++ auto/shmem
--------------------------
Patching file auto/shmem using Plan A...
Hunk #1 succeeded at 9.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-src_nxt__http__js.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-src_nxt__http__js.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__http__js.c,v 1.1 2024/06/27 16:03:25 osa Exp $
|
|Fix build with the recent version of NGINX JavaScript
|
|--- src/nxt_http_js.c.orig	2024-06-26 22:04:35 UTC
|+++ src/nxt_http_js.c
--------------------------
Patching file src/nxt_http_js.c using Plan A...
Hunk #1 succeeded at 120.
Hunk #2 succeeded at 136.
Hunk #3 succeeded at 152.
Hunk #4 succeeded at 214.
Hunk #5 succeeded at 250.
Hunk #6 succeeded at 296.
Hunk #7 succeeded at 340.
Hunk #8 succeeded at 380.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-src_nxt__js.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-src_nxt__js.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__js.c,v 1.3 2024/05/07 13:49:33 osa Exp $
|
|Fix build with the recent version of NGINX JavaScript
|
|--- src/nxt_js.c.orig	2023-10-17 14:15:38 UTC
|+++ src/nxt_js.c
--------------------------
Patching file src/nxt_js.c using Plan A...
Hunk #1 succeeded at 69.
Hunk #2 succeeded at 119.
Hunk #3 succeeded at 139.
Hunk #4 succeeded at 195.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-src_nxt__kqueue__engine.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-src_nxt__kqueue__engine.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__kqueue__engine.c,v 1.1 2021/02/14 11:56:57 otis Exp $
|
|Use correct types on NetBSD-CURRENT.
|
|This patch is going to be reviewed by the vendor.
|
|--- src/nxt_kqueue_engine.c.orig	2021-02-04 15:22:33.000000000 +0000
|+++ src/nxt_kqueue_engine.c
--------------------------
Patching file src/nxt_kqueue_engine.c using Plan A...
Hunk #1 succeeded at 39.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-src_nxt__php__sapi.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-src_nxt__php__sapi.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__php__sapi.c,v 1.1 2021/02/14 11:56:57 otis Exp $
|
|Use correct type.
|
|--- src/nxt_php_sapi.c.orig	2021-02-04 15:22:33.000000000 +0000
|+++ src/nxt_php_sapi.c
--------------------------
Patching file src/nxt_php_sapi.c using Plan A...
Hunk #1 succeeded at 1362 (offset 171 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-src_nxt__script.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-src_nxt__script.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__script.c,v 1.2 2024/06/27 16:03:25 osa Exp $
|
|Fix build with the recent versions of NGINX JavaScript
|
|--- src/nxt_script.c.orig	2024-03-21 13:47:41.000000000 +0000
|+++ src/nxt_script.c
--------------------------
Patching file src/nxt_script.c using Plan A...
Hunk #1 succeeded at 37.
Hunk #2 succeeded at 55.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-src_nxt__unix.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-src_nxt__unix.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__unix.h,v 1.1 2021/02/14 11:56:57 otis Exp $
|
|Move _XOPEN_SOURCE to CFLAGS
|
|--- src/nxt_unix.h.orig	2020-11-19 18:12:30.000000000 +0000
|+++ src/nxt_unix.h
--------------------------
Patching file src/nxt_unix.h using Plan A...
Hunk #1 succeeded at 71.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-src_nxt__websocket__header.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python/../../www/unit/patches/patch-src_nxt__websocket__header.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__websocket__header.h,v 1.1 2021/02/14 11:56:57 otis Exp $
|
|Include endian.h for endianness test to work.
|
|--- src/nxt_websocket_header.h.orig	2020-10-08 16:04:40.000000000 +0000
|+++ src/nxt_websocket_header.h
--------------------------
Patching file src/nxt_websocket_header.h using Plan A...
Hunk #1 succeeded at 6.
done
===> Creating toolchain wrappers for unit-python3.12-1.32.1
===> Configuring for unit-python3.12-1.32.1
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
configuring Unit 1.32.1 for Linux 3.10.0-1160.114.2.el7.x86_64 x86_64
checking for C compiler: cc
 + using GNU C compiler
 + gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) 
building an "echo" program
checking for endianness ... little endian
checking for int size ... 4
checking for long size ... 8
checking for long long size ... 8
checking for void * size ... 8
checking for size_t size ... 8
checking for off_t size ... 8
checking for time_t size ... 8
checking for C99 variadic macro ... found
checking for GCC __builtin_expect() ... found
checking for GCC __builtin_unreachable() ... found
checking for GCC __builtin_prefetch() ... found
checking for GCC __builtin_clz() ... found
checking for GCC __builtin_popcount() ... found
checking for GCC __attribute__ visibility ... found
checking for GCC __attribute__ aligned ... found
checking for GCC __attribute__ malloc ... found
checking for GCC __attribute__ packed ... found
checking for GCC __attribute__ unused ... found
checking for GCC builtin atomic operations ... found
checking for posix_memalign() ... found
checking for Linux malloc_usable_size() ... found
checking for alloca() ... found
checking for Linux mallopt() ... found
checking for MAP_ANON ... found
checking for MAP_POPULATE ... found
checking for MAP_PREFAULT_READ ... not found
checking for shm_open() ... not found
checking for shm_open() in librt ... found
checking for shm_open(SHM_ANON) ... not found
checking for memfd_create() ... found
checking for Linux clock_gettime(CLOCK_REALTIME_COARSE) ... found
checking for FreeBSD clock_gettime(CLOCK_REALTIME_FAST) ... not found
checking for clock_gettime(CLOCK_REALTIME) ... found
checking for Linux clock_gettime(CLOCK_MONOTONIC_COARSE) ... found
checking for FreeBSD clock_gettime(CLOCK_MONOTONIC_FAST) ... not found
checking for clock_gettime(CLOCK_MONOTONIC) ... found
checking for HP-UX hg_gethrtime() ... not found
checking for struct tm.tm_gmtoff ... found
checking for altzone ... not found
checking for localtime_r() ... found
checking for pthread_yield() ... found
checking for pthread spinlock ... found
checking for pthread spinlock zero initial value ... found but is not working
checking for sem_timedwait() ... not found
checking for sem_timedwait() in libpthread ... found
checking for __thread ... found
checking for Linux epoll ... found
checking for Linux signalfd() ... found
checking for Linux eventfd() ... found
checking for kqueue ... not found
checking for Solaris event port ... not found
checking for /dev/poll ... not found
checking for AIX pollset ... not found
checking for AF_INET6 ... found
checking for sockaddr.sa_len ... not found
checking for struct sockaddr size ... 16
checking for struct sockaddr_in size ... 16
checking for struct sockaddr_in6 size ... 28
checking for struct sockaddr_un size ... 110
checking for struct sockaddr_storage size ... 128
checking for socketpair(AF_UNIX, SOCK_SEQPACKET) ... found
checking for struct msghdr.msg_control ... found
checking for sockopt SO_PASSCRED ... found
checking for struct ucred ... found
checking for struct cmsgcred ... not found
checking for sys/filio.h ... not found
checking for ioctl(FIONBIO) ... found
checking for socket(SOCK_NONBLOCK) ... found
checking for accept4() ... found
checking for Linux sendfile() ... found
checking for posix_fadvise() ... found
checking for fcntl(F_READAHEAD) ... not found
checking for fcntl(F_RDAHEAD) ... not found
checking for openat2() ... not found
checking for getrandom() ... not found
checking for SYS_getrandom in Linux ... found
checking for ucontext ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for setproctitle() ... not found
checking for getgrouplist() ... found
checking for OpenSSL library ... found
checking for OpenSSL version ... "OpenSSL 3.3.1 4 Jun 2024"
checking for OpenSSL SSL_CONF_cmd() ... found
checking for OpenSSL tlsext support ... found
checking for PCRE2 library ... found
 + PCRE2 version: 10.44
checking for Linux unshare() ... found
checking for CLONE_NEWUSER ... found
checking for CLONE_NEWNS ... found
checking for CLONE_NEWPID ... found
checking for CLONE_NEWNET ... found
checking for CLONE_NEWUTS ... found
checking for CLONE_NEWCGROUP ... not found
checking for Linux pivot_root() ... found
checking for <mntent.h> ... found
checking for prctl(PR_SET_NO_NEW_PRIVS) ... found
checking for prctl(PR_SET_CHILD_SUBREAPER) ... found
checking for Linux mount() ... found
checking for Linux umount2() ... found
checking for Linux capability ... found
creating build/Makefile

Unit configuration summary:

  bin directory: ............. "/usr/pkg/bin"
  sbin directory: ............ "/usr/pkg/sbin"
  lib directory: ............. "/usr/pkg/lib"
  include directory: ......... "/usr/pkg/include"
  pkgconfig directory: ....... "/usr/pkg/share/pkgconfig"
  man pages directory: ....... "/usr/pkg/man"
  modules directory: ......... "/usr/pkg/libexec/unit/modules"
  state directory: ........... "/var/db/unit"
  tmp directory: ............. "/var/tmp"

  pid file: .................. "/var/run/unit.pid"
  log file: .................. "/var/log/unit/unit.log"

  control API socket: ........ "unix:/var/run/unit/control.unit.sock"

  non-privileged user: ....... "unit"
  non-privileged group: ...... "unit"

  IPv6 support: .............. YES
  Unix domain sockets support: YES
  TLS support: ............... YES
  Regex support: ............. YES
  NJS support: ............... NO

  process isolation: ......... USER NS PID NET UTS
  cgroupv2: .................. NO

  debug logging: ............. NO

configuring Python module
checking for Python ... not found

./configure: error: no Python found.

*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/unit-python