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

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

        * 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
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency cmake>=0: found cmake-3.31.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency openssl>=3: found openssl-3.3.2
===> Overriding tools for liboqs-0.11.0
===> Extracting for liboqs-0.11.0
===> Patching for liboqs-0.11.0
=> Applying pkgsrc patches for liboqs-0.11.0
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/liboqs/patches/patch-common.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 139 (offset -2 lines).
done
===> Creating toolchain wrappers for liboqs-0.11.0
===> Configuring for liboqs-0.11.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.
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 13.3.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/pbulk/build/security/liboqs/work/.cwrapper/bin/gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/security/liboqs/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning at CMakeLists.txt:111 (message):
  Unknown or unsupported processor: i386


CMake Warning at CMakeLists.txt:112 (message):
  Compilation on an unsupported processor should only be used for testing, as
  it may result an insecure configuration, for example due to variable-time
  instructions leaking secret information.


-- 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 - Failed
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Alg enablement unchanged
-- Found OpenSSL: /opt/pkg/lib/libcrypto.so (found suitable version "3.3.2", 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 - not 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 (15.6s)
-- Generating done (1.5s)
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.11.0/cmake-pkgsrc-build