+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/qca2-ossl-2.2.1nb7/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/qca2-ossl-2.2.1nb7/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for qca-2.2.1.tar.xz
=> Checksum SHA512 OK for qca-2.2.1.tar.xz
===> Installing dependencies for qca2-ossl-2.2.1nb7
==========================================================================
The following variables will affect the build process of this package,
qca2-ossl-2.2.1nb7.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * 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:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

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 cmake>=3.18: found cmake-3.28.3
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Build dependency qt4-tools>=4.8.7nb12: found qt4-tools-4.8.7nb12
=> Full dependency qca2>=2.2.1nb7: found qca2-2.2.1nb7
=> Full dependency openssl>=3: found openssl-3.1.5
===> Overriding tools for qca2-ossl-2.2.1nb7
===> Extracting for qca2-ossl-2.2.1nb7
===> Patching for qca2-ossl-2.2.1nb7
=> Applying pkgsrc patches for qca2-ossl-2.2.1nb7
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/qca2-ossl/../../security/qca2/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/qca2-ossl/../../security/qca2/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.1 2018/01/31 09:14:55 markd Exp $
|
|Add mozilla-rootcerts certstore to list
|
|--- CMakeLists.txt.orig	2018-01-31 20:15:27.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 309 (offset 5 lines).
done
===> Creating toolchain wrappers for qca2-ossl-2.2.1nb7
===> Configuring for qca2-ossl-2.2.1nb7
=> Substituting "certs" in CMakeLists.txt
=> Use installed lib.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
CMake Warning (dev) at CMakeLists.txt:9 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
CMake Warning (dev) at /opt/pkg/share/cmake-3.28/Modules/Platform/SunOS.cmake:34 (include):
  File /opt/pkg/share/cmake-3.28/Modules/Platform/SunOS.cmake includes
  /home/pbulk/build/security/qca2-ossl/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /opt/pkg/share/cmake-3.28/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /opt/pkg/share/cmake-3.28/Modules/CMakeSystemSpecificInformation.cmake:32 (include)
  CMakeLists.txt:9 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/security/qca2-ossl/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/security/qca2-ossl/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:11 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at CMakeLists.txt:18 (cmake_policy):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /opt/pkg/qt4/bin/qmake (found suitable version "4.8.7", minimum required is "4.7.0") 
-- Installed package is NOT relocatable
-- Checking for certstore..
-- Found system certstore
-- certstore path: /opt/pkg/share/mozilla-rootcerts/cacert.pem
-- Looking for include file sys/filio.h
-- Looking for include file sys/filio.h - found
-- Performing Test MLOCK_TAKES_VOID
-- Performing Test MLOCK_TAKES_VOID - Success
-- Found OpenSSL: /home/pbulk/build/security/qca2-ossl/work/.buildlink/lib/libcrypto.so (found version "3.1.5")  
-- Looking for EVP_md2
-- Looking for EVP_md2 - not found
CMake Warning at plugins/qca-ossl/CMakeLists.txt:18 (message):
  qca-ossl will be compiled without MD2 digest algorithm support


-- Looking for EVP_aes_128_ctr
-- Looking for EVP_aes_128_ctr - found
-- Looking for EVP_aes_128_gcm
-- Looking for EVP_aes_128_gcm - found
-- Looking for EVP_aes_128_ccm
-- Looking for EVP_aes_128_ccm - found
-- Looking for EVP_sha
-- Looking for EVP_sha - not found
CMake Warning at plugins/qca-ossl/CMakeLists.txt:46 (message):
  qca-ossl will be compiled without SHA-0 digest algorithm support



Plugins:
  qca-botan off
  qca-cyrus-sasl off
  qca-gcrypt off
  qca-gnupg off
  qca-logger off
  qca-nss off
  qca-ossl on
  qca-pkcs11 off
  qca-softstore off


!!!!!!!!!!!!!!!!!!!!!ATTENTION!!!!!!!!!!!!!!!!!!!!!!
!! QCA will be installed in Qt prefix             !!
!! If you want to install in /usr/local           !!
!! you MUST explicity define CMAKE_INSTALL_PREFIX !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


QCA prefix is /opt/pkg/qt4
Plugins will be installed to /opt/pkg/qt4/plugins
Binary will be installed to /opt/pkg/qt4/bin
Library will be installed to /opt/pkg/qt4/lib
Public headers will be installed to /opt/pkg/qt4/include
Private headers will be installed to /opt/pkg/qt4/include
Feature file will be installed to /opt/pkg/qt4/mkspecs/features
Documentation will be installed to /opt/pkg/qt4/doc/html/qca
Man page will be installed to /opt/pkg/qt4/man
Pkg-config file will be installed to /opt/pkg/qt4/lib/pkgconfig

-- Configuring done (21.5s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /home/pbulk/build/security/qca2-ossl/work/qca-2.2.1
=> Rewrite cmake Dependencies files