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

        * 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:

        * 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 cmake>=0: found cmake-3.31.3
=> 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 openssl>=3: found openssl-3.4.0
===> Overriding tools for liboqs-0.12.0
===> Extracting for liboqs-0.12.0
===> Patching for liboqs-0.12.0
=> Applying pkgsrc patches for liboqs-0.12.0
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/security/liboqs/patches/patch-common.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/security/liboqs/patches/patch-common.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-common.c,v 1.1 2024/09/13 18:02:45 jschauma Exp $
|
|From https://github.com/open-quantum-safe/liboqs/pull/1876
|
|--- src/common/common.c.orig	2024-06-07 14:38:26.000000000 +0000
|+++ src/common/common.c	2024-09-10 04:14:27.028014167 +0000
--------------------------
Patching file src/common/common.c using Plan A...
Hunk #1 succeeded at 141.
done
===> Creating toolchain wrappers for liboqs-0.12.0
===> Configuring for liboqs-0.12.0
=> Replacing bash interpreter in tests/run_astyle.sh tests/test_spdx.sh tests/test_vectors.sh.
INFO: [replace-interpreter] Nothing changed in tests/run_astyle.sh.
INFO: [replace-interpreter] Nothing changed in tests/test_spdx.sh.
INFO: [replace-interpreter] Nothing changed in tests/test_vectors.sh.
-- The C compiler identification is GNU 8.5.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/pbulk/build/security/liboqs/work/.cwrapper/bin/cc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/security/liboqs/work/.cwrapper/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CC_SUPPORTS_WA_NOEXECSTACK
-- Performing Test CC_SUPPORTS_WA_NOEXECSTACK - Success
-- Performing Test LD_SUPPORTS_WL_Z_NOEXECSTACK
-- Performing Test LD_SUPPORTS_WL_Z_NOEXECSTACK - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Alg enablement unchanged
-- Found OpenSSL: /usr/pkg/lib/libcrypto.so (found suitable version "3.4.0", minimum required is "1.1.1")
-- Looking for aligned_alloc
-- Looking for aligned_alloc - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for memalign
-- Looking for memalign - found
-- Looking for explicit_bzero
-- Looking for explicit_bzero - found
-- Looking for explicit_memset
-- Looking for explicit_memset - not found
-- Looking for memset_s
-- Looking for memset_s - not found
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Configuring done (2.4s)
-- Generating done (1.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    FETCHCONTENT_FULLY_DISCONNECTED
    PYTHON_EXECUTABLE
    PYTHON_INCLUDE_DIR
    PYTHON_INCLUDE_PATH
    PYVERSSUFFIX
    Python3_EXECUTABLE
    Python3_INCLUDE_DIR
    Python_EXECUTABLE
    Python_INCLUDE_DIR


-- Build files have been written to: /home/pbulk/build/security/liboqs/work/liboqs-0.12.0/cmake-pkgsrc-build