+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent MYSQL_VERSION_REQD=mariadb1011 WRKLOG=/tmp/bulklog/neko-2.3.0nb20/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent MYSQL_VERSION_REQD=mariadb1011 WRKLOG=/tmp/bulklog/neko-2.3.0nb20/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for neko-2.3.0.tar.gz
=> Checksum SHA512 OK for neko-2.3.0.tar.gz
===> Installing dependencies for neko-2.3.0nb20
==========================================================================
The supported build options for neko are:

	apache gtk2 mysql pcre sqlite ssl

The currently selected options are:

	apache mysql pcre sqlite ssl

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

	PKG_OPTIONS.neko (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
neko-2.3.0nb20.  Their current value is shown below:

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

Based on these variables, the following variables have been set:

        * MYSQL_VERSION = mariadb1011

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 git-base-[0-9]*: found git-base-2.43.2
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.28.3
=> Tool dependency perl>=5.0: found perl-5.38.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency apache>=2.4.58nb1<2.5: found apache-2.4.58nb2
=> Full dependency mariadb-client>=10.11.4nb1<10.12.0: found mariadb-client-10.11.6
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency pcre>=8.30nb1: found pcre-8.45
=> Full dependency sqlite3>=3.44.0nb1: found sqlite3-3.45.1
=> Full dependency mbedtls>=2.28.3nb1: found mbedtls-2.28.3nb1
=> Full dependency boehm-gc>=7.4: found boehm-gc-8.2.4
===> Overriding tools for neko-2.3.0nb20
===> Extracting for neko-2.3.0nb20
===> Patching for neko-2.3.0nb20
=> Applying pkgsrc patches for neko-2.3.0nb20
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/neko/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/neko/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/03/24 13:23:46 nia Exp $
|
|Specify additional systems which do not use libdl.
|
|--- CMakeLists.txt.orig	2018-12-22 14:27:53.412791761 -0800
|+++ CMakeLists.txt	2018-12-22 14:28:10.004843917 -0800
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 360.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/neko/patches/patch-libs_std_sys.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/neko/patches/patch-libs_std_sys.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libs_std_sys.c,v 1.1 2020/03/24 13:23:46 nia Exp $
|
|Workaround no uselocale on netbsd. (there's setlocale, though)
|
|--- libs/std/sys.c.orig	2017-12-19 06:38:08.000000000 +0000
|+++ libs/std/sys.c
--------------------------
Patching file libs/std/sys.c using Plan A...
Hunk #1 succeeded at 133.
done
===> Creating toolchain wrappers for neko-2.3.0nb20
/usr/bin/mkdir -p /home/pbulk/build/lang/neko/work/.buildlink/bin && /usr/bin/ln -fs ../sbin/apxs /home/pbulk/build/lang/neko/work/.buildlink/bin/apxs
/usr/bin/mkdir -p /home/pbulk/build/lang/neko/work/.buildlink/bin && /usr/bin/ln -fs apr-1-config /home/pbulk/build/lang/neko/work/.buildlink/bin/apr-config
/usr/bin/mkdir -p /home/pbulk/build/lang/neko/work/.buildlink/bin && /usr/bin/ln -fs apu-1-config /home/pbulk/build/lang/neko/work/.buildlink/bin/apu-config
===> Configuring for neko-2.3.0nb20
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:1 (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
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/lang/neko/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for xlocale.h
-- Looking for xlocale.h - found
-- set STATIC_DEPS to nothing
-- Found PkgConfig: /home/pbulk/build/lang/neko/work/.tools/bin/pkg-config (found version "2.1.1") 
-- Found Git: /opt/pkg/bin/git (found version "2.43.2") 
-- GC: /opt/pkg/include
-- GC_LIBRARIES: /opt/pkg/lib/libgc.so
-- GC_STATIC_LIBRARIES: /opt/pkg/lib/libgc.a
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
CMake Warning (dev) at CMakeLists.txt:646 (export):
  Policy CMP0103 is not set: Multiple export() with same FILE without APPEND
  is not allowed.  Run "cmake --help-policy CMP0103" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

  export() command already specified for the file

    /home/pbulk/build/lang/neko/work/neko-2-3-0/NekoTargets.cmake

  Did you miss 'APPEND' keyword?
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning at CMakeLists.txt:763 (message):
  unknown SunOS


-- Checking for module 'zlib'
--   Found zlib, version 1.3.1
-- Found OpenSSL: /opt/pkg/lib/libcrypto.so (found version "3.1.5")  
-- Found dynamic MySQL client library: /opt/pkg/lib/libmariadbclient.a
-- Found statc MySQL client library: /opt/pkg/lib/libmariadbclient.a
-- Looking for LIBMARIADB
-- Looking for LIBMARIADB - found
-- Found MariaDB Connector-C
-- Found PCRE 
-- Checking for module 'sqlite3'
--   Found sqlite3, version 3.45.1
-- Found MBEDTLS_LIBRARIES: /opt/pkg/lib/libmbedtls.so;/opt/pkg/lib/libmbedcrypto.so;/opt/pkg/lib/libmbedx509.so
-- Found MBEDTLS_STATIC_LIBRARIES: /opt/pkg/lib/libmbedtls.a;/opt/pkg/lib/libmbedx509.a;/opt/pkg/lib/libmbedcrypto.a
CMake Warning (dev) at cmake/FindAPACHE.cmake:28 (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.
Call Stack (most recent call first):
  libs/CMakeLists.txt:185 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found APACHE: /opt/pkg/include/httpd  
-- Found APR: /opt/pkg/lib/libapr-1.so
-- Found APRUTIL: /opt/pkg/lib/libaprutil-1.so
-- Configuring done (12.3s)
-- Generating done (0.1s)
-- Build files have been written to: /home/pbulk/build/lang/neko/work/neko-2-3-0
=> Rewrite cmake Dependencies files