+ 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/kldap-20.12.3nb6/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kldap-20.12.3nb6/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for kldap-20.12.3.tar.xz
=> Checksum SHA512 OK for kldap-20.12.3.tar.xz
===> Installing dependencies for kldap-20.12.3nb6
==========================================================================
The following variables will affect the build process of this package,
kldap-20.12.3nb6.  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 glib2-tools-[0-9]*: found glib2-tools-2.70.5
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.23.2
=> 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.93.0
=> Build dependency kdoctools>=5.19.0: found kdoctools-5.93.0
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.1
=> Full dependency gnupg2>=2.2.0: found gnupg2-2.2.35
=> Full dependency openldap-client>=2.4.48nb1: found openldap-client-2.6.2
=> Full dependency kio>=5.80.1nb7: found kio-5.93.0
=> Full dependency qt5-qtbase>=5.15.2nb7: found qt5-qtbase-5.15.4
=> Full dependency kcompletion>=5.80.0nb11: found kcompletion-5.93.0
=> Full dependency cyrus-sasl>=2.1.26: found cyrus-sasl-2.1.28
===> Overriding tools for kldap-20.12.3nb6
===> Extracting for kldap-20.12.3nb6
===> Patching for kldap-20.12.3nb6
=> Applying pkgsrc patches for kldap-20.12.3nb6
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/kldap/patches/patch-autotests_testkldap.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.1 2020/02/18 16:49:13 joerg Exp $
|
|--- autotests/testkldap.cpp.orig	2020-01-14 16:28:11.689663234 +0000
|+++ autotests/testkldap.cpp
--------------------------
Patching file autotests/testkldap.cpp using Plan A...
Hunk #1 succeeded at 72 (offset -17 lines).
Hunk #2 succeeded at 112 (offset -17 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/kldap/patches/patch-src_ber.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.2 2021/04/07 12:28:15 markd Exp $
|
|--- src/core/ber.cpp.orig	2020-01-14 16:17:11.814803692 +0000
|+++ src/core/ber.cpp
--------------------------
Patching file src/core/ber.cpp using Plan A...
Hunk #1 succeeded at 111 (offset -13 lines).
Hunk #2 succeeded at 119 (offset -13 lines).
Hunk #3 succeeded at 216 (offset -13 lines).
Hunk #4 succeeded at 224 (offset -13 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/kldap/patches/patch-src_ber.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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-upstream-trunk/databases/kldap/patches/patch-src_ldapcontrol.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 110 (offset -13 lines).
Hunk #2 succeeded at 122 (offset -13 lines).
done
===> Creating toolchain wrappers for kldap-20.12.3nb6
===> Configuring for kldap-20.12.3nb6
/usr/bin/mkdir -p /home/pbulk/build/databases/kldap/work/kldap-20.12.3/_KDE_build
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.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/pkg/include   
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.so;/opt/pkg/lib/libXext.so
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.so;/opt/pkg/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/pkg/lib/libldap.so;/opt/pkg/lib/liblber.so (found version "2.6.2") 
-- Found Sasl2: /opt/pkg/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
-- 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.75.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.75.0)
 * Gettext
 * KF5I18n (required version >= 5.75.0)
 * KF5Wallet (required version >= 5.75.0)
 * Qt5Gui (required version >= 5.15.2)
 * KF5KIO (required version >= 5.75.0)
 * KF5WidgetsAddons (required version >= 5.75.0)
 * Sasl2, The Cyrus-sasl library., <https://www.cyrusimap.org/sasl/>
 * Qt5Test

-- 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-20.12.3/_KDE_build
=> Rewrite cmake Dependencies files