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

	debug icinga2-checker icinga2-compat icinga2-livestatus
	icinga2-notification icinga2-perfdata icingadb
	mysql pgsql

The currently selected options are:

	icinga2-checker icinga2-compat icinga2-livestatus
	icinga2-notification icinga2-perfdata

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

	PKG_OPTIONS.icinga2 (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
icinga2-2.12.9nb3.  Their current value is shown below:

        * ICINGA2_COMMAND_GROUP = icingacmd
        * ICINGA2_GROUP = icinga
        * ICINGA2_USER = icinga
        * PKG_SYSCONFBASE = /etc/opt/pkg
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private
        * VARBASE = /var/opt/pkg

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 bison>=1.0: found bison-3.8.2nb1
=> Tool dependency cmake>=3.18: found cmake-3.28.3
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency boost-headers-1.84.*: found boost-headers-1.84.0
=> Build dependency flex>=2.5.4a: found flex-2.6.4
=> Full dependency openssl>=3: found openssl-3.1.5
=> Full dependency boost-libs-1.84.*: found boost-libs-1.84.0
=> Full dependency boost-libs>=1.84.0: found boost-libs-1.84.0
===> Overriding tools for icinga2-2.12.9nb3
===> Extracting for icinga2-2.12.9nb3
/usr/bin/rm /home/pbulk/build/net/icinga2/work/icinga2-2.12.9/third-party/cmake/GNUInstallDirs.cmake
===> Patching for icinga2-2.12.9nb3
=> Applying pkgsrc patches for icinga2-2.12.9nb3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/icinga2/patches/patch-lib_base_string.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/icinga2/patches/patch-lib_base_string.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_base_string.cpp,v 1.3 2023/01/22 17:34:20 ryoon Exp $
|
|Fix build with Boost 1.81.0
|From: https://github.com/Icinga/icinga2/commit/5bcbc96e221bb3aafc370449941bfbd70939915c
|
|--- lib/base/string.cpp.orig	2022-06-29 17:15:18.000000000 +0000
|+++ lib/base/string.cpp
--------------------------
Patching file lib/base/string.cpp using Plan A...
Hunk #1 succeeded at 128.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/icinga2/patches/patch-lib_base_string.hpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/icinga2/patches/patch-lib_base_string.hpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_base_string.hpp,v 1.3 2023/01/22 17:34:20 ryoon Exp $
|
|Fix build with Boost 1.81.0
|From: https://github.com/Icinga/icinga2/commit/5bcbc96e221bb3aafc370449941bfbd70939915c
|
|--- lib/base/string.hpp.orig	2022-06-29 17:15:18.000000000 +0000
|+++ lib/base/string.hpp
--------------------------
Patching file lib/base/string.hpp using Plan A...
Hunk #1 succeeded at 5.
Hunk #2 succeeded at 73.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/icinga2/patches/patch-lib_remote_httphandler.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/icinga2/patches/patch-lib_remote_httphandler.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_remote_httphandler.cpp,v 1.1 2023/01/22 17:34:20 ryoon Exp $
|
|--- lib/remote/httphandler.cpp.orig	2022-06-29 17:15:18.000000000 +0000
|+++ lib/remote/httphandler.cpp
--------------------------
Patching file lib/remote/httphandler.cpp using Plan A...
Hunk #1 succeeded at 57.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/icinga2/patches/patch-lib_remote_httpserverconnection.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/icinga2/patches/patch-lib_remote_httpserverconnection.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_remote_httpserverconnection.cpp,v 1.3 2023/01/22 17:34:20 ryoon Exp $
|
|--- lib/remote/httpserverconnection.cpp.orig	2022-06-29 17:15:18.000000000 +0000
|+++ lib/remote/httpserverconnection.cpp
--------------------------
Patching file lib/remote/httpserverconnection.cpp using Plan A...
Hunk #1 succeeded at 32.
Hunk #2 succeeded at 246.
Hunk #3 succeeded at 536.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/icinga2/patches/patch-third-party_cmake_FindMySQL.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/icinga2/patches/patch-third-party_cmake_FindMySQL.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-third-party_cmake_FindMySQL.cmake,v 1.1 2021/01/15 00:37:17 wiz Exp $
|
|Find buildlink mysql include dir
|
|--- third-party/cmake/FindMySQL.cmake.orig	2020-08-03 15:43:47.000000000 +0200
|+++ third-party/cmake/FindMySQL.cmake	2020-09-02 14:47:44.451813388 +0200
--------------------------
Patching file third-party/cmake/FindMySQL.cmake using Plan A...
Hunk #1 succeeded at 28.
done
===> Creating toolchain wrappers for icinga2-2.12.9nb3
===> Configuring for icinga2-2.12.9nb3
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 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 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/net/icinga2/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/icinga2/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Prefixing in ICINGA2_FULL_PKGDATADIR "share/icinga2" with /opt/pkg
-- Prefixing in ICINGA2_FULL_INCLUDEDIR "share/icinga2/include" with /opt/pkg
-- ICINGA2_VERSION_SAFE=2.12.9 CHOCO_VERSION_SHORT=2.12.9
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found Boost: /opt/pkg/include (found suitable version "1.84.0", minimum required is "1.66.0") found components: context coroutine date_time filesystem thread system program_options regex chrono atomic 
-- Found OpenSSL: /opt/pkg/lib/libcrypto.so (found version "3.1.5")  
-- Found JSON: /home/pbulk/build/net/icinga2/work/icinga2-2.12.9/third-party/nlohmann_json
-- Found UTF8CPP: /home/pbulk/build/net/icinga2/work/icinga2-2.12.9/third-party/utf8cpp/source
-- Could NOT find Editline (missing: EDITLINE_LIBRARIES EDITLINE_INCLUDE_DIR) 
-- Could NOT find Termcap (missing: TERMCAP_INCLUDE_DIR) 
-- Performing Test CXX_INVALID_PCH
-- Performing Test CXX_INVALID_PCH - Success
-- Looking for __COUNTER__
-- Looking for __COUNTER__ - found
-- Looking for vfork
-- Looking for vfork - found
-- Looking for backtrace_symbols
-- Looking for backtrace_symbols - found
-- Looking for pipe2
-- Looking for pipe2 - found
-- Looking for nice
-- Looking for nice - found
-- Looking for dladdr in dl
-- Looking for dladdr in dl - found
-- Looking for backtrace_symbols in execinfo
-- Looking for backtrace_symbols in execinfo - not found
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
CMake Warning (dev) at CMakeLists.txt:381 (exec_program):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Performing Test CXX_FEATURE_OVERRIDE
-- Performing Test CXX_FEATURE_OVERRIDE - Success
-- Target architecture - x86_64
-- Found BISON: /home/pbulk/build/net/icinga2/work/.tools/bin/bison (Required is at least version "2.3.0") 
-- Found FLEX: 2.6.4 (Required is at least version "2.5.31") 
-- Configuring done (22.6s)
-- Generating done (0.2s)
-- Build files have been written to: /home/pbulk/build/net/icinga2/work/icinga2-2.12.9
=> Rewrite cmake Dependencies files