=> 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 freeDiameter/1.2.0.tar.gz => Checksum RMD160 OK for freeDiameter/1.2.0.tar.gz => Checksum SHA512 OK for freeDiameter/1.2.0.tar.gz ===> Installing dependencies for freeDiameter-1.2.0nb5 ========================================================================== The supported build options for freeDiameter are: freediameter-all-extensions The currently selected options are: freediameter-all-extensions You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.freeDiameter (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, freeDiameter-1.2.0nb5. 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 bison>=1.0: found bison-3.0.4nb4 => Tool dependency cmake>=2.8.1nb1: found cmake-3.12.2 => 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 => Full dependency mysql-client>=5.7.12<5.8: found mysql-client-5.7.23nb2 => Full dependency postgresql95-client>=9.5.1nb1: found postgresql95-client-9.5.14nb1 => Full dependency libxml2>=2.8.0nb2: found libxml2-2.9.8nb2 => Full dependency libidn>=1.20nb1: found libidn-1.34 => Full dependency gnutls>=3.6.0nb1: found gnutls-3.6.3nb2 => Full dependency libgcrypt>=1.6.0: found libgcrypt-1.8.3 ===> Overriding tools for freeDiameter-1.2.0nb5 ===> Extracting for freeDiameter-1.2.0nb5 ===> Patching for freeDiameter-1.2.0nb5 ===> Creating toolchain wrappers for freeDiameter-1.2.0nb5 ===> Configuring for freeDiameter-1.2.0nb5 => Generating pkg-config files for builtin xz package. => 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 7.0.7 -- The CXX compiler identification is Clang 7.0.7 CMake Warning (dev) at /usr/pkg/share/cmake-3.12/Modules/Platform/NetBSD.cmake:13 (include): File /usr/pkg/share/cmake-3.12/Modules/Platform/NetBSD.cmake includes /data/scratch/net/freeDiameter/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-3.12/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.12/Modules/CMakeSystemSpecificInformation.cmake:26 (include) CMakeLists.txt:4 (PROJECT) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/pkg/share/cmake-3.12/Modules/Platform/NetBSD.cmake:13 (include): File /usr/pkg/share/cmake-3.12/Modules/Platform/NetBSD.cmake includes /data/scratch/net/freeDiameter/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-3.12/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.12/Modules/CMakeCInformation.cmake:66 (include) CMakeLists.txt:4 (PROJECT) This warning is for project developers. Use -Wno-dev to suppress it. -- Check for working C compiler: /data/scratch/net/freeDiameter/work/.cwrapper/bin/clang -- Check for working C compiler: /data/scratch/net/freeDiameter/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.12/Modules/Platform/NetBSD.cmake:13 (include): File /usr/pkg/share/cmake-3.12/Modules/Platform/NetBSD.cmake includes /data/scratch/net/freeDiameter/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-3.12/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.12/Modules/CMakeCXXInformation.cmake:65 (include) CMakeLists.txt:4 (PROJECT) This warning is for project developers. Use -Wno-dev to suppress it. -- Check for working CXX compiler: /data/scratch/net/freeDiameter/work/.cwrapper/bin/clang++ -- Check for working CXX compiler: /data/scratch/net/freeDiameter/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 -- Looking for bison -- Looking for bison -- /data/scratch/net/freeDiameter/work/.tools/bin/bison -- Looking for flex -- Looking for flex -- /data/scratch/net/freeDiameter/work/.tools/bin/flex -- Looking for getopt_long -- Looking for getopt_long - found -- Looking for getifaddrs -- Looking for getifaddrs - found -- 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 ntohll -- Looking for ntohll - not found -- Looking for include file malloc.h -- Looking for include file malloc.h - found -- Looking for strndup -- Looking for strndup - 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 clock_gettime -- Looking for clock_gettime - found -- Disabled SCTP support. -- Found IDNA: /data/scratch/net/freeDiameter/work/.buildlink/lib/libidn.so -- Performing Test HAS_IDNA_SUPPORT -- Performing Test HAS_IDNA_SUPPORT - Success -- Found GNUTLS: /data/scratch/net/freeDiameter/work/.buildlink/lib/libgnutls.so -- Checking GNUTLS version -- Looking for gnutls_hash in gnutls -- Looking for gnutls_hash in gnutls - found -- Looking for gnutls_transport_set_vec_push_function in gnutls -- Looking for gnutls_transport_set_vec_push_function in gnutls - found -- Looking for gnutls_x509_trust_list_verify_crt in gnutls -- Looking for gnutls_x509_trust_list_verify_crt in gnutls - found -- Looking for gnutls_handshake_set_timeout in gnutls -- Looking for gnutls_handshake_set_timeout in gnutls - found -- Looking for AI_ADDRCONFIG -- Looking for AI_ADDRCONFIG - found -- Looking for pthread_barrier_wait -- Looking for pthread_barrier_wait - found -- Found PkgConfig: /data/scratch/net/freeDiameter/work/.tools/bin/pkg-config (found version "1.4.1") -- Checking for module 'libxml-2.0' -- Found libxml-2.0, version 2.9.8 -- Found LibXml2: /usr/pkg/lib/libxml2.so -- Found POSTGRESQL: /data/scratch/net/freeDiameter/work/.buildlink/lib/libpq.so -- Looked for MySQL libraries named mysqlclient_r. CMake Error at cmake/Modules/FindMySQL.cmake:47 (MESSAGE): Could NOT find MySQL library Call Stack (most recent call first): extensions/app_diameap/CMakeLists.txt:5 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! See also "/data/scratch/net/freeDiameter/work/freeDiameter-1.2.0/CMakeFiles/CMakeOutput.log". See also "/data/scratch/net/freeDiameter/work/freeDiameter-1.2.0/CMakeFiles/CMakeError.log". *** Error code 1 Stop. make[1]: stopped in /data/pkgsrc/net/freeDiameter *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/freeDiameter