******************************************************************************** conan install libgit2/1.0.1@#ad8499b02e86748d9a6010bb725991c6 --build=libgit2 -pr C:\J\w\prod\BuildSingleReference@2\174921\98de25ef-35cc-44d7-82e8-4df0e6939e35/profile_windows_16_mtd_vs_debug_64.libgit2-shared-False.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@2\.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@2\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Debug compiler=Visual Studio compiler.runtime=MTd compiler.version=16 os=Windows [options] libgit2:shared=False [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 13c96f538b52e1600c40b88994de240f 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 36e6cedbd7f007677417239f5437d3f9 libssh2/1.10.0: Not found in local cache, looking in remotes... libssh2/1.10.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libssh2/1.10.0: Downloaded recipe revision 5a973b8b1c50f748f36434f4200a1e5c openssl/1.1.1s: Not found in local cache, looking in remotes... openssl/1.1.1s: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/1.1.1s: Downloaded recipe revision b13395eb9813fcb36aeb957a6716ad77 libgit2/1.0.1: Forced build from source Installing package: libgit2/1.0.1 Requirements http_parser/2.9.4 from 'conan-center' - Downloaded libgit2/1.0.1 from local cache - Cache libssh2/1.10.0 from 'conan-center' - Downloaded openssl/1.1.1s from 'conan-center' - Downloaded zlib/1.2.13 from 'conan-center' - Downloaded Packages http_parser/2.9.4:b2b69efcc79a149e0bc765fb12ba0278d52fc260 - Download libgit2/1.0.1:70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8 - Build libssh2/1.10.0:318750a53c2b6dacd3d488fbd0efc0ffbd437626 - Download openssl/1.1.1s:b2b69efcc79a149e0bc765fb12ba0278d52fc260 - Download zlib/1.2.13:b2b69efcc79a149e0bc765fb12ba0278d52fc260 - Download Installing (downloading, building) binaries... http_parser/2.9.4: Retrieving package b2b69efcc79a149e0bc765fb12ba0278d52fc260 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz http_parser/2.9.4: Package installed b2b69efcc79a149e0bc765fb12ba0278d52fc260 http_parser/2.9.4: Downloaded package revision 1ac6225340e4235c02acb6fc1d372177 openssl/1.1.1s: Retrieving package b2b69efcc79a149e0bc765fb12ba0278d52fc260 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1s: Package installed b2b69efcc79a149e0bc765fb12ba0278d52fc260 openssl/1.1.1s: Downloaded package revision 630e17b973022d1a39193f9115655f3b zlib/1.2.13: Retrieving package b2b69efcc79a149e0bc765fb12ba0278d52fc260 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed b2b69efcc79a149e0bc765fb12ba0278d52fc260 zlib/1.2.13: Downloaded package revision 21d4a0c4275436ded63c64e887ed08f2 libssh2/1.10.0: Retrieving package 318750a53c2b6dacd3d488fbd0efc0ffbd437626 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libssh2/1.10.0: Package installed 318750a53c2b6dacd3d488fbd0efc0ffbd437626 libssh2/1.10.0: Downloaded package revision a844506ec5770c55426a9ae0526bdd56 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libgit2/1.0.1: Configuring sources in C:\J\w\prod\BuildSingleReference@2\.conan\data\libgit2\1.0.1\_\_\source\src libgit2/1.0.1: [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.0.1: Copying sources to build folder libgit2/1.0.1: Building your package in C:\J\w\prod\BuildSingleReference@2\.conan\data\libgit2\1.0.1\_\_\build\70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8 libgit2/1.0.1: Generator txt created conanbuildinfo.txt libgit2/1.0.1: Calling generate() libgit2/1.0.1: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' libgit2/1.0.1: 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@2\.conan\data\libgit2\1.0.1\_\_\build\70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' libgit2/1.0.1: 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.0.1: Calling build() libgit2/1.0.1: Apply patch (conan): use cci packages libgit2/1.0.1: CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/1.0.1/_/_/build/70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/1.0.1/_/_/package/70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\libgit2\1.0.1\_\_\build\70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8\src" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/1.0.1/_/_/build/70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/1.0.1/_/_/package/70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\libgit2\1.0.1\_\_\build\70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/1.0.1/_/_/build/70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8/build/generators/conan_toolchain.cmake -- Configuring incomplete, errors occurred! libgit2/1.0.1: CMake Error at C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/1.0.1/_/_/build/70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8/build/generators/conan_toolchain.cmake:31 (message): The CMake policy CMP0091 must be NEW, but is '' Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:124 (include) CMakeLists.txt:14 (PROJECT) WARN: libssh2/1.10.0: requirement zlib/1.2.12 overridden by libgit2/1.0.1 to zlib/1.2.13 WARN: libssh2/1.10.0: requirement openssl/1.1.1q overridden by libgit2/1.0.1 to openssl/1.1.1s libgit2/1.0.1: 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.0.1: 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.0.1: ERROR: Package '70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8' build failed libgit2/1.0.1: WARN: Build folder C:\J\w\prod\BuildSingleReference@2\.conan\data\libgit2\1.0.1\_\_\build\70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8\build ERROR: libgit2/1.0.1: Error in build() method, line 164 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/1.0.1/_/_/build/70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/1.0.1/_/_/package/70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\libgit2\1.0.1\_\_\build\70a76395fcb9e3d2e3fb3e35149f80eeec0eccd8\src"