+ 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/galera-26.4.13nb4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/galera-26.4.13nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> 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.13nb4
==========================================================================
The following variables will affect the build process of this package,
galera-26.4.13nb4.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/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
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.29.6
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency boost-headers-1.85.*: found boost-headers-1.85.0nb1
=> Full dependency boost-libs-1.85.*: found boost-libs-1.85.0nb1
=> Full dependency boost-libs>=1.85.0: found boost-libs-1.85.0nb1
=> Full dependency openssl>=3: found openssl-3.3.1
=> Full dependency check>=0.9.5: found check-0.15.2
===> Overriding tools for galera-26.4.13nb4
===> Extracting for galera-26.4.13nb4
cd /home/pbulk/build/databases/galera/work/wsrep-* && /usr/bin/mv * /home/pbulk/build/databases/galera/work/galera-release_26.4.13/wsrep/src/
===> Patching for galera-26.4.13nb4
=> Applying pkgsrc patches for galera-26.4.13nb4
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/galera/patches/patch-asio_asio_detail_impl_kqueue__reactor.ipp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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-upstream-bulktest/databases/galera/patches/patch-cmake_crc32c.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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-upstream-bulktest/databases/galera/patches/patch-galerautils_SConscript
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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-upstream-bulktest/databases/galera/patches/patch-galerautils_src_gu__arch.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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-upstream-bulktest/databases/galera/patches/patch-galerautils_src_gu__asio__socket__util.hpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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-upstream-bulktest/databases/galera/patches/patch-galerautils_src_gu__crc32c__arm64.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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-upstream-bulktest/databases/galera/patches/patch-galerautils_src_gu__errno.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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-upstream-bulktest/databases/galera/patches/patch-galerautils_src_gu__fdesc.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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-upstream-bulktest/databases/galera/patches/patch-galerautils_src_gu__limits.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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-upstream-bulktest/databases/galera/patches/patch-galerautils_src_gu__resolver.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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-upstream-bulktest/databases/galera/patches/patch-galerautils_src_gu__system.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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-upstream-bulktest/databases/galera/patches/patch-galerautils_src_gu__thread.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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-upstream-bulktest/databases/galera/patches/patch-gcs_src_gcs__spread.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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.13nb4
===> Configuring for galera-26.4.13nb4
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
-- CMake version 3.29.6
CMake Deprecation Warning at CMakeLists.txt:6 (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.3.0
-- The CXX compiler identification is GNU 13.3.0
CMake Warning (dev) at /opt/pkg/share/cmake-3.29/Modules/Platform/SunOS.cmake:34 (include):
  File /opt/pkg/share/cmake-3.29/Modules/Platform/SunOS.cmake includes
  /home/pbulk/build/databases/galera/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /opt/pkg/share/cmake-3.29/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):
  /opt/pkg/share/cmake-3.29/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/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/galera/work/.cwrapper/bin/g++ - 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.


-- Building Galera version: '4.13' revision: '' git revision: 'XXXX' wsrep-API version '26'
-- CMAKE_SYSTEM_NAME: SunOS
-- CMAKE_SYSTEM_PROCESSOR: i386
-- Galera system libs: /lib/64/libpthread.so;/lib/64/librt.so
-- Found OpenSSL: /home/pbulk/build/databases/galera/work/.buildlink/lib/libcrypto.so (found version "3.3.1")
-- /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
-- Found Boost: /home/pbulk/build/databases/galera/work/.buildlink/include (found suitable version "1.85.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 i386
-- No hardware CRC support
-- 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 - found
-- Looking for byteswap.h
-- Looking for byteswap.h - not 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
-- 
-- 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;GU_CRC32C_NO_HARDWARE;HAVE_ENDIAN_H;HAVE_BOOST_SHARED_PTR_HPP;HAVE_STD_UNORDERED_MAP
-- CMAKE_C_FLAGS: -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -Wextra -g
-- CMAKE_CXX_FLAGS: -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -Wextra -Woverloaded-virtual -g
-- CMAKE_EXE_LINKER_FLAGS: -L/opt/pkg/lib -pthread -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib
-- GALERA_SYSTEM_LIBS: /lib/64/libpthread.so;/lib/64/librt.so
-- GALERA_UNIT_TEST_LIBS: /home/pbulk/build/databases/galera/work/.buildlink/lib/libcheck.so;m;/lib/64/libpthread.so;/lib/64/librt.so
-- 
-- Configuring done (12.8s)
-- Generating done (0.3s)
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