=> 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 mysql-connector-c++-1.1.8.tar.gz
=> Checksum RMD160 OK for mysql-connector-c++-1.1.8.tar.gz
=> Checksum SHA512 OK for mysql-connector-c++-1.1.8.tar.gz
===> Installing dependencies for mysql-connector-c++-1.1.8
==========================================================================
The following variables will affect the build process of this package,
mysql-connector-c++-1.1.8.  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 cmake>=2.8.1nb1: found cmake-3.17.1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency boost-headers-1.72.*: found boost-headers-1.72.0
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency mysql-client>=5.7.28nb2<5.8: found mysql-client-5.7.29
===> Overriding tools for mysql-connector-c++-1.1.8
===> Extracting for mysql-connector-c++-1.1.8
===> Patching for mysql-connector-c++-1.1.8
=> Applying pkgsrc patches for mysql-connector-c++-1.1.8
=> Verifying /data/pkgsrc/databases/mysql-connector-c++/patches/patch-driver_mysql__resultbind.cpp
=> Applying pkgsrc patch /data/pkgsrc/databases/mysql-connector-c++/patches/patch-driver_mysql__resultbind.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-driver_mysql__resultbind.cpp,v 1.2 2017/01/12 12:24:09 adam Exp $
|
|https://bugs.mysql.com/bug.php?id=80539
|
|--- driver/mysql_resultbind.cpp.orig	2016-12-14 09:58:54.000000000 +0000
|+++ driver/mysql_resultbind.cpp
--------------------------
Patching file driver/mysql_resultbind.cpp using Plan A...
Hunk #1 succeeded at 88.
done
===> Creating toolchain wrappers for mysql-connector-c++-1.1.8
===> Configuring for mysql-connector-c++-1.1.8
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in ./CMakeLists.txt.
=> Checking for portability problems in extracted files
-- The C compiler identification is Clang 10.0.10
-- The CXX compiler identification is Clang 10.0.10
CMake Warning (dev) at /usr/pkg/share/cmake-3.17/Modules/Platform/NetBSD.cmake:15 (include):
  File /usr/pkg/share/cmake-3.17/Modules/Platform/NetBSD.cmake includes
  /data/scratch/databases/mysql-connector-c++/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.17/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.17/Modules/CMakeSystemSpecificInformation.cmake:26 (include)
  CMakeLists.txt:26 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

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

-- Check for working C compiler: /data/scratch/databases/mysql-connector-c++/work/.cwrapper/bin/clang
-- Check for working C compiler: /data/scratch/databases/mysql-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
CMake Warning (dev) at /usr/pkg/share/cmake-3.17/Modules/Platform/NetBSD.cmake:15 (include):
  File /usr/pkg/share/cmake-3.17/Modules/Platform/NetBSD.cmake includes
  /data/scratch/databases/mysql-connector-c++/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.17/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.17/Modules/CMakeCXXInformation.cmake:65 (include)
  CMakeLists.txt:26 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working CXX compiler: /data/scratch/databases/mysql-connector-c++/work/.cwrapper/bin/clang++
-- Check for working CXX compiler: /data/scratch/databases/mysql-connector-c++/work/.cwrapper/bin/clang++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: /data/scratch/databases/mysql-connector-c++/work/.buildlink/include (found version "1.72.0")  
-- BOOST_INCLUDE_DIRS=/data/scratch/databases/mysql-connector-c++/work/.buildlink/include
-- You will link dynamically to the MySQL client library (set with -DMYSQLCLIENT_STATIC_LINKING=<bool>)
-- Searching for dynamic libraries with the base name(s) "mysqlclient_r mysqlclient"
-- mysql_config was found /usr/pkg/bin/mysql_config
-- MySQL client environment/cmake variables set that the user can override
--   MYSQL_DIR                   : 
--   MYSQL_INCLUDE_DIR           : /usr/pkg/include/mysql
--   MYSQL_LIB_DIR               : /usr/pkg/lib
--   MYSQL_CONFIG_EXECUTABLE     : /usr/pkg/bin/mysql_config
--   MYSQL_CXX_LINKAGE           : 1
--   MYSQL_CFLAGS                : -I/usr/pkg/include/mysql
--   MYSQL_CXXFLAGS              : -I/usr/pkg/include/mysql
--   MYSQLCLIENT_STATIC_LINKING  : 
--   MYSQLCLIENT_NO_THREADS      : 
-- MySQL client optional environment/cmake variables set by the user
--   MYSQL_EXTRA_LIBRARIES       : 
--   MYSQL_LINK_FLAGS            : 
-- MySQL client settings that the user can't override
--   MYSQL_VERSION               : 5.7.29
--   MYSQL_VERSION_ID            : 50729
--   MYSQL_LIB                   : /usr/pkg/lib/libmysqlclient.so
--   MYSQL_LIBRARIES             : mysqlclient;pthread;z;m;execinfo;ssl;crypto
-- USE_SERVER_FLAGS : OFF
-- Environment compile flags: -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/mysql -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/mysql
-- Environment link flags: -L/usr/pkg/lib -pthread -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib
-- Installation path is: /usr/pkg   (overwrite with -DCMAKE_INSTALL_PREFIX=/your/path)
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int8_t
-- Check size of int8_t - done
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Check size of int16_t
-- Check size of int16_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of uint64_t
-- Check size of uint64_t - done
-- Check size of __int8
-- Check size of __int8 - failed
-- Check size of unsigned __int8
-- Check size of unsigned __int8 - failed
-- Check size of __int16
-- Check size of __int16 - failed
-- Check size of unsigned __int16
-- Check size of unsigned __int16 - failed
-- Check size of __int32
-- Check size of __int32 - failed
-- Check size of unsigned __int32
-- Check size of unsigned __int32 - failed
-- Check size of __int64
-- Check size of __int64 - failed
-- Check size of unsigned __int64
-- Check size of unsigned __int64 - failed
-- Looking for strtold
-- Looking for strtold - 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 strtoimax
-- Looking for strtoimax - found
-- Looking for strtoumax
-- Looking for strtoumax - found
-- Using static libmysql binding
-- DT_RPATH will not be set
-- Configuring driver
-- MySQL dynamic load test library: /usr/pkg/lib/libmysqlclient.so
-- Configuring examples
-- Configuring test cases
-- Configuring tests framework lib
-- Configuring C/J junit tests port
-- MySQL dynamic load test library: /usr/pkg/lib/libmysqlclient.so
-- Configuring unit tests
-- Configuring unit tests - examples
-- Configuring unit tests - connection
-- Configuring unit tests - databasemetadata
-- Configuring unit tests - resultsetmetadata
-- Configuring unit tests - resultset
-- Configuring unit tests - savepoint
-- Configuring unit tests - preparedstatement
-- Configuring unit tests - parametermetadata
-- Configuring unit tests - art_resultset
-- Configuring unit tests - statement
-- Configuring unit tests - uri
-- Configuring unit tests - variant
-- Configuring performance test - statement
-- Configuring bugs test cases - unsorted
-- Configuring unit tests - group template_bug
-- Configuring done
CMake Warning (dev) in driver/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "mysqlcppconn" has an INTERFACE_LINK_LIBRARIES property which
  differs from its LINK_INTERFACE_LIBRARIES properties.

  INTERFACE_LINK_LIBRARIES:

    mysqlclient;pthread;z;m;execinfo;ssl;crypto

  LINK_INTERFACE_LIBRARIES:

    

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /data/scratch/databases/mysql-connector-c++/work/mysql-connector-c++-1.1.8
=> Rewrite cmake Dependencies files