+ 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=mariadb106 WRKLOG=/tmp/bulklog/neko-2.3.0nb10/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent MYSQL_VERSION_REQD=mariadb106 WRKLOG=/tmp/bulklog/neko-2.3.0nb10/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.0nb10
==========================================================================
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.0nb10.  Their current value is shown below:

        * MYSQL_VERSION_DEFAULT = mariadb106
        * 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 = mariadb106

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.36.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.23.2
=> Tool dependency perl>=5.0: found perl-5.34.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency apache>=2.4.46nb1<2.5: found apache-2.4.54
=> Full dependency mariadb-client>=10.6.0<10.7.0: found mariadb-client-10.6.8
=> Full dependency zlib>=1.2.3: found zlib-1.2.12nb1
=> Full dependency pcre>=8.30nb1: found pcre-8.45
=> Full dependency sqlite3>=3.38.2nb1: found sqlite3-3.38.5
=> Full dependency mbedtls>=2.26.0: found mbedtls-2.26.0
=> Full dependency boehm-gc>=7.4: found boehm-gc-8.2.0nb1
===> Overriding tools for neko-2.3.0nb10
===> Extracting for neko-2.3.0nb10
===> Patching for neko-2.3.0nb10
=> Applying pkgsrc patches for neko-2.3.0nb10
=> 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.0nb10
/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.0nb10
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 10.3.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 "1.8.0") 
-- Found Git: /opt/pkg/bin/git (found version "2.36.1") 
-- GC: /opt/pkg/include
-- GC_LIBRARIES: /opt/pkg/lib/libgc.so
-- GC_STATIC_LIBRARIES: /opt/pkg/lib/libgc.a
-- Looking for pthread.h
-- Looking for pthread.h - found
-- 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.2.12
-- Found OpenSSL: /opt/pkg/lib/libcrypto.so (found version "1.1.1o")  
-- 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.38.5
-- 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
-- Found APACHE: /opt/pkg/include/httpd  
-- Found APR: /opt/pkg/lib/libapr-1.so
-- Found APRUTIL: /opt/pkg/lib/libaprutil-1.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pbulk/build/lang/neko/work/neko-2-3-0
=> Rewrite cmake Dependencies files