******************************************************************************** conan install libgit2/1.5.0@#bce6161e352190cc90c3ecb086819fa9 --build=libgit2 -pr C:\J\w\prod\BuildSingleReference\270373\78ab399d-f42b-4e9b-9f5c-ec55e0823cb1/profile_windows_16_md_vs_release_64.libgit2-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (C:\J\w\prod\BuildSingleReference\.conan\profiles\default) Found Visual Studio 17 Default settings os=Windows os_build=Windows arch=x86_64 arch_build=x86_64 compiler=Visual Studio compiler.version=17 build_type=Release *** You can change them in C:\J\w\prod\BuildSingleReference\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=16 os=Windows [options] libgit2:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True zlib/1.2.13: Not found in local cache, looking in remotes... zlib/1.2.13: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.13: Downloaded recipe revision e377bee636333ae348d51ca90874e353 http_parser/2.9.4: Not found in local cache, looking in remotes... http_parser/2.9.4: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz http_parser/2.9.4: Downloaded recipe revision 38bd28da476afbba5e4adcdd726ea235 libssh2/1.11.0: Not found in local cache, looking in remotes... libssh2/1.11.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libssh2/1.11.0: Downloaded recipe revision 3c2ae97c90887386a340b5cb972b6582 openssl/3.1.1: Not found in local cache, looking in remotes... openssl/3.1.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/3.1.1: Downloaded recipe revision 3a25e05b364f335633143656dc265841 libgit2/1.5.0: Forced build from source Version ranges solved openssl/* versions found in 'conan-center' remote Version range '>=1.1 <4' required by 'libgit2/1.5.0' resolved to 'openssl/3.1.1' in remote 'conan-center' Version range '>=1.1 <4' required by 'libssh2/1.11.0' valid for downstream requirement 'openssl/3.1.1' Installing package: libgit2/1.5.0 Requirements http_parser/2.9.4 from 'conan-center' - Downloaded libgit2/1.5.0 from local cache - Cache libssh2/1.11.0 from 'conan-center' - Downloaded openssl/3.1.1 from 'conan-center' - Downloaded zlib/1.2.13 from 'conan-center' - Downloaded Packages http_parser/2.9.4:3fb49604f9c2f729b85ba3115852006824e72cab - Download libgit2/1.5.0:d78b2c491430236844ef25d4dd69131cfc55df0a - Build libssh2/1.11.0:2c8aeba8a8246aff8bb61768c03e04528915d220 - Download openssl/3.1.1:1cf626f618fdd256dd79c53f4d6cebfc2eaa1df7 - Download zlib/1.2.13:3fb49604f9c2f729b85ba3115852006824e72cab - Download Installing (downloading, building) binaries... http_parser/2.9.4: Retrieving package 3fb49604f9c2f729b85ba3115852006824e72cab from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz http_parser/2.9.4: Package installed 3fb49604f9c2f729b85ba3115852006824e72cab http_parser/2.9.4: Downloaded package revision fcdeeae35fd5cb7ffcca84752c9c6f30 zlib/1.2.13: Retrieving package 3fb49604f9c2f729b85ba3115852006824e72cab from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed 3fb49604f9c2f729b85ba3115852006824e72cab zlib/1.2.13: Downloaded package revision fe3ff2bc68db08cf61e6def85ccd85aa openssl/3.1.1: Retrieving package 1cf626f618fdd256dd79c53f4d6cebfc2eaa1df7 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/3.1.1: Package installed 1cf626f618fdd256dd79c53f4d6cebfc2eaa1df7 openssl/3.1.1: Downloaded package revision 356528615b613bc9a3e3458f6260c058 libssh2/1.11.0: Retrieving package 2c8aeba8a8246aff8bb61768c03e04528915d220 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libssh2/1.11.0: Package installed 2c8aeba8a8246aff8bb61768c03e04528915d220 libssh2/1.11.0: Downloaded package revision a07d98b143ef51ee911a829913095200 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libgit2/1.5.0: Configuring sources in C:\J\w\prod\BuildSingleReference\.conan\data\libgit2\1.5.0\_\_\source\src libgit2/1.5.0: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK libgit2/1.5.0: Copying sources to build folder libgit2/1.5.0: Building your package in C:\J\w\prod\BuildSingleReference\.conan\data\libgit2\1.5.0\_\_\build\d78b2c491430236844ef25d4dd69131cfc55df0a libgit2/1.5.0: Generator txt created conanbuildinfo.txt libgit2/1.5.0: Calling generate() libgit2/1.5.0: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' libgit2/1.5.0: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE=C:\J\w\prod\BuildSingleReference\.conan\data\libgit2\1.5.0\_\_\build\d78b2c491430236844ef25d4dd69131cfc55df0a\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' libgit2/1.5.0: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK libgit2/1.5.0: Calling build() libgit2/1.5.0: Apply patch (conan): use cci's packages libgit2/1.5.0: CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/libgit2/1.5.0/_/_/build/d78b2c491430236844ef25d4dd69131cfc55df0a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/libgit2/1.5.0/_/_/package/d78b2c491430236844ef25d4dd69131cfc55df0a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\libgit2\1.5.0\_\_\build\d78b2c491430236844ef25d4dd69131cfc55df0a\src" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/libgit2/1.5.0/_/_/build/d78b2c491430236844ef25d4dd69131cfc55df0a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/libgit2/1.5.0/_/_/package/d78b2c491430236844ef25d4dd69131cfc55df0a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\libgit2\1.5.0\_\_\build\d78b2c491430236844ef25d4dd69131cfc55df0a\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference/.conan/data/libgit2/1.5.0/_/_/build/d78b2c491430236844ef25d4dd69131cfc55df0a/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = ON -- The C compiler identification is MSVC 19.29.30148.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Performing Test HAVE_STRUCT_STAT_ST_MTIM -- Performing Test HAVE_STRUCT_STAT_ST_MTIM - Failed -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC - Failed -- Performing Test HAVE_STRUCT_STAT_MTIME_NSEC -- Performing Test HAVE_STRUCT_STAT_MTIME_NSEC - Failed -- Looking for futimens -- Looking for futimens - not found -- Could NOT find GSSAPI (missing: GSSAPI_LIBRARIES GSSAPI_INCLUDE_DIR) -- Conan: Component target declared 'OpenSSL::Crypto' -- Conan: Component target declared 'OpenSSL::SSL' -- Conan: Target declared 'openssl::openssl' -- Conan: Target declared 'ZLIB::ZLIB' -- Conan: Including build module from 'C:/J/w/prod/BuildSingleReference/.conan/data/openssl/3.1.1/_/_/package/1cf626f618fdd256dd79c53f4d6cebfc2eaa1df7/lib/cmake/conan-official-openssl-variables.cmake' -- Conan: Target declared 'http_parser::http_parser' -- Could NOT find PCRE (missing: PCRE_LIBRARY PCRE_INCLUDE_DIR) -- Looking for dirent.h -- Looking for dirent.h - not found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - not found -- Looking for windows.h -- Looking for windows.h - found -- Looking for bcopy -- Looking for bcopy - not found -- Looking for memmove -- Looking for memmove - found -- Looking for strerror -- Looking for strerror - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strtoq -- Looking for strtoq - not found -- Looking for _strtoi64 -- Looking for _strtoi64 - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of long long -- Check size of long long - done -- Check size of unsigned long long -- Check size of unsigned long long - done -- Performing Test IS_WNO_UNUSED_FUNCTION_SUPPORTED -- Performing Test IS_WNO_UNUSED_FUNCTION_SUPPORTED - Failed -- Performing Test IS_WNO_IMPLICIT_FALLTHROUGH_SUPPORTED -- Performing Test IS_WNO_IMPLICIT_FALLTHROUGH_SUPPORTED - Failed -- Conan: Component target declared 'Libssh2::libssh2' -- Looking for libssh2_userauth_publickey_frommemory in Libssh2::libssh2 -- Configuring incomplete, errors occurred! See also "C:/J/w/prod/BuildSingleReference/.conan/data/libgit2/1.5.0/_/_/build/d78b2c491430236844ef25d4dd69131cfc55df0a/build/CMakeFiles/CMakeOutput.log". See also "C:/J/w/prod/BuildSingleReference/.conan/data/libgit2/1.5.0/_/_/build/d78b2c491430236844ef25d4dd69131cfc55df0a/build/CMakeFiles/CMakeError.log". libgit2/1.5.0: CMake Error at C:/J/w/prod/BuildSingleReference/.conan/data/libgit2/1.5.0/_/_/build/d78b2c491430236844ef25d4dd69131cfc55df0a/build/CMakeFiles/CMakeTmp/CMakeLists.txt:20 (add_executable): Target "cmTC_1e57d" links to target "CONAN_LIB::libssh2_Libssh2_libssh2_libssh2_RELEASE" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CheckLibraryExists.cmake:72 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): cmake/SelectSSH.cmake:20 (check_library_exists) src/CMakeLists.txt:44 (include) WARN: libssh2/1.11.0: requirement openssl/[>=1.1 <4] overridden by libgit2/1.5.0 to openssl/3.1.1 libgit2/1.5.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior libgit2/1.5.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior libgit2/1.5.0: ERROR: Package 'd78b2c491430236844ef25d4dd69131cfc55df0a' build failed libgit2/1.5.0: WARN: Build folder C:\J\w\prod\BuildSingleReference\.conan\data\libgit2\1.5.0\_\_\build\d78b2c491430236844ef25d4dd69131cfc55df0a\build ERROR: libgit2/1.5.0: Error in build() method, line 159 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/libgit2/1.5.0/_/_/build/d78b2c491430236844ef25d4dd69131cfc55df0a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/libgit2/1.5.0/_/_/package/d78b2c491430236844ef25d4dd69131cfc55df0a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\libgit2\1.5.0\_\_\build\d78b2c491430236844ef25d4dd69131cfc55df0a\src"