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

	libgcrypt openssl

The currently selected options are:

	openssl

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

	PKG_OPTIONS.ccrtp (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
ccrtp-2.1.2nb12.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

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>=2.8.1nb1: found cmake-3.23.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency openssl>=1.1.1dnb2: found openssl-1.1.1o
=> Full dependency ucommon>=7.0.0nb7: found ucommon-7.0.0nb8
===> Overriding tools for ccrtp-2.1.2nb12
===> Extracting for ccrtp-2.1.2nb12
===> Patching for ccrtp-2.1.2nb12
=> Applying pkgsrc patches for ccrtp-2.1.2nb12
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ccrtp/patches/patch-doc_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ccrtp/patches/patch-doc_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-doc_CMakeLists.txt,v 1.1 2017/08/19 00:27:44 jlam Exp $
|
|--- doc/CMakeLists.txt.orig	2015-01-11 14:43:52.000000000 +0000
|+++ doc/CMakeLists.txt
--------------------------
Patching file doc/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ccrtp/patches/patch-src_ccrtp_crypto_gcrypt_InitializeGcrypt.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ccrtp/patches/patch-src_ccrtp_crypto_gcrypt_InitializeGcrypt.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_ccrtp_crypto_gcrypt_InitializeGcrypt.cpp,v 1.2 2015/04/18 03:11:47 rodent Exp $
|
|Fix build with newer libgcrypt.
|
|--- src/ccrtp/crypto/gcrypt/InitializeGcrypt.cpp.orig	2012-06-18 15:19:04.000000000 +0000
|+++ src/ccrtp/crypto/gcrypt/InitializeGcrypt.cpp
--------------------------
Patching file src/ccrtp/crypto/gcrypt/InitializeGcrypt.cpp using Plan A...
Hunk #1 succeeded at 52.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ccrtp/patches/patch-src_ccrtp_crypto_openssl_hmac.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ccrtp/patches/patch-src_ccrtp_crypto_openssl_hmac.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_ccrtp_crypto_openssl_hmac.cpp,v 1.1 2020/04/20 00:42:30 joerg Exp $
|
|--- src/ccrtp/crypto/openssl/hmac.cpp.orig	2020-04-19 15:28:45.135992336 +0000
|+++ src/ccrtp/crypto/openssl/hmac.cpp
--------------------------
Patching file src/ccrtp/crypto/openssl/hmac.cpp using Plan A...
Hunk #1 succeeded at 52.
Hunk #2 succeeded at 97.
done
===> Creating toolchain wrappers for ccrtp-2.1.2nb12
===> Configuring for ccrtp-2.1.2nb12
=> Adding run-time search paths to pkg-config files.
INFO: [subst.mk:_pkgconfig] Nothing changed in "libccrtp.pc.in".
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Fixing locale directory references.
INFO: [subst.mk:pkglocaledir] Nothing changed in "Makefile.am".
INFO: [subst.mk:pkglocaledir] Nothing changed in "demo/Makefile.am".
INFO: [subst.mk:pkglocaledir] Nothing changed in "doc/Makefile.am".
INFO: [subst.mk:pkglocaledir] Nothing changed in "m4/Makefile.am".
INFO: [subst.mk:pkglocaledir] Nothing changed in "phone/Makefile.am".
INFO: [subst.mk:pkglocaledir] Nothing changed in "src/Makefile.am".
INFO: [subst.mk:pkglocaledir] Nothing changed in "src/ccrtp/Makefile.am".
INFO: [subst.mk:pkglocaledir] Nothing changed in "src/ccrtp/crypto/Makefile.am".
INFO: [subst.mk:pkglocaledir] Nothing changed in "w32/Makefile.am".
INFO: [subst.mk:pkglocaledir] Nothing changed in "w32/mingw32/Makefile.gcc".
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:15 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 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.


-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
CMake Warning (dev) at /opt/pkg/share/cmake-3.23/Modules/Platform/SunOS.cmake:10 (include):
  File /opt/pkg/share/cmake-3.23/Modules/Platform/SunOS.cmake includes
  /home/pbulk/build/net/ccrtp/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /opt/pkg/share/cmake-3.23/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.23/Modules/CMakeSystemSpecificInformation.cmake:27 (include)
  CMakeLists.txt:17 (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/net/ccrtp/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/net/ccrtp/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring GNU ccrtp 2.1.2...
-- Found PkgConfig: /home/pbulk/build/net/ccrtp/work/.tools/bin/pkg-config (found version "1.8.0") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Checking for module 'commoncpp>=6.3.1'
--   Found commoncpp, version 7.0.0
-- Checking for module 'libssl>=0.9.8'
--   Found libssl, version 1.1.1o
-- checking for module 'gcrypt'
--   found gcrypt, version 1.10.0
-- Looking for include file openssl/bn.h
-- Looking for include file openssl/bn.h - found
-- Looking for include file openssl/aes.h
-- Looking for include file openssl/aes.h - found
-- Looking for include file openssl/sha.h
-- Looking for include file openssl/sha.h - found
-- Looking for EVP_CipherInit_ex in crypto
-- Looking for EVP_CipherInit_ex in crypto - found
-- Configuring done
CMake Warning (dev) at src/CMakeLists.txt:65 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "commoncpp" of target "ccrtp" does not exist.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/pbulk/build/net/ccrtp/work/ccrtp-2.1.2
=> Rewrite cmake Dependencies files