=> 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 security/libssh-0.7.3.tar.xz => Checksum RMD160 OK for security/libssh-0.7.3.tar.xz => Checksum SHA512 OK for security/libssh-0.7.3.tar.xz ===> Installing dependencies for libssh-0.73nb2 ========================================================================== The supported build options for libssh are: libgcrypt openssl The currently selected options are: openssl You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.libssh (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, libssh-0.73nb2. 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.12.2 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency argp>=1.3: found argp-1.3nb1 ===> Overriding tools for libssh-0.73nb2 ===> Extracting for libssh-0.73nb2 ===> Patching for libssh-0.73nb2 => Applying pkgsrc patches for libssh-0.73nb2 => Verifying /data/pkgsrc/security/libssh/patches/patch-aa => Applying pkgsrc patch /data/pkgsrc/security/libssh/patches/patch-aa Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aa,v 1.6 2015/11/18 21:00:51 christos Exp $ | |Disable out of source build test | |--- CMakeLists.txt.orig 2015-09-16 02:44:35.000000000 -0400 |+++ CMakeLists.txt 2015-11-17 10:44:55.000000000 -0500 -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 36. done => Verifying /data/pkgsrc/security/libssh/patches/patch-cmake_Modules_DefineCompilerFlags.cmake => Applying pkgsrc patch /data/pkgsrc/security/libssh/patches/patch-cmake_Modules_DefineCompilerFlags.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cmake_Modules_DefineCompilerFlags.cmake,v 1.1 2018/02/02 09:31:29 jperkin Exp $ | |Leave pkgsrc to handle security features. | |--- cmake/Modules/DefineCompilerFlags.cmake.orig 2016-02-15 12:42:53.000000000 +0000 |+++ cmake/Modules/DefineCompilerFlags.cmake -------------------------- Patching file cmake/Modules/DefineCompilerFlags.cmake using Plan A... Hunk #1 succeeded at 21. Hunk #2 succeeded at 36. done ===> Creating toolchain wrappers for libssh-0.73nb2 ===> Configuring for libssh-0.73nb2 => Adding run-time search paths to pkg-config files. WARNING: [subst.mk:_pkgconfig] Ignoring non-existent file "./libssh.pc.in". => 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 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/security/libssh/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:1 (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/security/libssh/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:1 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- Check for working C compiler: /data/scratch/security/libssh/work/.cwrapper/bin/clang -- Check for working C compiler: /data/scratch/security/libssh/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 -- Performing Test WITH_FPIC -- Performing Test WITH_FPIC - Success -- Found ZLIB: /lib/libz.so (found version "1.2.10") -- Found OpenSSL: /lib/libcrypto.so (found version "1.1.0h") -- 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 -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Could NOT find GSSAPI (missing: GSSAPI_LIBRARIES) -- Could NOT find NaCl (missing: NACL_LIBRARIES NACL_INCLUDE_DIRS) -- Looking for argp.h -- Looking for argp.h - found -- Looking for pty.h -- Looking for pty.h - not found -- Looking for utmp.h -- Looking for utmp.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for util.h -- Looking for util.h - found -- Looking for libutil.h -- Looking for libutil.h - not found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for byteswap.h -- Looking for byteswap.h - not found -- Looking for openssl/des.h -- Looking for openssl/des.h - found -- Looking for openssl/aes.h -- Looking for openssl/aes.h - found -- Looking for openssl/blowfish.h -- Looking for openssl/blowfish.h - found -- Looking for openssl/ecdh.h -- Looking for openssl/ecdh.h - found -- Looking for openssl/ec.h -- Looking for openssl/ec.h - found -- Looking for openssl/ecdsa.h -- Looking for openssl/ecdsa.h - found -- Looking for isblank -- Looking for isblank - found -- Looking for strncpy -- Looking for strncpy - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for poll -- Looking for poll - found -- Looking for select -- Looking for select - found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for ntohll -- Looking for ntohll - not found -- Looking for htonll -- Looking for htonll - not found -- Looking for getaddrinfo in socket -- Looking for getaddrinfo in socket - not found -- Looking for inet_pton in nsl -- Looking for inet_pton in nsl - not found -- Looking for nanosleep in rt -- Looking for nanosleep in rt - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for forkpty in util -- Looking for forkpty in util - found -- Looking for cfmakeraw -- Looking for cfmakeraw - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for __strtoull -- Looking for __strtoull - not found -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE - Success -- Performing Test HAVE_MSC_THREAD_LOCAL_STORAGE -- Performing Test HAVE_MSC_THREAD_LOCAL_STORAGE - Failed -- Performing Test HAVE_GCC_VOLATILE_MEMORY_PROTECTION -- Performing Test HAVE_GCC_VOLATILE_MEMORY_PROTECTION - Success -- Performing Test HAVE_GCC_NARG_MACRO -- Performing Test HAVE_GCC_NARG_MACRO - Failed -- Performing Test HAVE_COMPILER__FUNC__ -- Performing Test HAVE_COMPILER__FUNC__ - Success -- Performing Test HAVE_COMPILER__FUNCTION__ -- Performing Test HAVE_COMPILER__FUNCTION__ - Success -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h CMake Warning (dev) at /usr/pkg/share/cmake-3.12/Modules/CheckIncludeFile.cmake:70 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMAKE_REQUIRED_LIBRARIES is set to: rt For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): /usr/pkg/share/cmake-3.12/Modules/CheckTypeSize.cmake:225 (check_include_file) /usr/pkg/share/cmake-3.12/Modules/TestBigEndian.cmake:32 (CHECK_TYPE_SIZE) ConfigureChecks.cmake:266 (test_big_endian) CMakeLists.txt:78 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- 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 -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Threads_FOUND=TRUE -- threads library: Threads_FOUND=TRUE -- libssh_threads_SRCS=pthread.c -- The CXX compiler identification is Clang 7.0.7 -- Check for working CXX compiler: /data/scratch/security/libssh/work/.cwrapper/bin/clang++ -- Check for working CXX compiler: /data/scratch/security/libssh/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 Argp: /data/scratch/security/libssh/work/.buildlink/lib/libargp.so -- ******************************************** -- ********** libssh build options : ********** -- zlib support: ON -- libgcrypt support: OFF -- libnacl support: OFF -- SSH-1 support: OFF -- SFTP support: ON -- Server support : ON -- GSSAPI support : 0 -- Pcap debugging support : ON -- With static library: OFF -- Unit testing: OFF -- Client code Unit testing: OFF -- Public API documentation generation -- Benchmarks: OFF -- ******************************************** -- 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/security/libssh/work/libssh-0.7.3 => Rewrite cmake Dependencies files