+ 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/anope-2.0.15nb5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/anope-2.0.15nb5/work.log
WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> Checksum BLAKE2s OK for anope-2.0.15.tar.gz
=> Checksum SHA512 OK for anope-2.0.15.tar.gz
===> Installing dependencies for anope-2.0.15nb5
==========================================================================
The supported build options for anope are:

	gnutls ldap mysql openssl pcre sqlite3

The currently selected options are:

	gnutls

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

	PKG_OPTIONS.anope (not defined)

==========================================================================
=> Tool dependency cmake>=3.18: found cmake-3.31.1
=> 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
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency gnutls>=3.8.8nb2: found gnutls-3.8.8nb2
=> Full dependency gmp>=6.0: found gmp-6.3.0
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency libtasn1>=0.2.7: found libtasn1-4.19.0
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency nettle>=3.4.1: found nettle-3.10
=> Full dependency p11-kit>=0.23: found p11-kit-0.25.5
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for anope-2.0.15nb5
===> Extracting for anope-2.0.15nb5
===> Patching for anope-2.0.15nb5
=> Applying pkgsrc patches for anope-2.0.15nb5
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/anope/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/anope/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.1 2020/01/10 15:27:25 nia Exp $
|
|Don't try to use epoll on SunOS, causes the build to fail
|
|--- CMakeLists.txt.orig	2019-03-31 02:13:04.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 367 (offset 3 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/anope/patches/patch-data_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/anope/patches/patch-data_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-data_CMakeLists.txt,v 1.1 2019/12/08 03:55:05 nia Exp $
|
|Install config file to examples.
|
|--- data/CMakeLists.txt.orig	2019-03-19 19:11:06.000000000 +0000
|+++ data/CMakeLists.txt
--------------------------
Patching file data/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 2.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/anope/patches/patch-data_example.conf
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/anope/patches/patch-data_example.conf
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-data_example.conf,v 1.3 2020/03/29 06:56:48 rillig Exp $
|
|Fix config file filenames for pkgsrc's CONF_FILES system.
|
|--- data/example.conf.orig	2019-10-14 14:51:20.000000000 +0000
|+++ data/example.conf
--------------------------
Patching file data/example.conf using Plan A...
Hunk #1 succeeded at 238 (offset 3 lines).
Hunk #2 succeeded at 568 (offset 3 lines).
Hunk #3 succeeded at 581 (offset 3 lines).
Hunk #4 succeeded at 594 (offset 3 lines).
Hunk #5 succeeded at 607 (offset 3 lines).
Hunk #6 succeeded at 620 (offset 3 lines).
Hunk #7 succeeded at 633 (offset 3 lines).
Hunk #8 succeeded at 646 (offset 3 lines).
Hunk #9 succeeded at 1276 (offset 10 lines).
Hunk #10 succeeded at 1279 (offset 3 lines).
Hunk #11 succeeded at 1299 (offset 10 lines).
done
===> Creating toolchain wrappers for anope-2.0.15nb5
===> Configuring for anope-2.0.15nb5
=> Set variables in configuration file.
/usr/bin/ln -sf /home/pbulk/build/chat/anope/work/anope-2.0.15/modules/extra/m_ssl_gnutls.cpp /home/pbulk/build/chat/anope/work/anope-2.0.15/modules/m_ssl_gnutls.cpp
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:2 (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.


CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
  The OLD behavior for policy CMP0026 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.


CMake Deprecation Warning at CMakeLists.txt:9 (cmake_policy):
  The OLD behavior for policy CMP0007 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.


-- The CXX compiler identification is GNU 13.3.0
CMake Warning (dev) at /opt/pkg/share/cmake-3.31/Modules/Platform/SunOS.cmake:20 (include):
  File /opt/pkg/share/cmake-3.31/Modules/Platform/SunOS.cmake includes
  /home/pbulk/build/chat/anope/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /opt/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):
  /opt/pkg/share/cmake-3.31/Modules/CMakeSystemSpecificInformation.cmake:32 (include)
  CMakeLists.txt:14 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/chat/anope/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C 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/chat/anope/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking to see if CXX compiler accepts flag -pipe
-- Checking to see if CXX compiler accepts flag -pipe - yes
-- Looking for socket in socket
-- Looking for socket in socket - found
-- Looking for inet_addr in nsl
-- Looking for inet_addr in nsl - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for cstdint
-- Looking for cstdint - not found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for stricmp
-- Looking for stricmp - not found
-- Looking for umask
-- Looking for umask - found
-- Looking for poll
-- Looking for poll - found
-- Looking for kqueue
-- Looking for kqueue - not found
-- Configuring done (225.9s)
-- Generating done (1.2s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LOCALEDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /home/pbulk/build/chat/anope/work/anope-2.0.15
=> Rewrite cmake Dependencies files