=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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 mariadb-connector-c-3.0.3.tar.gz
=> Checksum RMD160 OK for mariadb-connector-c-3.0.3.tar.gz
=> Checksum SHA512 OK for mariadb-connector-c-3.0.3.tar.gz
===> Installing dependencies for mariadb-connector-c-3.0.3nb1
==========================================================================
The supported build options for mariadb-connector-c are:

	curl kerberos

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

	PKG_OPTIONS.mariadb-connector-c (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
mariadb-connector-c-3.0.3nb1.  Their current value is shown below:

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

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 cmake>=2.8.1nb1: found cmake-3.11.3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
===> Overriding tools for mariadb-connector-c-3.0.3nb1
===> Extracting for mariadb-connector-c-3.0.3nb1
tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes.
===> Patching for mariadb-connector-c-3.0.3nb1
=> Applying pkgsrc patches for mariadb-connector-c-3.0.3nb1
=> Verifying /data/pkgsrc/databases/mariadb-connector-c/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/pkgsrc/databases/mariadb-connector-c/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 2018/04/13 08:04:14 fhajny Exp $
|
|Make sure Kerberos/GSS support can be turned off.
|
|--- CMakeLists.txt.orig	2018-01-17 11:43:58.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 25.
Hunk #2 succeeded at 63.
Hunk #3 succeeded at 89.
Hunk #4 succeeded at 375.
done
=> Verifying /data/pkgsrc/databases/mariadb-connector-c/patches/patch-cmake_CheckTypes.cmake
=> Applying pkgsrc patch /data/pkgsrc/databases/mariadb-connector-c/patches/patch-cmake_CheckTypes.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_CheckTypes.cmake,v 1.1 2018/04/13 08:04:14 fhajny Exp $
|
|Using socket types needs libsocket on at least SunOS.
|
|--- cmake/CheckTypes.cmake.orig	2017-01-17 09:53:54.000000000 +0000
|+++ cmake/CheckTypes.cmake
--------------------------
Patching file cmake/CheckTypes.cmake using Plan A...
Hunk #1 succeeded at 97 (offset -1 lines).
done
=> Verifying /data/pkgsrc/databases/mariadb-connector-c/patches/patch-cmake_plugins.cmake
=> Applying pkgsrc patch /data/pkgsrc/databases/mariadb-connector-c/patches/patch-cmake_plugins.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_plugins.cmake,v 1.1 2018/04/13 08:04:14 fhajny Exp $
|
|Make sure curl support can be turned off.
|
|--- cmake/plugins.cmake.orig	2018-01-17 11:43:58.000000000 +0000
|+++ cmake/plugins.cmake
--------------------------
Patching file cmake/plugins.cmake using Plan A...
Hunk #1 succeeded at 96.
done
=> Verifying /data/pkgsrc/databases/mariadb-connector-c/patches/patch-libmariadb_ma__context.c
=> Applying pkgsrc patch /data/pkgsrc/databases/mariadb-connector-c/patches/patch-libmariadb_ma__context.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libmariadb_ma__context.c,v 1.1 2018/04/13 08:04:14 fhajny Exp $
|
|Fix incorrect assembler syntax.
|
|--- libmariadb/ma_context.c.orig	2018-01-17 11:43:58.000000000 +0000
|+++ libmariadb/ma_context.c
--------------------------
Patching file libmariadb/ma_context.c using Plan A...
Hunk #1 succeeded at 200.
Hunk #2 succeeded at 241.
Hunk #3 succeeded at 262.
Hunk #4 succeeded at 312.
Hunk #5 succeeded at 328.
Hunk #6 succeeded at 357.
Hunk #7 succeeded at 445.
Hunk #8 succeeded at 486.
Hunk #9 succeeded at 506.
Hunk #10 succeeded at 552.
Hunk #11 succeeded at 568.
Hunk #12 succeeded at 595.
done
===> Creating toolchain wrappers for mariadb-connector-c-3.0.3nb1
===> Configuring for mariadb-connector-c-3.0.3nb1
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in ./CMakeLists.txt.
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:13 (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:13 (CMAKE_POLICY):
  The OLD behavior for policy CMP0042 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:13 (CMAKE_POLICY):
  The OLD behavior for policy CMP0045 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 C compiler identification is Clang 5.0.5
CMake Warning (dev) at /usr/pkg/share/cmake-3.11/Modules/Platform/NetBSD.cmake:13 (include):
  File /usr/pkg/share/cmake-3.11/Modules/Platform/NetBSD.cmake includes
  /data/scratch/databases/mariadb-connector-c/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.11/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):
  /usr/pkg/share/cmake-3.11/Modules/CMakeSystemSpecificInformation.cmake:26 (include)
  CMakeLists.txt:20 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/pkg/share/cmake-3.11/Modules/Platform/NetBSD.cmake:13 (include):
  File /usr/pkg/share/cmake-3.11/Modules/Platform/NetBSD.cmake includes
  /data/scratch/databases/mariadb-connector-c/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.11/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):
  /usr/pkg/share/cmake-3.11/Modules/CMakeCInformation.cmake:66 (include)
  CMakeLists.txt:20 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working C compiler: /data/scratch/databases/mariadb-connector-c/work/.cwrapper/bin/clang
-- Check for working C compiler: /data/scratch/databases/mariadb-connector-c/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
-- Plugin configuration:
-- SOCKET: STATIC
-- AUTH_NATIVE: STATIC
-- AUTH_OLDPASSWORD: STATIC
-- AUTH_DIALOG: DYNAMIC
-- AUTH_CLEARTEXT: DYNAMIC
-- TRACE_EXAMPLE: OFF
-- REPLICATION: OFF
-- AURORA: OFF
-- STATIC PLUGIN SOURCES: /data/scratch/databases/mariadb-connector-c/work/mariadb-connector-c-3.0.3/plugins/pvio/pvio_socket.c;/data/scratch/databases/mariadb-connector-c/work/mariadb-connector-c-3.0.3/plugins/auth/my_auth.c;/data/scratch/databases/mariadb-connector-c/work/mariadb-connector-c-3.0.3/plugins/auth/old_password.c
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Found ZLIB: /lib/libz.so (found version "1.2.10") 
-- 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
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for floor
-- Looking for floor - not found
-- Looking for floor in m
-- Looking for floor in m - found
-- Looking for pthread_getspecific
-- Looking for pthread_getspecific - not found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for setsockopt
-- Looking for setsockopt - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- 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  
-- Looking for include file alloca.h
-- Looking for include file alloca.h - not found
-- Looking for include file arpa/inet.h
-- Looking for include file arpa/inet.h - found
-- Looking for include file crypt.h
-- Looking for include file crypt.h - not found
-- Looking for include file dirent.h
-- Looking for include file dirent.h - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file execinfo.h
-- Looking for include file execinfo.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file fenv.h
-- Looking for include file fenv.h - found
-- Looking for include file float.h
-- Looking for include file float.h - found
-- Looking for include file fpu/control.h
-- Looking for include file fpu/control.h - not found
-- Looking for include file grp.h
-- Looking for include file grp.h - found
-- Looking for include file ieeefp.h
-- Looking for include file ieeefp.h - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file netinet/in.h
-- Looking for include file netinet/in.h - found
-- Looking for include file paths.h
-- Looking for include file paths.h - found
-- Looking for include file pwd.h
-- Looking for include file pwd.h - found
-- Looking for include file sched.h
-- Looking for include file sched.h - found
-- Looking for include file select.h
-- Looking for include file select.h - not found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file synch.h
-- Looking for include file synch.h - not found
-- Looking for include file sys/fpu.h
-- Looking for include file sys/fpu.h - not found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - found
-- Looking for include file sys/ipc.h
-- Looking for include file sys/ipc.h - found
-- Looking for include file sys/mman.h
-- Looking for include file sys/mman.h - found
-- Looking for include file sys/prctl.h
-- Looking for include file sys/prctl.h - not found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Looking for include file sys/shm.h
-- Looking for include file sys/shm.h - found
-- Looking for include file sys/socket.h
-- Looking for include file sys/socket.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/stream.h
-- Looking for include file sys/stream.h - not found
-- Looking for include file sys/timeb.h
-- Looking for include file sys/timeb.h - not found
-- Looking for include file sys/un.h
-- Looking for include file sys/un.h - found
-- Looking for include file sysent.h
-- Looking for include file sysent.h - not found
-- Looking for include file termio.h
-- Looking for include file termio.h - not found
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file utime.h
-- Looking for include file utime.h - found
-- Looking for include file ucontext.h
-- Looking for include file ucontext.h - found
-- Looking for access
-- Looking for access - found
-- Looking for aiowait
-- Looking for aiowait - not found
-- Looking for alarm
-- Looking for alarm - found
-- Looking for alloca
-- Looking for alloca - found
-- Looking for bcmp
-- Looking for bcmp - found
-- Looking for bfill
-- Looking for bfill - not found
-- Looking for bmove
-- Looking for bmove - not found
-- Looking for bzero
-- Looking for bzero - found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for compress
-- Looking for compress - found
-- Looking for crypt
-- Looking for crypt - not found
-- Looking for dlerror
-- Looking for dlerror - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for fchmod
-- Looking for fchmod - found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for fconvert
-- Looking for fconvert - not found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Looking for fesetround
-- Looking for fesetround - found
-- Looking for finite
-- Looking for finite - found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for fsync
-- Looking for fsync - found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for getcwd
-- Looking for getcwd - found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for gethrtime
-- Looking for gethrtime - not found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for getpass
-- Looking for getpass - found
-- Looking for getpassphrase
-- Looking for getpassphrase - not found
-- Looking for getpwnam
-- Looking for getpwnam - found
-- Looking for getpwuid
-- Looking for getpwuid - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for getwd
-- Looking for getwd - found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for initgroups
-- Looking for initgroups - found
-- Looking for ldiv
-- Looking for ldiv - found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for log2
-- Looking for log2 - found
-- Looking for longjmp
-- Looking for longjmp - not found
-- Looking for lstat
-- Looking for lstat - found
-- Looking for madvise
-- Looking for madvise - found
-- Looking for mallinfo
-- Looking for mallinfo - not found
-- Looking for memalign
-- Looking for memalign - not found
-- Looking for memcpy
-- Looking for memcpy - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for mlock
-- Looking for mlock - found
-- Looking for mlockall
-- Looking for mlockall - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for mmap64
-- Looking for mmap64 - not found
-- Looking for nl_langinfo
-- Looking for nl_langinfo - found
-- Looking for setlocale
-- Looking for setlocale - found
-- Looking for perror
-- Looking for perror - found
-- Looking for poll
-- Looking for poll - found
-- Looking for pread
-- Looking for pread - found
-- Looking for pthread_attr_create
-- Looking for pthread_attr_create - not found
-- Looking for pthread_attr_getstacksize
-- Looking for pthread_attr_getstacksize - found
-- Looking for pthread_attr_setprio
-- Looking for pthread_attr_setprio - not found
-- Looking for pthread_attr_setschedparam
-- Looking for pthread_attr_setschedparam - found
-- Looking for pthread_attr_setscope
-- Looking for pthread_attr_setscope - found
-- Looking for pthread_attr_setstacksize
-- Looking for pthread_attr_setstacksize - found
-- Looking for pthread_condattr_create
-- Looking for pthread_condattr_create - not found
-- Looking for pthread_init
-- Looking for pthread_init - not found
-- Looking for pthread_key_delete
-- Looking for pthread_key_delete - found
-- Looking for pthread_kill
-- Looking for pthread_kill - found
-- Looking for pthread_rwlock_rdlock
-- Looking for pthread_rwlock_rdlock - found
-- Looking for pthread_setprio_np
-- Looking for pthread_setprio_np - not found
-- Looking for pthread_setschedparam
-- Looking for pthread_setschedparam - found
-- Looking for pthread_sigmask
-- Looking for pthread_sigmask - found
-- Looking for pthread_threadmask
-- Looking for pthread_threadmask - not found
-- Looking for pthread_yield_np
-- Looking for pthread_yield_np - not found
-- Looking for readdir_r
-- Looking for readdir_r - found
-- Looking for readlink
-- Looking for readlink - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for rename
-- Looking for rename - found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for select
-- Looking for select - found
-- Looking for setfd
-- Looking for setfd - not found
-- Looking for setfilepointer
-- Looking for setfilepointer - not found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for sigthreadmask
-- Looking for sigthreadmask - not found
-- Looking for sigwait
-- Looking for sigwait - found
-- Looking for sleep
-- Looking for sleep - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for stpcpy
-- Looking for stpcpy - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Looking for strnlen
-- Looking for strnlen - found
-- Looking for strpbrk
-- Looking for strpbrk - found
-- Looking for strsep
-- Looking for strsep - found
-- Looking for strstr
-- Looking for strstr - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoul
-- Looking for strtoul - found
-- Looking for strtoull
-- Looking for strtoull - found
-- Looking for tell
-- Looking for tell - not found
-- Looking for thr_setconcurrency
-- Looking for thr_setconcurrency - not found
-- Looking for thr_yield
-- Looking for thr_yield - not found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Check size of sigset_t
-- Check size of sigset_t - done
-- Check size of char
-- Check size of char - done
-- Check size of char *
-- Check size of char * - done
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of off_t
-- Check size of off_t - done
-- Check size of uchar
-- Check size of uchar - failed
-- Check size of uint
-- Check size of uint - done
-- Check size of ulong
-- Check size of ulong - done
-- Check size of int8
-- Check size of int8 - failed
-- Check size of uint8
-- Check size of uint8 - failed
-- Check size of int16
-- Check size of int16 - failed
-- Check size of uint16
-- Check size of uint16 - failed
-- Check size of int32
-- Check size of int32 - failed
-- Check size of uint32
-- Check size of uint32 - failed
-- Check size of u_int32_t
-- Check size of u_int32_t - done
-- Check size of int64
-- Check size of int64 - failed
-- Check size of uint64
-- Check size of uint64 - failed
-- Check size of socklen_t
-- Check size of socklen_t - failed
-- Performing Test IS_VOID_SIGNAL
-- Performing Test IS_VOID_SIGNAL - Success
-- Performing Test IS_VOID_QSORT
-- Performing Test IS_VOID_QSORT - Success
-- Performing Test SOCKET_SIZE_FOUND_socklen_t
-- Performing Test SOCKET_SIZE_FOUND_socklen_t - Success
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.0h") 
-- TLS library/version: OpenSSL 1.1.0h
-- SYSTEM_LIBS /lib/libz.so;m;pthread;pthread;m;/usr/lib/libssl.so;/usr/lib/libcrypto.so
-- Dynamic column API support: ON
-- GSSAPI: 
SYSTEM processor: x86_64
-- MariaDB Connector/c configuration:
-- CPack generation: TGZ
-- SSL support: OPENSSL Libs: /usr/lib/libssl.so;/usr/lib/libcrypto.so
-- Zlib support: ON
-- Installation layout: DEFAULT
-- Include files will be installed in include/mariadb
-- Libraries will be installed in lib/mariadb
-- Binaries will be installed in bin
-- Documentation included from 
-- Required: 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /data/scratch/databases/mariadb-connector-c/work/mariadb-connector-c-3.0.3
=> Rewrite cmake Dependencies files