+ 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/fcitx5-gtk-5.0.4nb5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fcitx5-gtk-5.0.4nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for fcitx5-gtk-5.0.4.tar.xz
=> Checksum SHA512 OK for fcitx5-gtk-5.0.4.tar.xz
===> Installing dependencies for fcitx5-gtk-5.0.4nb5
==========================================================================
The following variables will affect the build process of this package,
fcitx5-gtk-5.0.4nb5.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

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.74.6
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.26.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.5
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency extra-cmake-modules-[0-9]*: found extra-cmake-modules-5.98.0
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb2
=> Full dependency glib2>=2.70.2: found glib2-2.74.6nb1
=> Full dependency gobject-introspection>=1.68.0: found gobject-introspection-1.74.0nb1
=> Full dependency fmtlib>=10.0.0: found fmtlib-10.0.0
=> Full dependency gtk2+>=2.24.33nb9: found gtk2+-2.24.33nb10
=> Full dependency gtk3+>=3.24.36nb2: found gtk3+-3.24.37
=> Full dependency gtk4>=4.8.3nb1: found gtk4-4.8.3nb2
===> Overriding tools for fcitx5-gtk-5.0.4nb5
===> Extracting for fcitx5-gtk-5.0.4nb5
===> Patching for fcitx5-gtk-5.0.4nb5
=> Applying pkgsrc patches for fcitx5-gtk-5.0.4nb5
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/fcitx5-gtk/patches/patch-gtk3_fcitxtheme.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/fcitx5-gtk/patches/patch-gtk3_fcitxtheme.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gtk3_fcitxtheme.cpp,v 1.1 2022/12/02 18:06:53 nros Exp $
|
|Add missing include so that std::min that takes an initializer list
|is visible.
|Taken from upstream:
|https://github.com/fcitx/fcitx5-gtk/commit/54995987451b01d3a47e50edcd4f3339c18eb49c
|
|--- gtk3/fcitxtheme.cpp.orig	2022-12-02 17:41:58.732569384 +0000
|+++ gtk3/fcitxtheme.cpp
--------------------------
Patching file gtk3/fcitxtheme.cpp using Plan A...
Hunk #1 succeeded at 5.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/fcitx5-gtk/patches/patch-gtk3_utils.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/fcitx5-gtk/patches/patch-gtk3_utils.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gtk3_utils.h,v 1.1 2021/04/25 18:24:43 nia Exp $
|
|Include missing header for std::free. Fixes building with gcc10.
|
|--- gtk3/utils.h.orig	2021-01-25 21:23:36.273540700 +0000
|+++ gtk3/utils.h
--------------------------
Patching file gtk3/utils.h using Plan A...
Hunk #1 succeeded at 9.
done
===> Creating toolchain wrappers for fcitx5-gtk-5.0.4nb5
===> Configuring for fcitx5-gtk-5.0.4nb5
=> Adding run-time search paths to pkg-config files.
=> 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/inputmethod/fcitx5-gtk/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/inputmethod/fcitx5-gtk/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /home/pbulk/build/inputmethod/fcitx5-gtk/work/.tools/bin/pkg-config (found version "1.9.5") 
CMake Warning (dev) at /opt/pkg/share/ECM/modules/ECMFindModuleHelpers.cmake:113 (message):
  Your project should require at least CMake 3.16.0 to use
  FindXKBCommon.cmake
Call Stack (most recent call first):
  cmake/FindXKBCommon.cmake:4 (ecm_find_package_version_check)
  CMakeLists.txt:28 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find XKBCommon_XKBCommon (missing: XKBCommon_XKBCommon_LIBRARY XKBCommon_XKBCommon_INCLUDE_DIR) (found version "")
-- Could NOT find XKBCommon_X11 (missing: XKBCommon_X11_LIBRARY XKBCommon_X11_INCLUDE_DIR XKBCommon_XKBCommon_FOUND) (found version "")
-- Could NOT find XKBCommon (missing: XKBCommon_LIBRARIES) 
-- Checking for module 'glib-2.0>=2.38'
--   Found glib-2.0, version 2.74.6
-- Checking for module 'gio-2.0'
--   Found gio-2.0, version 2.74.6
-- Checking for module 'gobject-2.0'
--   Found gobject-2.0, version 2.74.6
-- Checking for module 'gobject-introspection-1.0'
--   Found gobject-introspection-1.0, version 1.74.0
-- 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 - not found
-- Checking for module 'gtk+-2.0'
--   Found gtk+-2.0, version 2.24.33
-- Checking for module 'gdk-2.0'
--   Found gdk-2.0, version 2.24.33
-- Checking for module 'gdk-x11-2.0'
--   Found gdk-x11-2.0, version 2.24.33
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.37
-- Checking for module 'gdk-3.0'
--   Found gdk-3.0, version 3.24.37
-- Checking for module 'gdk-x11-3.0'
--   Found gdk-x11-3.0, version 3.24.37
-- Checking for module 'gtk4'
--   Found gtk4, version 4.8.3
-- Checking for module 'gtk4-x11'
--   Found gtk4-x11, version 4.8.3
-- The following REQUIRED packages have been found:

 * ECM
 * X11

-- The following OPTIONAL packages have not been found:

 * XKBCommon, Keyboard handling library using XKB data, <http://xkbcommon.org>

-- Configuring done (11.5s)
CMake Error at gtk2/CMakeLists.txt:18 (target_link_libraries):
  Target "im-fcitx5" links to:

    XKBCommon::XKBCommon

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



CMake Error at gtk3/CMakeLists.txt:22 (target_link_libraries):
  Target "im-fcitx5-gtk3" links to:

    XKBCommon::XKBCommon

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



CMake Error at gtk4/CMakeLists.txt:21 (target_link_libraries):
  Target "im-fcitx5-gtk4" links to:

    XKBCommon::XKBCommon

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



-- Generating done (0.1s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/fcitx5-gtk
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/fcitx5-gtk