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

        * JPEG_DEFAULT = libjpeg-turbo
        * PYTHON_VERSION_DEFAULT = 312
        * 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
        * 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/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency extra-cmake-modules>=6.2.0: found extra-cmake-modules-6.2.0
=> Tool dependency cmake>=0: found cmake-3.30.3
=> Tool dependency python312>=3.12: found python312-3.12.5
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.80.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc13>=13.1.0: found gcc13-13.3.0
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.17.0nb1
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.3.0
=> Full dependency kf6-kcoreaddons>=6.2.0: found kf6-kcoreaddons-6.2.0nb1
=> Full dependency kf6-ki18n>=6.2.0: found kf6-ki18n-6.2.0nb1
=> Full dependency qt6-qtbase>=6.6.3nb1: found qt6-qtbase-6.7.2
===> Overriding tools for kf6-kpty-6.2.0nb1
===> Extracting for kf6-kpty-6.2.0nb1
===> Patching for kf6-kpty-6.2.0nb1
=> Applying pkgsrc patches for kf6-kpty-6.2.0nb1
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/devel/kf6-kpty/patches/patch-src_ConfigureChecks.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/devel/kf6-kpty/patches/patch-src_ConfigureChecks.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_ConfigureChecks.cmake,v 1.1 2024/05/26 12:02:20 markd Exp $
|
|NetBSD loginx() complains if ut_type not set before calling
|
|--- src/ConfigureChecks.cmake.orig	2016-04-03 21:01:19.000000000 +0000
|+++ src/ConfigureChecks.cmake
--------------------------
Patching file src/ConfigureChecks.cmake using Plan A...
Hunk #1 succeeded at 42.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/devel/kf6-kpty/patches/patch-src_kgrantpty.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/devel/kf6-kpty/patches/patch-src_kgrantpty.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_kgrantpty.c,v 1.1 2024/05/26 12:02:20 markd Exp $
|
|Don't include C++ headers in a C file.
|
|--- src/kgrantpty.c.orig	2022-04-02 10:26:01.000000000 +0000
|+++ src/kgrantpty.c
--------------------------
Patching file src/kgrantpty.c using Plan A...
Hunk #1 succeeded at 27.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/devel/kf6-kpty/patches/patch-src_kpty.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/devel/kf6-kpty/patches/patch-src_kpty.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_kpty.cpp,v 1.1 2024/05/26 12:02:20 markd Exp $
|
|NetBSD loginx() complains if ut_type not set before calling
|
|--- src/kpty.cpp.orig	2022-04-02 10:26:01.000000000 +0000
|+++ src/kpty.cpp
--------------------------
Patching file src/kpty.cpp using Plan A...
Hunk #1 succeeded at 11 (offset 1 line).
Hunk #2 succeeded at 159 (offset -10 lines).
Hunk #3 succeeded at 262 (offset 1 line).
Hunk #4 succeeded at 281 (offset -10 lines).
Hunk #5 succeeded at 307 (offset 1 line).
Hunk #6 succeeded at 501 (offset -6 lines).
Hunk #7 succeeded at 523 (offset 1 line).
Hunk #8 succeeded at 604 (offset -6 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/devel/kf6-kpty/patches/patch-src_kptydevice.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/devel/kf6-kpty/patches/patch-src_kptydevice.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_kptydevice.cpp,v 1.1 2024/05/26 12:02:20 markd Exp $
|
|NetBSD like FreeBSD
|
|--- src/kptydevice.cpp.orig	2022-04-02 10:26:01.000000000 +0000
|+++ src/kptydevice.cpp
--------------------------
Patching file src/kptydevice.cpp using Plan A...
Hunk #1 succeeded at 29.
done
===> Creating toolchain wrappers for kf6-kpty-6.2.0nb1
===> Configuring for kf6-kpty-6.2.0nb1
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/devel/kf6-kpty/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/devel/kf6-kpty/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 

Detected locale "C" with character encoding "646", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
Detected locale "C" with character encoding "646", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
Detected locale "C" with character encoding "646", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
Detected locale "C" with character encoding "646", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
-- Could not set up the appstream test. appstreamcli is missing.
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- 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 Gettext: /home/pbulk/build/devel/kf6-kpty/work/.tools/bin/msgmerge (found version "0.22.5")
-- Could NOT find UTEMPTER (missing: UTEMPTER_EXECUTABLE UTEMPTER_COMPILE_FLAGS) 
-- 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
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include files sys/types.h, libutil.h
-- Looking for include files sys/types.h, libutil.h - not found
-- Looking for include file util.h
-- Looking for include file util.h - not found
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file termio.h
-- Looking for include file termio.h - found
-- Looking for include file pty.h
-- Looking for include file pty.h - not found
-- Looking for include file sys/stropts.h
-- Looking for include file sys/stropts.h - found
-- Looking for include file sys/filio.h
-- Looking for include file sys/filio.h - found
-- Looking for login
-- Looking for login - not found
-- Looking for login in util
-- Looking for login in util - not found
-- Looking for getutxent
-- Looking for getutxent - found
-- Performing Test HAVE_STRUCT_UTMP_UT_TYPE
-- Performing Test HAVE_STRUCT_UTMP_UT_TYPE - Success
-- Performing Test HAVE_STRUCT_UTMP_UT_PID
-- Performing Test HAVE_STRUCT_UTMP_UT_PID - Success
-- Performing Test HAVE_STRUCT_UTMP_UT_SESSION
-- Performing Test HAVE_STRUCT_UTMP_UT_SESSION - Success
-- Performing Test HAVE_STRUCT_UTMP_UT_SYSLEN
-- Performing Test HAVE_STRUCT_UTMP_UT_SYSLEN - Success
-- Performing Test HAVE_STRUCT_UTMP_UT_ID
-- Performing Test HAVE_STRUCT_UTMP_UT_ID - Success
-- Looking for openpty
-- Looking for openpty - not found
-- Looking for openpty in util
-- Looking for openpty in util - not found
-- PTY multiplexer: /dev/ptmx
-- Looking for revoke
-- Looking for revoke - not found
-- Looking for _getpty
-- Looking for _getpty - not found
-- Looking for getpt
-- Looking for getpt - not found
-- Looking for grantpt
-- Looking for grantpt - found
-- Looking for unlockpt
-- Looking for unlockpt - found
-- Looking for posix_openpt
-- Looking for posix_openpt - found
-- Looking for ptsname
-- Looking for ptsname - found
-- Looking for tcgetattr
-- Looking for tcgetattr - found
-- Looking for tcsetattr
-- Looking for tcsetattr - found
-- The following OPTIONAL packages have been found:

 * Qt6CoreTools (required version >= 6.7.2)
 * Qt6Test (required version >= 6.5.0)

-- The following REQUIRED packages have been found:

 * ECM (required version >= 6.2.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>
 * Qt6Core (required version >= 6.5.0)
 * KF6CoreAddons (required version >= 6.2.0)
 * Gettext
 * KF6I18n (required version >= 6.2.0)
 * Qt6 (required version >= 6.5.0)

-- The following features have been disabled:

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

-- The following OPTIONAL packages have not been found:

 * UTEMPTER, Allows non-privileged applications such as terminal emulators to modify the utmp database without having to be setuid root., <ftp://ftp.altlinux.org/pub/people/ldv/utempter/>
   Required by KPty for managing UTMP entries

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

    FETCHCONTENT_FULLY_DISCONNECTED
    KDE_INSTALL_AUTOSTARTEXDIR
    KDE_INSTALL_XDG_EX_DIR
    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/devel/kf6-kpty/work/kpty-6.2.0/_KDE_build