+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/galera-26.4.13nb5/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/galera-26.4.13nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> Checksum BLAKE2s OK for 694d6ca47f5eec7873be99b7d6babccf633d1231.tar.gz
=> Checksum SHA512 OK for 694d6ca47f5eec7873be99b7d6babccf633d1231.tar.gz
=> Checksum BLAKE2s OK for galera-26.4.13.tar.gz
=> Checksum SHA512 OK for galera-26.4.13.tar.gz
===> Installing dependencies for galera-26.4.13nb5
==========================================================================
The following variables will affect the build process of this package,
galera-26.4.13nb5.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.31.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency boost-headers-1.86.*: found boost-headers-1.86.0
=> Full dependency boost-libs-1.86.*: found boost-libs-1.86.0nb3
=> Full dependency boost-libs>=1.86.0: found boost-libs-1.86.0nb3
=> Full dependency check>=0.9.5: found check-0.15.2
=> Full dependency openssl>=3: found openssl-3.3.2
===> Overriding tools for galera-26.4.13nb5
===> Extracting for galera-26.4.13nb5
cd /home/pbulk/build/databases/galera/work/wsrep-* && /bin/mv * /home/pbulk/build/databases/galera/work/galera-release_26.4.13/wsrep/src/
===> Patching for galera-26.4.13nb5
=> Applying pkgsrc patches for galera-26.4.13nb5
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-asio_asio_detail_impl_kqueue__reactor.ipp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-asio_asio_detail_impl_kqueue__reactor.ipp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-asio_asio_detail_impl_kqueue__reactor.ipp,v 1.1 2023/01/13 16:08:03 wiz Exp $
|
|Fix build on NetBSD>=10.
|https://github.com/codership/galera/pull/632
|
|--- asio/asio/detail/impl/kqueue_reactor.ipp.orig	2022-11-02 06:09:14.000000000 +0000
|+++ asio/asio/detail/impl/kqueue_reactor.ipp
--------------------------
Patching file asio/asio/detail/impl/kqueue_reactor.ipp using Plan A...
Hunk #1 succeeded at 28.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-cmake_crc32c.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-cmake_crc32c.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_crc32c.cmake,v 1.1 2023/01/13 16:08:03 wiz Exp $
|
|NetBSD support.
|https://github.com/codership/galera/pull/632
|
|--- cmake/crc32c.cmake.orig	2022-11-02 06:09:14.000000000 +0000
|+++ cmake/crc32c.cmake
--------------------------
Patching file cmake/crc32c.cmake using Plan A...
Hunk #1 succeeded at 42.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_SConscript
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_SConscript
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-galerautils_SConscript,v 1.1 2023/01/13 16:08:03 wiz Exp $
|
|NetBSD support.
|https://github.com/codership/galera/pull/632
|
|--- galerautils/SConscript.orig	2022-11-02 06:09:14.000000000 +0000
|+++ galerautils/SConscript
--------------------------
Patching file galerautils/SConscript using Plan A...
Hunk #1 succeeded at 56.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__arch.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__arch.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-galerautils_src_gu__arch.h,v 1.1 2023/01/13 16:08:03 wiz Exp $
|
|NetBSD support.
|https://github.com/codership/galera/pull/632
|
|--- galerautils/src/gu_arch.h.orig	2022-11-02 06:09:14.000000000 +0000
|+++ galerautils/src/gu_arch.h
--------------------------
Patching file galerautils/src/gu_arch.h using Plan A...
Hunk #1 succeeded at 41.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__asio__socket__util.hpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__asio__socket__util.hpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-galerautils_src_gu__asio__socket__util.hpp,v 1.1 2023/01/13 16:08:03 wiz Exp $
|
|NetBSD support.
|https://github.com/codership/galera/pull/632
|
|--- galerautils/src/gu_asio_socket_util.hpp.orig	2022-11-02 06:09:14.000000000 +0000
|+++ galerautils/src/gu_asio_socket_util.hpp
--------------------------
Patching file galerautils/src/gu_asio_socket_util.hpp using Plan A...
Hunk #1 succeeded at 148.
Hunk #2 succeeded at 162.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__crc32c__arm64.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__crc32c__arm64.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-galerautils_src_gu__crc32c__arm64.c,v 1.1 2023/01/13 16:08:03 wiz Exp $
|
|NetBSD support.
|https://github.com/codership/galera/pull/632
|
|--- galerautils/src/gu_crc32c_arm64.c.orig	2022-11-02 06:09:14.000000000 +0000
|+++ galerautils/src/gu_crc32c_arm64.c
--------------------------
Patching file galerautils/src/gu_crc32c_arm64.c using Plan A...
Hunk #1 succeeded at 70.
Hunk #2 succeeded at 79.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__errno.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__errno.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-galerautils_src_gu__errno.h,v 1.1 2023/01/13 16:08:03 wiz Exp $
|
|NetBSD support.
|https://github.com/codership/galera/pull/632
|
|--- galerautils/src/gu_errno.h.orig	2022-11-02 06:09:14.000000000 +0000
|+++ galerautils/src/gu_errno.h
--------------------------
Patching file galerautils/src/gu_errno.h using Plan A...
Hunk #1 succeeded at 7.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__fdesc.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__fdesc.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-galerautils_src_gu__fdesc.cpp,v 1.1 2023/01/13 16:08:03 wiz Exp $
|
|NetBSD man page suggests ftruncate() before posix_fallocate().
|Also recognize NetBSD's errno if unsupported.
|https://github.com/codership/galera/pull/632
|
|--- galerautils/src/gu_fdesc.cpp.orig	2022-11-02 06:09:14.000000000 +0000
|+++ galerautils/src/gu_fdesc.cpp
--------------------------
Patching file galerautils/src/gu_fdesc.cpp using Plan A...
Hunk #1 succeeded at 235.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__limits.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__limits.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-galerautils_src_gu__limits.c,v 1.1 2023/01/13 16:08:03 wiz Exp $
|
|NetBSD support.
|https://github.com/codership/galera/pull/632
|
|--- galerautils/src/gu_limits.c.orig	2022-11-02 06:09:14.000000000 +0000
|+++ galerautils/src/gu_limits.c
--------------------------
Patching file galerautils/src/gu_limits.c using Plan A...
Hunk #1 succeeded at 94.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__resolver.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__resolver.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-galerautils_src_gu__resolver.cpp,v 1.1 2023/01/13 16:08:03 wiz Exp $
|
|NetBSD support.
|https://github.com/codership/galera/pull/632
|
|--- galerautils/src/gu_resolver.cpp.orig	2022-11-02 06:09:14.000000000 +0000
|+++ galerautils/src/gu_resolver.cpp
--------------------------
Patching file galerautils/src/gu_resolver.cpp using Plan A...
Hunk #1 succeeded at 17.
Hunk #2 succeeded at 79.
Hunk #3 succeeded at 208.
Hunk #4 succeeded at 272.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__system.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__system.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-galerautils_src_gu__system.h,v 1.1 2023/01/13 16:08:03 wiz Exp $
|
|NetBSD support.
|https://github.com/codership/galera/pull/632
|
|--- galerautils/src/gu_system.h.orig	2022-11-02 06:09:14.000000000 +0000
|+++ galerautils/src/gu_system.h
--------------------------
Patching file galerautils/src/gu_system.h using Plan A...
Hunk #1 succeeded at 23.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__thread.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-galerautils_src_gu__thread.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-galerautils_src_gu__thread.cpp,v 1.1 2023/01/13 16:08:03 wiz Exp $
|
|NetBSD support.
|https://github.com/codership/galera/pull/632
|
|--- galerautils/src/gu_thread.cpp.orig	2022-11-02 06:09:14.000000000 +0000
|+++ galerautils/src/gu_thread.cpp
--------------------------
Patching file galerautils/src/gu_thread.cpp using Plan A...
Hunk #1 succeeded at 89.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-gcs_src_gcs__spread.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/galera/patches/patch-gcs_src_gcs__spread.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcs_src_gcs__spread.cpp,v 1.1 2023/01/13 16:08:03 wiz Exp $
|
|NetBSD support.
|https://github.com/codership/galera/pull/632
|
|--- gcs/src/gcs_spread.cpp.orig	2022-11-02 06:09:14.000000000 +0000
|+++ gcs/src/gcs_spread.cpp
--------------------------
Patching file gcs/src/gcs_spread.cpp using Plan A...
Hunk #1 succeeded at 654.
done
===> Creating toolchain wrappers for galera-26.4.13nb5
===> Configuring for galera-26.4.13nb5
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
-- CMake version 3.31.1
CMake Deprecation Warning at CMakeLists.txt:6 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The C compiler identification is GNU 11.5.0
-- The CXX compiler identification is GNU 11.5.0
CMake Warning (dev) at /usr/pkg/share/cmake-3.31/Modules/Platform/Linux.cmake:57 (include):
  File /usr/pkg/share/cmake-3.31/Modules/Platform/Linux.cmake includes
  /home/pbulk/build/databases/galera/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.31/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.31/Modules/CMakeSystemSpecificInformation.cmake:32 (include)
  CMakeLists.txt:7 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/databases/galera/work/.cwrapper/bin/cc - 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/galera/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:61 (CMAKE_POLICY):
  The OLD behavior for policy CMP0075 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


fatal: not a git repository (or any of the parent directories): .git
-- Building Galera version: '4.13' revision: '' git revision: 'XXXX' wsrep-API version '26'
-- CMAKE_SYSTEM_NAME: Linux
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- Performing Test GALERA_HAVE_ATOMIC
-- Performing Test GALERA_HAVE_ATOMIC - Success
-- Galera system libs: /lib64/libpthread.a;/lib64/librt.a
-- Found OpenSSL: /home/pbulk/build/databases/galera/work/.buildlink/lib/libcrypto.so (found version "3.3.2")
-- /home/pbulk/build/databases/galera/work/.buildlink/lib/libssl.so;/home/pbulk/build/databases/galera/work/.buildlink/lib/libcrypto.so
-- GALERA_SSL_LIBS: /home/pbulk/build/databases/galera/work/.buildlink/lib/libssl.so;/home/pbulk/build/databases/galera/work/.buildlink/lib/libcrypto.so
-- Performing Test ECDH_AUTO_OK
-- Performing Test ECDH_AUTO_OK - Success
-- Looking for C++ include asio.hpp
-- Looking for C++ include asio.hpp - not found
-- Using bundled asio
CMake Warning (dev) at cmake/boost.cmake:7 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

Call Stack (most recent call first):
  CMakeLists.txt:87 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /home/pbulk/build/databases/galera/work/.buildlink/include (found suitable version "1.86.0", minimum required is "1.41") found components: program_options
-- /home/pbulk/build/databases/galera/work/.buildlink/lib/libboost_program_options.so
-- Checking for hardware CRC support for x86_64
-- Performing Test GALERA_HAVE_CPUID
-- Performing Test GALERA_HAVE_CPUID - Success
-- Performing Test HAVE_CRC_FLAG
-- Performing Test HAVE_CRC_FLAG - Success
-- Hardwared CRC support enabled: -msse4.2
-- Looking for endian.h
-- Looking for endian.h - found
-- Looking for sys/endian.h
-- Looking for sys/endian.h - not found
-- Looking for sys/byteorder.h
-- Looking for sys/byteorder.h - not found
-- Looking for byteswap.h
-- Looking for byteswap.h - found
-- Looking for C++ include boost/shared_ptr.hpp
-- Looking for C++ include boost/shared_ptr.hpp - found
-- Performing Test GALERA_CHECK_COMPILES
-- Performing Test GALERA_CHECK_COMPILES - Success
-- Building Galera with SSL
-- 
-- CMAKE_BUILD_TYPE: Release
-- COMPILE_DEFINITIONS: NDEBUG;HAVE_COMMON_H;GALERA_HAVE_SSL;OPENSSL_HAS_SET_ECDH_AUTO;HAVE_ASIO_HPP;HAVE_STD_ARRAY;BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG=1;HAVE_ENDIAN_H;HAVE_BYTESWAP_H;HAVE_BOOST_SHARED_PTR_HPP;HAVE_STD_UNORDERED_MAP
-- CMAKE_C_FLAGS: -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -Wextra -g -D_XOPEN_SOURCE=600
-- CMAKE_CXX_FLAGS: -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -Wextra -Woverloaded-virtual -g
-- CMAKE_EXE_LINKER_FLAGS: -Wl,-zrelro -L/usr/pkg/lib -pthread -L/usr/lib64 -Wl,-R/usr/pkg/lib -Wl,-R/usr/lib64
-- GALERA_SYSTEM_LIBS: /lib64/libpthread.a;/lib64/librt.a
-- GALERA_UNIT_TEST_LIBS: /home/pbulk/build/databases/galera/work/.buildlink/lib/libcheck.so;m;/lib64/libpthread.a;/lib64/librt.a
-- 
-- Configuring done (5.4s)
-- Generating done (0.2s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /home/pbulk/build/databases/galera/work/galera-release_26.4.13
=> Rewrite cmake Dependencies files