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

        * JPEG_DEFAULT = libjpeg-turbo
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/local/etc/openssl/certs
        * SSLDIR = /opt/local/etc/openssl
        * SSLKEYS = /opt/local/etc/openssl/private

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = libjpeg-turbo

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/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.74.3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.25.1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.21nb3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency extra-cmake-modules>=5.19.0: found extra-cmake-modules-5.98.0
=> Build dependency kdoctools>=5.19.0: found kdoctools-5.98.0nb1
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb1
=> Build dependency gcc12>=12.2.0: found gcc12-12.2.0
=> Full dependency gnupg2>=2.2.0: found gnupg2-2.2.40nb2
=> Full dependency openldap-client>=2.4.48nb1: found openldap-client-2.6.4
=> Full dependency cyrus-sasl>=2.1.28nb1: found cyrus-sasl-2.1.28nb1
=> Full dependency kio>=5.98.0nb1: found kio-5.98.0nb1
=> Full dependency qt5-qtbase>=5.15.7nb1: found qt5-qtbase-5.15.7nb1
=> Full dependency kcompletion>=5.98.0nb1: found kcompletion-5.98.0nb1
=> Full dependency qt5-qtkeychain>=0.1.0: found qt5-qtkeychain-0.9.1nb19
=> Full dependency gcc12-libs>=12.2.0: found gcc12-libs-12.2.0
===> Overriding tools for kldap-22.08.1nb1
===> Extracting for kldap-22.08.1nb1
===> Patching for kldap-22.08.1nb1
=> Applying pkgsrc patches for kldap-22.08.1nb1
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/databases/kldap/patches/patch-autotests_testkldap.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/databases/kldap/patches/patch-autotests_testkldap.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-autotests_testkldap.cpp,v 1.2 2022/09/29 00:26:00 markd Exp $
|
|--- autotests/testkldap.cpp.orig	2022-08-05 11:31:27.000000000 +0000
|+++ autotests/testkldap.cpp
--------------------------
Patching file autotests/testkldap.cpp using Plan A...
Hunk #1 succeeded at 84.
Hunk #2 succeeded at 124.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/databases/kldap/patches/patch-src_ber.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/databases/kldap/patches/patch-src_ber.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_ber.cpp,v 1.3 2022/09/29 00:26:00 markd Exp $
|
|--- src/core/ber.cpp.orig	2022-08-05 11:31:27.000000000 +0000
|+++ src/core/ber.cpp
--------------------------
Patching file src/core/ber.cpp using Plan A...
Hunk #1 succeeded at 110.
Hunk #2 succeeded at 119.
Hunk #3 succeeded at 206.
Hunk #4 succeeded at 215.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/databases/kldap/patches/patch-src_ber.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/databases/kldap/patches/patch-src_ber.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_ber.h,v 1.2 2021/04/07 12:28:15 markd Exp $
|
|--- src/core/ber.h.orig	2020-01-14 16:17:30.291511893 +0000
|+++ src/core/ber.h
--------------------------
Patching file src/core/ber.h using Plan A...
Hunk #1 succeeded at 102 (offset -13 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/databases/kldap/patches/patch-src_ldapcontrol.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/databases/kldap/patches/patch-src_ldapcontrol.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_ldapcontrol.cpp,v 1.2 2021/04/07 12:28:15 markd Exp $
|
|--- src/core/ldapcontrol.cpp.orig	2020-01-14 16:22:02.256391951 +0000
|+++ src/core/ldapcontrol.cpp
--------------------------
Patching file src/core/ldapcontrol.cpp using Plan A...
Hunk #1 succeeded at 102 (offset -21 lines).
Hunk #2 succeeded at 114 (offset -21 lines).
done
===> Creating toolchain wrappers for kldap-22.08.1nb1
===> Configuring for kldap-22.08.1nb1
/usr/bin/mkdir -p /home/pbulk/build/databases/kldap/work/kldap-22.08.1/_KDE_build
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/databases/kldap/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/databases/kldap/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could not set up the appstream test. appstreamcli is missing.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found X11: /opt/local/include   
-- Looking for XOpenDisplay in /opt/local/lib/libX11.so;/opt/local/lib/libXext.so
-- Looking for XOpenDisplay in /opt/local/lib/libX11.so;/opt/local/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - not found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for connect
-- Looking for connect - not found
-- Looking for connect in socket
-- Looking for connect in socket - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found Gettext: /home/pbulk/build/databases/kldap/work/.buildlink/bin/msgmerge (found version "0.21") 
-- Found Ldap: /opt/local/lib/libldap.so;/opt/local/lib/liblber.so (found version "2.6.4") 
-- Found Sasl2: /opt/local/lib/libsasl2.so (found version "2.1.28") 
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for ldap_start_tls_s
-- Looking for ldap_start_tls_s - found
-- Looking for ldap_initialize
-- Looking for ldap_initialize - found
-- Looking for ber_memfree
-- Looking for ber_memfree - found
-- Looking for ldap_unbind_ext
-- Looking for ldap_unbind_ext - found
-- Looking for ldap_extended_operation
-- Looking for ldap_extended_operation - found
-- Looking for ldap_extended_operation_s
-- Looking for ldap_extended_operation_s - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- The following OPTIONAL packages have been found:

 * KF5DocTools (required version >= 5.95.0), Provides tools to generate documentation in various format from DocBook files
   Required to build documentation

-- The following RECOMMENDED packages have been found:

 * Ldap, LDAP (Lightweight Directory Access Protocol) libraries., <https://www.openldap.org/>
   Needed to provide LDAP functionality in KDE

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.95.0)
 * KF5Service (required version >= 5.98.0)
 * KF5JobWidgets (required version >= 5.98.0)
 * KF5Solid (required version >= 5.98.0)
 * KF5CoreAddons (required version >= 5.98.0)
 * KF5Auth (required version >= 5.98.0)
 * KF5Codecs (required version >= 5.98.0)
 * Qt5Gui (required version >= 5.15.2)
 * KF5KIO (required version >= 5.95.0)
 * Gettext
 * KF5I18n (required version >= 5.95.0)
 * Qt5Core
 * Qt5Keychain, Provides support for secure credentials storage, <https://github.com/frankosterfeld/qtkeychain>
 * KF5WidgetsAddons (required version >= 5.95.0)
 * Sasl2, The Cyrus-sasl library., <https://www.cyrusimap.org/sasl/>
 * Qt5Test

-- The following features have been disabled:

 * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    KDE_INSTALL_AUTOSTARTEXDIR
    KDE_INSTALL_XDG_EX_DIR


-- Build files have been written to: /home/pbulk/build/databases/kldap/work/kldap-22.08.1/_KDE_build
=> Rewrite cmake Dependencies files