=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for libssh-0.10.6.tar.xz => Checksum SHA512 OK for libssh-0.10.6.tar.xz ===> Installing dependencies for libssh-0.106 ========================================================================== The supported build options for libssh are: gssapi libgcrypt openssl The currently selected options are: gssapi 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.106. Their current value is shown below: * KRB5_DEFAULT = heimdal * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private Based on these variables, the following variables have been set: * KRB5BASE (defined, but empty) * KRB5_TYPE = heimdal You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency cmake>=0: found cmake-3.28.1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency argp>=1.3: found argp-1.3nb1 => Build dependency cmocka>=1.1.5: found cmocka-1.1.5 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for libssh-0.106 ===> Extracting for libssh-0.106 ===> Patching for libssh-0.106 => Applying pkgsrc patches for libssh-0.106 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/libssh/patches/patch-examples_sshd__direct-tcpip.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/libssh/patches/patch-examples_sshd__direct-tcpip.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-examples_sshd__direct-tcpip.c,v 1.1 2020/07/20 15:56:24 micha Exp $ | |Build fix: |Include header files with declarations for struct sockaddr_in and send(). | |--- examples/sshd_direct-tcpip.c.orig 2020-01-27 15:45:32.000000000 +0000 |+++ examples/sshd_direct-tcpip.c -------------------------- Patching file examples/sshd_direct-tcpip.c using Plan A... Hunk #1 succeeded at 20. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/libssh/patches/patch-tests_CMakeLists.txt => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/libssh/patches/patch-tests_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-tests_CMakeLists.txt,v 1.1 2020/09/13 18:45:36 otis Exp $ | |Search for sshd also in /usr/lib/ssh where it is located |in SunOS/SmartOS. | |--- tests/CMakeLists.txt.orig 2020-09-10 12:43:04.000000000 +0000 |+++ tests/CMakeLists.txt -------------------------- Patching file tests/CMakeLists.txt using Plan A... Hunk #1 succeeded at 158 (offset 41 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/libssh/patches/patch-tests_torture.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/libssh/patches/patch-tests_torture.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-tests_torture.c,v 1.1 2020/01/06 12:04:13 pho Exp $ | |Fix build on NetBSD 8.1: Don't try to use PATH_MAX without #include | |--- tests/torture.c.orig 2020-01-06 12:01:16.440174806 +0000 |+++ tests/torture.c -------------------------- Patching file tests/torture.c using Plan A... Hunk #1 succeeded at 29. done ===> Creating toolchain wrappers for libssh-0.106 ===> Configuring for libssh-0.106 => Adding run-time search paths to pkg-config files. => Checking for portability problems in extracted files CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 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. -- The C compiler identification is GNU 7.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tmp/security/libssh/work/.cwrapper/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Performing Test REQUIRED_FLAGS_WERROR -- Performing Test REQUIRED_FLAGS_WERROR - Success -- Performing Test WITH_STD_GNU99_FLAG -- Performing Test WITH_STD_GNU99_FLAG - Success -- Performing Test WITH_WPEDANTIC_FLAG -- Performing Test WITH_WPEDANTIC_FLAG - Success -- Performing Test WITH_WALL_FLAG -- Performing Test WITH_WALL_FLAG - Success -- Performing Test WITH_WSHADOW_FLAG -- Performing Test WITH_WSHADOW_FLAG - Success -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG - Success -- Performing Test WITH_WCAST_ALIGN_FLAG -- Performing Test WITH_WCAST_ALIGN_FLAG - Success -- Performing Test WITH_WERROR_ADDRESS_FLAG -- Performing Test WITH_WERROR_ADDRESS_FLAG - Success -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WWRITE_STRINGS_FLAG -- Performing Test WITH_WWRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG - Success -- Performing Test WITH_WPOINTER_ARITH_FLAG -- Performing Test WITH_WPOINTER_ARITH_FLAG - Success -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG - Success -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WRETURN_TYPE_FLAG -- Performing Test WITH_WRETURN_TYPE_FLAG - Success -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG - Success -- Performing Test WITH_WUNINITIALIZED_FLAG -- Performing Test WITH_WUNINITIALIZED_FLAG - Success -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG - Success -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG - Success -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG - Success -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG - Success -- Performing Test WITH_WMISSING_FIELD_INITIALIZERS_FLAG -- Performing Test WITH_WMISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test WITH_WSIGN_COMPARE_FLAG -- Performing Test WITH_WSIGN_COMPARE_FLAG - Success -- Performing Test REQUIRED_FLAGS_WFORMAT -- Performing Test REQUIRED_FLAGS_WFORMAT - Success -- Performing Test WITH_WFORMAT_SECURITY_FLAG -- Performing Test WITH_WFORMAT_SECURITY_FLAG - Success -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG - Success -- Performing Test WITH_FNO_COMMON_FLAG -- Performing Test WITH_FNO_COMMON_FLAG - Success -- Performing Test WITH_STACK_PROTECTOR_STRONG -- Performing Test WITH_STACK_PROTECTOR_STRONG - Success -- Performing Test WITH_STACK_CLASH_PROTECTION -- Performing Test WITH_STACK_CLASH_PROTECTION - Failed -- Performing Test WITH_WNO_DEPRECATED_DECLARATIONS_FLAG -- Performing Test WITH_WNO_DEPRECATED_DECLARATIONS_FLAG - Success -- Found ZLIB: /usr/lib/libz.so (found version "1.2.10") -- Found OpenSSL: /usr/lib/libcrypto.so (found suitable version "1.1.1k", minimum required is "1.0.1") -- Found CMocka: /usr/pkg/lib/libcmocka.so -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- 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) CMake Warning (dev) at /usr/pkg/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (ARGP) does not match the name of the calling package (Argp). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindArgp.cmake:67 (find_package_handle_standard_args) CMakeLists.txt:106 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found ARGP: /usr/pkg/lib/libargp.so CMake Warning (dev) at cmake/Modules/FindABIMap.cmake:225 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): CMakeLists.txt:110 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) -- Performing Test WITH_VISIBILITY_HIDDEN -- Performing Test WITH_VISIBILITY_HIDDEN - Success -- 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 stdint.h -- Looking for stdint.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/utime.h -- Looking for sys/utime.h - not 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 glob.h -- Looking for glob.h - found -- Looking for valgrind/valgrind.h -- Looking for valgrind/valgrind.h - not found -- Looking for openssl/des.h -- Looking for openssl/des.h - not found CMake Error at ConfigureChecks.cmake:80 (message): Could not detect openssl/des.h Call Stack (most recent call first): CMakeLists.txt:116 (include) -- Configuring incomplete, errors occurred! *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/security/libssh *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/security/libssh