=> Bootstrap dependency digest>=20010302: found digest-20190127 => 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 (defined) * SSLCERTS = /opt/pkg/etc/openssl/certs * SSLDIR = /opt/pkg/etc/openssl * SSLKEYS = /opt/pkg/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 `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency cmake>=2.8.1nb1: found cmake-3.19.2 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency boost-headers-1.75.*: found boost-headers-1.75.0 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency mysql-client>=5.7.28nb2<5.8: found mysql-client-5.7.32nb1 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> 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 /opt/pkgsrc/databases/mysql-connector-c++/patches/patch-driver_mysql__resultbind.cpp => Applying pkgsrc patch /opt/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 AppleClang 12.0.0.12000032 -- The CXX compiler identification is AppleClang 12.0.0.12000032 CMake Warning (dev) at /opt/pkg/share/cmake-3.19/Modules/Platform/Darwin.cmake:218 (include): File /opt/pkg/share/cmake-3.19/Modules/Platform/Darwin.cmake includes /opt/work/databases/mysql-connector-c++/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /opt/pkg/share/cmake-3.19/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): /opt/pkg/share/cmake-3.19/Modules/CMakeSystemSpecificInformation.cmake:26 (include) CMakeLists.txt:26 (PROJECT) This warning is for project developers. Use -Wno-dev to suppress it. -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /opt/work/databases/mysql-connector-c++/work/.cwrapper/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /opt/work/databases/mysql-connector-c++/work/.cwrapper/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at CMakeLists.txt:28 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found Boost: /opt/work/databases/mysql-connector-c++/work/.buildlink/include (found version "1.75.0") -- BOOST_INCLUDE_DIRS=/opt/work/databases/mysql-connector-c++/work/.buildlink/include -- You will link dynamically to the MySQL client library (set with -DMYSQLCLIENT_STATIC_LINKING=) -- Searching for dynamic libraries with the base name(s) "mysqlclient_r mysqlclient" -- mysql_config was found /opt/pkg/bin/mysql_config -- MySQL client environment/cmake variables set that the user can override -- MYSQL_DIR : -- MYSQL_INCLUDE_DIR : /opt/pkg/include/mysql -- MYSQL_LIB_DIR : /opt/pkg/lib -- MYSQL_CONFIG_EXECUTABLE : /opt/pkg/bin/mysql_config -- MYSQL_CXX_LINKAGE : 1 -- MYSQL_CFLAGS : -I/opt/pkg/include/mysql -- MYSQL_CXXFLAGS : -I/opt/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.32 -- MYSQL_VERSION_ID : 50732 -- MYSQL_LIB : /opt/pkg/lib/libmysqlclient.dylib -- MYSQL_LIBRARIES : mysqlclient;z;ssl;crypto -- USE_SERVER_FLAGS : OFF -- Environment compile flags: -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/mysql -O2 -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/mysql -- Environment link flags: -L/opt/pkg/lib -L/usr/lib -- Installation path is: /opt/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: MYSQLCPPCONN_DYNLOAD_MYSQL_LIB-NOTFOUND -- Configuring examples -- Configuring test cases -- Configuring tests framework lib -- Configuring C/J junit tests port -- MySQL dynamic load test library: MYSQLCPPCONN_DYNLOAD_MYSQL_LIB-NOTFOUND -- 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;z;ssl;crypto LINK_INTERFACE_LIBRARIES: This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev): Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake --help-policy CMP0042" for policy details. Use the cmake_policy command to set the policy and suppress this warning. MACOSX_RPATH is not specified for the following targets: mysqlcppconn This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev): Policy CMP0068 is not set: RPATH settings on macOS do not affect install_name. Run "cmake --help-policy CMP0068" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, the install_name fields for the following targets are still affected by RPATH settings: mysqlcppconn This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done -- Build files have been written to: /opt/work/databases/mysql-connector-c++/work/mysql-connector-c++-1.1.8 => Rewrite cmake Dependencies files