=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for neko-2.3.0.tar.gz
=> Checksum RMD160 OK for neko-2.3.0.tar.gz
=> Checksum SHA512 OK for neko-2.3.0.tar.gz
===> Installing dependencies for neko-2.3.0nb1
==========================================================================
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.0nb1.  Their current value is shown below:

        * MYSQL_VERSION_DEFAULT = 57
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

        * MYSQL_PKGSRCDIR = ../../databases/mysql57-client

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency git-base-[0-9]*: found git-base-2.26.2nb1
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.17.2nb2
=> Tool dependency perl>=5.0: found perl-5.30.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency apache>=2.4.41nb3<2.5: found apache-2.4.43nb2
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency mysql-client>=5.7.28nb2<5.8: found mysql-client-5.7.30
=> Full dependency pcre>=8.30nb1: found pcre-8.44
=> Full dependency mbedtls>=0.10.0: found mbedtls-2.16.6
=> Full dependency boehm-gc>=7.4: found boehm-gc-8.0.4nb1
===> Overriding tools for neko-2.3.0nb1
===> Extracting for neko-2.3.0nb1
===> Patching for neko-2.3.0nb1
=> Applying pkgsrc patches for neko-2.3.0nb1
=> Verifying /data/pkgsrc/lang/neko/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/pkgsrc/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/pkgsrc/lang/neko/patches/patch-libs_std_sys.c
=> Applying pkgsrc patch /data/pkgsrc/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.0nb1
/bin/mkdir -p /data/scratch/lang/neko/work/.buildlink/bin && /bin/ln -fs ../sbin/apxs /data/scratch/lang/neko/work/.buildlink/bin/apxs
/bin/mkdir -p /data/scratch/lang/neko/work/.buildlink/bin && /bin/ln -fs apr-1-config /data/scratch/lang/neko/work/.buildlink/bin/apr-config
/bin/mkdir -p /data/scratch/lang/neko/work/.buildlink/bin && /bin/ln -fs apu-1-config /data/scratch/lang/neko/work/.buildlink/bin/apu-config
===> Configuring for neko-2.3.0nb1
=> Generating pkg-config file for builtin expat package.
=> Generating pkg-config files for builtin libevent package.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- The C compiler identification is Clang 10.0.10
-- Check for working C compiler: /data/scratch/lang/neko/work/.cwrapper/bin/clang
-- Check for working C compiler: /data/scratch/lang/neko/work/.cwrapper/bin/clang - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Searching 16 bit integer - Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for xlocale.h
-- Looking for xlocale.h - not found
-- set STATIC_DEPS to nothing
-- Found PkgConfig: /data/scratch/lang/neko/work/.tools/bin/pkg-config (found version "1.6.0") 
-- Found Git: /usr/pkg/bin/git (found version "2.26.2") 
-- GC: /usr/pkg/include
-- GC_LIBRARIES: /usr/pkg/lib/libgc.so
-- GC_STATIC_LIBRARIES: /usr/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 - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
CMake Warning at CMakeLists.txt:763 (message):
  unknown NetBSD


-- Checking for module 'zlib'
--   Found zlib, version 1.2.10
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1g")  
-- Found dynamic MySQL client library: /usr/pkg/lib/libmysqlclient.so
-- Found statc MySQL client library: /usr/pkg/lib/libmysqlclient.a
-- Looking for LIBMARIADB
-- Looking for LIBMARIADB - not found
-- Found PCRE 
-- Checking for module 'sqlite3'
--   Found sqlite3, version 3.26.0
-- Found MBEDTLS_LIBRARIES: /usr/pkg/lib/libmbedtls.so;/usr/pkg/lib/libmbedcrypto.so;/usr/pkg/lib/libmbedx509.so
-- Found MBEDTLS_STATIC_LIBRARIES: /usr/pkg/lib/libmbedtls.a;/usr/pkg/lib/libmbedx509.a;/usr/pkg/lib/libmbedcrypto.a
-- Found APACHE: /usr/pkg/include/httpd  
-- Found APR: /usr/pkg/lib/libapr-1.so
-- Found APRUTIL: /usr/pkg/lib/libaprutil-1.so
-- Configuring done
-- Generating done
-- Build files have been written to: /data/scratch/lang/neko/work/neko-2-3-0
=> Rewrite cmake Dependencies files
