microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.17k stars 6.39k forks source link

[curl] Build error #32258

Closed topia closed 1 year ago

topia commented 1 year ago

Package: curl[brotli,c-ares,core,http2,idn,idn2,mbedtls,non-http,openssl,schannel,ssh,ssl,sspi,tool,websockets,winidn,winldap]:x64-windows -> 8.1.2

Host Environment

To Reproduce

vcpkg install --clean-buildtrees-after-build curl[brotli,c-ares,http2,idn,idn2,mbedtls,non-http,openssl,schannel,ssh,ssl,sspi,tool,websockets,winidn,winldap]:x64-windows libssh2[zlib]:x64-windows

Failure logs

-- Using cached curl-curl-curl-8_1_2.tar.gz.
-- Extracting source K:/data/depot/git/vcpkg/downloads/curl-curl-curl-8_1_2.tar.gz
-- Applying patch 0002_fix_uwp.patch
-- Applying patch 0005_remove_imp_suffix.patch
-- Applying patch 0012-fix-dependency-idn2.patch
-- Applying patch 0020-fix-pc-file.patch
-- Applying patch 0022-deduplicate-libs.patch
-- Applying patch mbedtls-ws2_32.patch
-- Applying patch export-components.patch
-- Applying patch 0023-fix-find-cares.patch
-- Using source at K:/data/depot/git/vcpkg/buildtrees/curl/src/curl-8_1_2-48a3152245.clean
-- Using cached mingw-w64-i686-pkgconf-1~1.8.0-2-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.4.6-1-x86_64.pkg.tar.zst.
-- Using msys root at K:/data/depot/git/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f
-- Found external ninja('1.11.0').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
    Working Directory: K:/data/depot/git/vcpkg/buildtrees/curl/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      K:\data\depot\git\vcpkg\buildtrees\curl\config-x64-windows-dbg-CMakeCache.txt.log
      K:\data\depot\git\vcpkg\buildtrees\curl\config-x64-windows-rel-CMakeCache.txt.log
      K:\data\depot\git\vcpkg\buildtrees\curl\config-x64-windows-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:252 (vcpkg_execute_required_process)
  ports/curl/portfile.cmake:65 (vcpkg_cmake_configure)
  scripts/ports.cmake:147 (include)
K:\data\depot\git\vcpkg\buildtrees\curl\config-x64-windows-out.log ``` [1/2] "K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir ".." "K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "K:/data/depot/git/vcpkg/buildtrees/curl/src/curl-8_1_2-48a3152245.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=K:/data/depot/git/vcpkg/packages/curl_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DCMAKE_PROJECT_INCLUDE=K:/data/depot/git/vcpkg/ports/curl/cmake-project-include.cmake" "-DUSE_NGHTTP2=ON" "-DCURL_USE_WOLFSSL=OFF" "-DCURL_USE_OPENSSL=ON" "-DCURL_USE_MBEDTLS=ON" "-DCURL_USE_LIBSSH2=ON" "-DBUILD_CURL_EXE=ON" "-DENABLE_ARES=ON" "-DCURL_WINDOWS_SSPI=ON" "-DCURL_BROTLI=ON" "-DCURL_USE_SCHANNEL=ON" "-DCURL_USE_SECTRANSP=OFF" "-DUSE_LIBIDN2=ON" "-DUSE_WIN32_IDN=ON" "-DUSE_WIN32_LDAP=ON" "-DENABLE_WEBSOCKETS=ON" "-DHTTP_ONLY=OFF" "-DCURL_DISABLE_LDAP=OFF" "-DPKG_CONFIG_EXECUTABLE=K:/data/depot/git/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DENABLE_UNICODE=ON" "-DBUILD_TESTING=OFF" "-DENABLE_MANUAL=OFF" "-DCURL_CA_FALLBACK=ON" "-DCURL_USE_LIBPSL=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=K:/data/depot/git/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=K:/data/depot/git/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=K:/data/depot/git/vcpkg" "-D_VCPKG_INSTALLED_DIR=K:/data/depot/git/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" FAILED: ../CMakeCache.txt "K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir ".." "K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "K:/data/depot/git/vcpkg/buildtrees/curl/src/curl-8_1_2-48a3152245.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=K:/data/depot/git/vcpkg/packages/curl_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DCMAKE_PROJECT_INCLUDE=K:/data/depot/git/vcpkg/ports/curl/cmake-project-include.cmake" "-DUSE_NGHTTP2=ON" "-DCURL_USE_WOLFSSL=OFF" "-DCURL_USE_OPENSSL=ON" "-DCURL_USE_MBEDTLS=ON" "-DCURL_USE_LIBSSH2=ON" "-DBUILD_CURL_EXE=ON" "-DENABLE_ARES=ON" "-DCURL_WINDOWS_SSPI=ON" "-DCURL_BROTLI=ON" "-DCURL_USE_SCHANNEL=ON" "-DCURL_USE_SECTRANSP=OFF" "-DUSE_LIBIDN2=ON" "-DUSE_WIN32_IDN=ON" "-DUSE_WIN32_LDAP=ON" "-DENABLE_WEBSOCKETS=ON" "-DHTTP_ONLY=OFF" "-DCURL_DISABLE_LDAP=OFF" "-DPKG_CONFIG_EXECUTABLE=K:/data/depot/git/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DENABLE_UNICODE=ON" "-DBUILD_TESTING=OFF" "-DENABLE_MANUAL=OFF" "-DCURL_CA_FALLBACK=ON" "-DCURL_USE_LIBPSL=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=K:/data/depot/git/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=K:/data/depot/git/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=K:/data/depot/git/vcpkg" "-D_VCPKG_INSTALLED_DIR=K:/data/depot/git/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" -- The C compiler identification is MSVC 19.36.32535.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Error at K:/data/depot/git/vcpkg/ports/curl/cmake-project-include.cmake:75 (get_target_property): get_target_property() called with non-existent target "Libssh2::libssh2". Call Stack (most recent call first): CMakeLists.txt:72 (project) -- Found PkgConfig: K:/data/depot/git/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe (found version "1.8.0") -- Checking for module 'libidn2' -- Found libidn2, version 2.3.4 -- curl version=[8.1.2-DEV] -- Looking for getch in ws2_32;c-ares::cares -- Looking for getch in ws2_32;c-ares::cares - found -- Looking for getch in winmm;ws2_32;c-ares::cares -- Looking for getch in winmm;ws2_32;c-ares::cares - found -- Found OpenSSL: optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/libcrypto.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/libcrypto.lib (found version "3.1.1") -- Looking for OPENSSL_IS_BORINGSSL -- Looking for OPENSSL_IS_BORINGSSL - not found -- Looking for OPENSSL_IS_AWSLC -- Looking for OPENSSL_IS_AWSLC - not found -- Found PThreads4W: optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/pthreadVC3.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/pthreadVC3d.lib -- PThreads4W_DLL_DIR: K:/data/depot/git/vcpkg/installed/x64-windows/include/../bin -- PThreads4W_DEBUG_DLL_DIR: K:/data/depot/git/vcpkg/installed/x64-windows/include/../debug/bin -- Found mbedTLS: K:/data/depot/git/vcpkg/installed/x64-windows/include (found version "2.28.1") -- Found ZLIB: optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/zlib.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.13") -- Found NGHTTP2: K:/data/depot/git/vcpkg/installed/x64-windows/lib/nghttp2.lib -- Looking for cldap_open in wldap32;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlidec.lib;winmm;ws2_32;c-ares::cares;OpenSSL::SSL;OpenSSL::Crypto;ws2_32;bcrypt;K:/data/depot/git/vcpkg/installed/x64-windows/lib/mbedcrypto.lib;optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/pthreadVC3.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/pthreadVC3d.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/mbedx509.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/mbedtls.lib;ZLIB::ZLIB;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlidec.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/nghttp2.lib -- Looking for cldap_open in wldap32;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlidec.lib;winmm;ws2_32;c-ares::cares;OpenSSL::SSL;OpenSSL::Crypto;ws2_32;bcrypt;K:/data/depot/git/vcpkg/installed/x64-windows/lib/mbedcrypto.lib;optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/pthreadVC3.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/pthreadVC3d.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/mbedx509.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/mbedtls.lib;ZLIB::ZLIB;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlidec.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/nghttp2.lib - found -- Looking for include file winldap.h -- Looking for include file winldap.h - not found -- Looking for include file ldap_ssl.h -- Looking for include file ldap_ssl.h - not found -- Found LibSSH2: Libssh2::libssh2 (found version "1.11.0") -- Looking for include file windows.h -- Looking for include file windows.h - found -- Looking for include files windows.h, ws2tcpip.h -- Looking for include files windows.h, ws2tcpip.h - found -- Looking for 3 include files windows.h, ..., winsock2.h -- Looking for 3 include files windows.h, ..., winsock2.h - found -- Looking for 4 include files windows.h, ..., wincrypt.h -- Looking for 4 include files windows.h, ..., wincrypt.h - found -- Looking for 5 include files windows.h, ..., inttypes.h -- Looking for 5 include files windows.h, ..., inttypes.h - found -- Looking for 6 include files windows.h, ..., sys/filio.h -- Looking for 6 include files windows.h, ..., sys/filio.h - not found -- Looking for 6 include files windows.h, ..., sys/ioctl.h -- Looking for 6 include files windows.h, ..., sys/ioctl.h - not found -- Looking for 6 include files windows.h, ..., sys/resource.h -- Looking for 6 include files windows.h, ..., sys/resource.h - not found -- Looking for 8 include files windows.h, ..., sys/un.h -- Looking for 8 include files windows.h, ..., sys/un.h - not found -- Looking for 9 include files windows.h, ..., sys/xattr.h -- Looking for 9 include files windows.h, ..., sys/xattr.h - not found -- Looking for 9 include files windows.h, ..., arpa/tftp.h -- Looking for 9 include files windows.h, ..., arpa/tftp.h - not found -- Looking for 10 include files windows.h, ..., idn2.h -- Looking for 10 include files windows.h, ..., idn2.h - found -- Looking for 11 include files windows.h, ..., ifaddrs.h -- Looking for 11 include files windows.h, ..., ifaddrs.h - not found -- Looking for 12 include files windows.h, ..., libgen.h -- Looking for 12 include files windows.h, ..., libgen.h - not found -- Looking for 12 include files windows.h, ..., locale.h -- Looking for 12 include files windows.h, ..., locale.h - found -- Looking for 13 include files windows.h, ..., netinet/tcp.h -- Looking for 13 include files windows.h, ..., netinet/tcp.h - not found -- Looking for linux/tcp.h -- Looking for linux/tcp.h - not found -- Looking for 13 include files windows.h, ..., poll.h -- Looking for 13 include files windows.h, ..., poll.h - not found -- Looking for 15 include files windows.h, ..., ssl.h -- Looking for 15 include files windows.h, ..., ssl.h - not found -- Looking for 15 include files windows.h, ..., stdatomic.h -- Looking for 15 include files windows.h, ..., stdatomic.h - not found -- Looking for 15 include files windows.h, ..., stdbool.h -- Looking for 15 include files windows.h, ..., stdbool.h - found -- Looking for 16 include files windows.h, ..., stdint.h -- Looking for 16 include files windows.h, ..., stdint.h - found -- Looking for 19 include files windows.h, ..., stropts.h -- Looking for 19 include files windows.h, ..., stropts.h - not found -- Looking for 20 include files windows.h, ..., unistd.h -- Looking for 20 include files windows.h, ..., unistd.h - not found -- Looking for 20 include files windows.h, ..., stddef.h -- Looking for 20 include files windows.h, ..., stddef.h - found -- Looking for 21 include files windows.h, ..., sys/utsname.h -- Looking for 21 include files windows.h, ..., sys/utsname.h - not found -- Check size of size_t -- Check size of size_t - done -- Check size of ssize_t -- Check size of ssize_t - failed -- Check size of long long -- Check size of long long - done -- Check size of long -- Check size of long - done -- Check size of int -- Check size of int - done -- Check size of __int64 -- Check size of __int64 - done -- Check size of time_t -- Check size of time_t - done -- Looking for fchmod -- Looking for fchmod - not found -- Looking for basename -- Looking for basename - not found -- Looking for socketpair -- Looking for socketpair - not found -- Looking for recv -- Looking for recv - found -- Looking for send -- Looking for send - found -- Looking for sendmsg -- Looking for sendmsg - not found -- Looking for strtok_r -- Looking for strtok_r - not found -- Looking for strcasecmp -- Looking for strcasecmp - not found -- Looking for alarm -- Looking for alarm - not found -- Looking for getppid -- Looking for getppid - not found -- Looking for utimes -- Looking for utimes - not found -- Looking for getpwuid_r -- Looking for getpwuid_r - not found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strerror_r -- Looking for strerror_r - not found -- Looking for siginterrupt -- Looking for siginterrupt - not found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for freeaddrinfo -- Looking for freeaddrinfo - found -- Looking for pipe -- Looking for pipe - not found -- Looking for ftruncate -- Looking for ftruncate - not found -- Looking for getpeername -- Looking for getpeername - found -- Looking for getsockname -- Looking for getsockname - found -- Looking for if_nametoindex -- Looking for if_nametoindex - not found -- Looking for getrlimit -- Looking for getrlimit - not found -- Looking for setlocale -- Looking for setlocale - found -- Looking for setmode -- Looking for setmode - found -- Looking for setrlimit -- Looking for setrlimit - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for mach_absolute_time -- Looking for mach_absolute_time - not found -- Looking for inet_ntop -- Looking for inet_ntop - found -- Looking for inet_pton -- Looking for inet_pton - found -- Looking for fsetxattr -- Looking for fsetxattr - not found -- Check size of sa_family_t -- Check size of sa_family_t - failed -- Check size of ADDRESS_FAMILY -- Check size of ADDRESS_FAMILY - failed -- Performing Curl Test HAVE_FCNTL_O_NONBLOCK -- Performing Curl Test HAVE_FCNTL_O_NONBLOCK - Failed -- Performing Curl Test HAVE_IOCTLSOCKET -- Performing Curl Test HAVE_IOCTLSOCKET - Success -- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL -- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL - Failed -- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO -- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO - Failed -- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO -- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO - Success -- Performing Curl Test HAVE_IOCTL_FIONBIO -- Performing Curl Test HAVE_IOCTL_FIONBIO - Failed -- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR -- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR - Failed -- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK -- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK - Failed -- Performing Curl Test HAVE_BOOL_T -- Performing Curl Test HAVE_BOOL_T - Success -- Performing Curl Test HAVE_FILE_OFFSET_BITS -- Performing Curl Test HAVE_FILE_OFFSET_BITS - Failed -- Performing Curl Test HAVE_VARIADIC_MACROS_C99 -- Performing Curl Test HAVE_VARIADIC_MACROS_C99 - Success -- Performing Curl Test HAVE_VARIADIC_MACROS_GCC -- Performing Curl Test HAVE_VARIADIC_MACROS_GCC - Failed -- Performing Curl Test HAVE_ATOMIC -- Performing Curl Test HAVE_ATOMIC - Failed -- Check size of off_t -- Check size of off_t - done -- Check size of curl_off_t -- Check size of curl_off_t - done -- Check size of curl_socket_t -- Check size of curl_socket_t - failed -- Performing Curl Test HAVE_WIN32_WINNT -- Performing Curl Test HAVE_WIN32_WINNT - Success -- Found _WIN32_WINNT=0x0A00 -- Performing Curl Test HAVE_GLIBC_STRERROR_R -- Performing Curl Test HAVE_GLIBC_STRERROR_R - Failed -- Performing Curl Test HAVE_POSIX_STRERROR_R -- Performing Curl Test HAVE_POSIX_STRERROR_R - Failed -- Performing Curl Test HAVE_CLOCK_GETTIME_MONOTONIC -- Performing Curl Test HAVE_CLOCK_GETTIME_MONOTONIC - Failed -- Performing Curl Test HAVE_BUILTIN_AVAILABLE -- Performing Curl Test HAVE_BUILTIN_AVAILABLE - Failed -- Performing Test HAVE_MSG_NOSIGNAL -- Performing Test HAVE_MSG_NOSIGNAL - Failed -- Performing Test HAVE_STRUCT_TIMEVAL -- Performing Test HAVE_STRUCT_TIMEVAL - Success -- Check size of struct sockaddr_storage -- Check size of struct sockaddr_storage - done -- Performing Test HAVE_POLL_FINE -- Performing Test HAVE_POLL_FINE - Failed -- Looking for CryptAcquireContext -- Looking for CryptAcquireContext - found -- Enabled features: SSL IPv6 unixsockets libz brotli AsynchDNS IDN Largefile SSPI alt-svc HSTS SPNEGO Kerberos NTLM HTTP2 MultiSSL HTTPS-proxy unicode threadsafe -- Enabled protocols: DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS LDAP LDAPS MQTT POP3 POP3S RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP WS WSS -- Enabled SSL backends: OpenSSL Schannel mbedTLS -- Configuring incomplete, errors occurred! See also "K:/data/depot/git/vcpkg/buildtrees/curl/x64-windows-rel/CMakeFiles/CMakeOutput.log". See also "K:/data/depot/git/vcpkg/buildtrees/curl/x64-windows-rel/CMakeFiles/CMakeError.log". [2/2] "K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "K:/data/depot/git/vcpkg/buildtrees/curl/src/curl-8_1_2-48a3152245.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=K:/data/depot/git/vcpkg/packages/curl_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DCMAKE_PROJECT_INCLUDE=K:/data/depot/git/vcpkg/ports/curl/cmake-project-include.cmake" "-DUSE_NGHTTP2=ON" "-DCURL_USE_WOLFSSL=OFF" "-DCURL_USE_OPENSSL=ON" "-DCURL_USE_MBEDTLS=ON" "-DCURL_USE_LIBSSH2=ON" "-DBUILD_CURL_EXE=ON" "-DENABLE_ARES=ON" "-DCURL_WINDOWS_SSPI=ON" "-DCURL_BROTLI=ON" "-DCURL_USE_SCHANNEL=ON" "-DCURL_USE_SECTRANSP=OFF" "-DUSE_LIBIDN2=ON" "-DUSE_WIN32_IDN=ON" "-DUSE_WIN32_LDAP=ON" "-DENABLE_WEBSOCKETS=ON" "-DHTTP_ONLY=OFF" "-DCURL_DISABLE_LDAP=OFF" "-DPKG_CONFIG_EXECUTABLE=K:/data/depot/git/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DENABLE_UNICODE=ON" "-DBUILD_TESTING=OFF" "-DENABLE_MANUAL=OFF" "-DCURL_CA_FALLBACK=ON" "-DCURL_USE_LIBPSL=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=K:/data/depot/git/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=K:/data/depot/git/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=K:/data/depot/git/vcpkg" "-D_VCPKG_INSTALLED_DIR=K:/data/depot/git/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DENABLE_DEBUG=ON" FAILED: ../../x64-windows-dbg/CMakeCache.txt "K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "K:/data/depot/git/vcpkg/buildtrees/curl/src/curl-8_1_2-48a3152245.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=K:/data/depot/git/vcpkg/packages/curl_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DCMAKE_PROJECT_INCLUDE=K:/data/depot/git/vcpkg/ports/curl/cmake-project-include.cmake" "-DUSE_NGHTTP2=ON" "-DCURL_USE_WOLFSSL=OFF" "-DCURL_USE_OPENSSL=ON" "-DCURL_USE_MBEDTLS=ON" "-DCURL_USE_LIBSSH2=ON" "-DBUILD_CURL_EXE=ON" "-DENABLE_ARES=ON" "-DCURL_WINDOWS_SSPI=ON" "-DCURL_BROTLI=ON" "-DCURL_USE_SCHANNEL=ON" "-DCURL_USE_SECTRANSP=OFF" "-DUSE_LIBIDN2=ON" "-DUSE_WIN32_IDN=ON" "-DUSE_WIN32_LDAP=ON" "-DENABLE_WEBSOCKETS=ON" "-DHTTP_ONLY=OFF" "-DCURL_DISABLE_LDAP=OFF" "-DPKG_CONFIG_EXECUTABLE=K:/data/depot/git/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DENABLE_UNICODE=ON" "-DBUILD_TESTING=OFF" "-DENABLE_MANUAL=OFF" "-DCURL_CA_FALLBACK=ON" "-DCURL_USE_LIBPSL=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=K:/data/depot/git/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=K:/data/depot/git/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=K:/data/depot/git/vcpkg" "-D_VCPKG_INSTALLED_DIR=K:/data/depot/git/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DENABLE_DEBUG=ON" -- The C compiler identification is MSVC 19.36.32535.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Error at K:/data/depot/git/vcpkg/ports/curl/cmake-project-include.cmake:75 (get_target_property): get_target_property() called with non-existent target "Libssh2::libssh2". Call Stack (most recent call first): CMakeLists.txt:72 (project) -- Found PkgConfig: K:/data/depot/git/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe (found version "1.8.0") -- Checking for module 'libidn2' -- Found libidn2, version 2.3.4 -- curl version=[8.1.2-DEV] -- Looking for getch in ws2_32;c-ares::cares -- Looking for getch in ws2_32;c-ares::cares - found -- Looking for getch in winmm;ws2_32;c-ares::cares -- Looking for getch in winmm;ws2_32;c-ares::cares - found -- Found OpenSSL: optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/libcrypto.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/libcrypto.lib (found version "3.1.1") -- Looking for OPENSSL_IS_BORINGSSL -- Looking for OPENSSL_IS_BORINGSSL - not found -- Looking for OPENSSL_IS_AWSLC -- Looking for OPENSSL_IS_AWSLC - not found -- Found PThreads4W: optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/pthreadVC3.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/pthreadVC3d.lib -- PThreads4W_DLL_DIR: K:/data/depot/git/vcpkg/installed/x64-windows/include/../bin -- PThreads4W_DEBUG_DLL_DIR: K:/data/depot/git/vcpkg/installed/x64-windows/include/../debug/bin -- Found mbedTLS: K:/data/depot/git/vcpkg/installed/x64-windows/include (found version "2.28.1") -- Found ZLIB: optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/zlib.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.13") -- Found NGHTTP2: K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/nghttp2.lib -- Looking for cldap_open in wldap32;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlidec.lib;winmm;ws2_32;c-ares::cares;OpenSSL::SSL;OpenSSL::Crypto;ws2_32;bcrypt;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/mbedcrypto.lib;optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/pthreadVC3.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/pthreadVC3d.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/mbedx509.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/mbedtls.lib;ZLIB::ZLIB;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlidec.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/nghttp2.lib -- Looking for cldap_open in wldap32;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlidec.lib;winmm;ws2_32;c-ares::cares;OpenSSL::SSL;OpenSSL::Crypto;ws2_32;bcrypt;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/mbedcrypto.lib;optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/pthreadVC3.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/pthreadVC3d.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/mbedx509.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/mbedtls.lib;ZLIB::ZLIB;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlidec.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/nghttp2.lib - found -- Looking for include file winldap.h -- Looking for include file winldap.h - not found -- Looking for include file ldap_ssl.h -- Looking for include file ldap_ssl.h - not found -- Found LibSSH2: Libssh2::libssh2 (found version "1.11.0") -- Looking for include file windows.h -- Looking for include file windows.h - found -- Looking for include files windows.h, ws2tcpip.h -- Looking for include files windows.h, ws2tcpip.h - found -- Looking for 3 include files windows.h, ..., winsock2.h -- Looking for 3 include files windows.h, ..., winsock2.h - found -- Looking for 4 include files windows.h, ..., wincrypt.h -- Looking for 4 include files windows.h, ..., wincrypt.h - found -- Looking for 5 include files windows.h, ..., inttypes.h -- Looking for 5 include files windows.h, ..., inttypes.h - found -- Looking for 6 include files windows.h, ..., sys/filio.h -- Looking for 6 include files windows.h, ..., sys/filio.h - not found -- Looking for 6 include files windows.h, ..., sys/ioctl.h -- Looking for 6 include files windows.h, ..., sys/ioctl.h - not found -- Looking for 6 include files windows.h, ..., sys/resource.h -- Looking for 6 include files windows.h, ..., sys/resource.h - not found -- Looking for 8 include files windows.h, ..., sys/un.h -- Looking for 8 include files windows.h, ..., sys/un.h - not found -- Looking for 9 include files windows.h, ..., sys/xattr.h -- Looking for 9 include files windows.h, ..., sys/xattr.h - not found -- Looking for 9 include files windows.h, ..., arpa/tftp.h -- Looking for 9 include files windows.h, ..., arpa/tftp.h - not found -- Looking for 10 include files windows.h, ..., idn2.h -- Looking for 10 include files windows.h, ..., idn2.h - found -- Looking for 11 include files windows.h, ..., ifaddrs.h -- Looking for 11 include files windows.h, ..., ifaddrs.h - not found -- Looking for 12 include files windows.h, ..., libgen.h -- Looking for 12 include files windows.h, ..., libgen.h - not found -- Looking for 12 include files windows.h, ..., locale.h -- Looking for 12 include files windows.h, ..., locale.h - found -- Looking for 13 include files windows.h, ..., netinet/tcp.h -- Looking for 13 include files windows.h, ..., netinet/tcp.h - not found -- Looking for linux/tcp.h -- Looking for linux/tcp.h - not found -- Looking for 13 include files windows.h, ..., poll.h -- Looking for 13 include files windows.h, ..., poll.h - not found -- Looking for 15 include files windows.h, ..., ssl.h -- Looking for 15 include files windows.h, ..., ssl.h - not found -- Looking for 15 include files windows.h, ..., stdatomic.h -- Looking for 15 include files windows.h, ..., stdatomic.h - not found -- Looking for 15 include files windows.h, ..., stdbool.h -- Looking for 15 include files windows.h, ..., stdbool.h - found -- Looking for 16 include files windows.h, ..., stdint.h -- Looking for 16 include files windows.h, ..., stdint.h - found -- Looking for 19 include files windows.h, ..., stropts.h -- Looking for 19 include files windows.h, ..., stropts.h - not found -- Looking for 20 include files windows.h, ..., unistd.h -- Looking for 20 include files windows.h, ..., unistd.h - not found -- Looking for 20 include files windows.h, ..., stddef.h -- Looking for 20 include files windows.h, ..., stddef.h - found -- Looking for 21 include files windows.h, ..., sys/utsname.h -- Looking for 21 include files windows.h, ..., sys/utsname.h - not found -- Check size of size_t -- Check size of size_t - done -- Check size of ssize_t -- Check size of ssize_t - failed -- Check size of long long -- Check size of long long - done -- Check size of long -- Check size of long - done -- Check size of int -- Check size of int - done -- Check size of __int64 -- Check size of __int64 - done -- Check size of time_t -- Check size of time_t - done -- Looking for fchmod -- Looking for fchmod - not found -- Looking for basename -- Looking for basename - not found -- Looking for socketpair -- Looking for socketpair - not found -- Looking for recv -- Looking for recv - found -- Looking for send -- Looking for send - found -- Looking for sendmsg -- Looking for sendmsg - not found -- Looking for strtok_r -- Looking for strtok_r - not found -- Looking for strcasecmp -- Looking for strcasecmp - not found -- Looking for alarm -- Looking for alarm - not found -- Looking for getppid -- Looking for getppid - not found -- Looking for utimes -- Looking for utimes - not found -- Looking for getpwuid_r -- Looking for getpwuid_r - not found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strerror_r -- Looking for strerror_r - not found -- Looking for siginterrupt -- Looking for siginterrupt - not found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for freeaddrinfo -- Looking for freeaddrinfo - found -- Looking for pipe -- Looking for pipe - not found -- Looking for ftruncate -- Looking for ftruncate - not found -- Looking for getpeername -- Looking for getpeername - found -- Looking for getsockname -- Looking for getsockname - found -- Looking for if_nametoindex -- Looking for if_nametoindex - not found -- Looking for getrlimit -- Looking for getrlimit - not found -- Looking for setlocale -- Looking for setlocale - found -- Looking for setmode -- Looking for setmode - found -- Looking for setrlimit -- Looking for setrlimit - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for mach_absolute_time -- Looking for mach_absolute_time - not found -- Looking for inet_ntop -- Looking for inet_ntop - found -- Looking for inet_pton -- Looking for inet_pton - found -- Looking for fsetxattr -- Looking for fsetxattr - not found -- Check size of sa_family_t -- Check size of sa_family_t - failed -- Check size of ADDRESS_FAMILY -- Check size of ADDRESS_FAMILY - failed -- Performing Curl Test HAVE_FCNTL_O_NONBLOCK -- Performing Curl Test HAVE_FCNTL_O_NONBLOCK - Failed -- Performing Curl Test HAVE_IOCTLSOCKET -- Performing Curl Test HAVE_IOCTLSOCKET - Success -- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL -- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL - Failed -- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO -- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO - Failed -- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO -- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO - Success -- Performing Curl Test HAVE_IOCTL_FIONBIO -- Performing Curl Test HAVE_IOCTL_FIONBIO - Failed -- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR -- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR - Failed -- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK -- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK - Failed -- Performing Curl Test HAVE_BOOL_T -- Performing Curl Test HAVE_BOOL_T - Success -- Performing Curl Test HAVE_FILE_OFFSET_BITS -- Performing Curl Test HAVE_FILE_OFFSET_BITS - Failed -- Performing Curl Test HAVE_VARIADIC_MACROS_C99 -- Performing Curl Test HAVE_VARIADIC_MACROS_C99 - Success -- Performing Curl Test HAVE_VARIADIC_MACROS_GCC -- Performing Curl Test HAVE_VARIADIC_MACROS_GCC - Failed -- Performing Curl Test HAVE_ATOMIC -- Performing Curl Test HAVE_ATOMIC - Failed -- Check size of off_t -- Check size of off_t - done -- Check size of curl_off_t -- Check size of curl_off_t - done -- Check size of curl_socket_t -- Check size of curl_socket_t - failed -- Performing Curl Test HAVE_WIN32_WINNT -- Performing Curl Test HAVE_WIN32_WINNT - Success -- Found _WIN32_WINNT=0x0A00 -- Performing Curl Test HAVE_GLIBC_STRERROR_R -- Performing Curl Test HAVE_GLIBC_STRERROR_R - Failed -- Performing Curl Test HAVE_POSIX_STRERROR_R -- Performing Curl Test HAVE_POSIX_STRERROR_R - Failed -- Performing Curl Test HAVE_CLOCK_GETTIME_MONOTONIC -- Performing Curl Test HAVE_CLOCK_GETTIME_MONOTONIC - Failed -- Performing Curl Test HAVE_BUILTIN_AVAILABLE -- Performing Curl Test HAVE_BUILTIN_AVAILABLE - Failed -- Performing Test HAVE_MSG_NOSIGNAL -- Performing Test HAVE_MSG_NOSIGNAL - Failed -- Performing Test HAVE_STRUCT_TIMEVAL -- Performing Test HAVE_STRUCT_TIMEVAL - Success -- Check size of struct sockaddr_storage -- Check size of struct sockaddr_storage - done -- Performing Test HAVE_POLL_FINE -- Performing Test HAVE_POLL_FINE - Failed -- Looking for CryptAcquireContext -- Looking for CryptAcquireContext - found -- Enabled features: SSL IPv6 unixsockets libz brotli AsynchDNS IDN Largefile SSPI alt-svc HSTS SPNEGO Kerberos NTLM HTTP2 MultiSSL HTTPS-proxy unicode threadsafe -- Enabled protocols: DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS LDAP LDAPS MQTT POP3 POP3S RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP WS WSS -- Enabled SSL backends: OpenSSL Schannel mbedTLS -- Configuring incomplete, errors occurred! See also "K:/data/depot/git/vcpkg/buildtrees/curl/x64-windows-dbg/CMakeFiles/CMakeOutput.log". See also "K:/data/depot/git/vcpkg/buildtrees/curl/x64-windows-dbg/CMakeFiles/CMakeError.log". ninja: build stopped: subcommand failed. ```

Additional context

it seems to be introduced by libssh2 upgrade, #32232 / https://github.com/microsoft/vcpkg/pull/32232/files#diff-68dce3e42b6ee6f7365b52ac7fa8f31b6d7aa21d56d0e740893ba62f6f20f4b7 I cut some logs from this issue, because I got "Comment is too long (maximum is 65536 characters)

dg0yt commented 1 year ago

get_target_property() called with non-existent target "Libssh2::libssh2".

The official targets have different names depending on linkage. I even added a usage file to libssh2 to cover it. By git grep ::libssh, it seems that in addition to curl, port cppfs needs an update, too.

topia commented 1 year ago

I can't get success with the generator expression, but I rewrite with if command and it seems to work:

    set(LIBSSH2_FOUND TRUE)
    if(TARGET Libssh2::libssh2_shared)
        set(LIBSSH2_LIBRARY Libssh2::libssh2_shared)
    else()
        set(LIBSSH2_LIBRARY Libssh2::libssh2_static)
    endif()
    get_target_property(LIBSSH2_INCLUDE_DIR "${LIBSSH2_LIBRARY}" INTERFACE_INCLUDE_DIRECTORIES)