******************************************************************************** conan install libgit2/0.28.5@#5418eacde8b758552e26b200342d2656 --build=libgit2 -pr C:\J\w\prod\BuildSingleReference@2\265821\8344f82d-e710-4c89-8dbd-d85349093373/profile_windows_16_mdd_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=MDd 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 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/0.28.5: Forced build from source Version ranges solved openssl/* versions found in 'conan-center' remote Version range '>=1.1 <4' required by 'libgit2/0.28.5' 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/0.28.5 Requirements http_parser/2.9.4 from 'conan-center' - Downloaded libgit2/0.28.5 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:d057732059ea44a47760900cb5e4855d2bea8714 - Download libgit2/0.28.5:a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3 - Build libssh2/1.11.0:0995d104f2733e95b30942d0f969818c3413fbbe - Download openssl/3.1.1:93e13514e79f4e5c082cf3505874df8af370579c - Download zlib/1.2.13:d057732059ea44a47760900cb5e4855d2bea8714 - Download Installing (downloading, building) binaries... http_parser/2.9.4: Retrieving package d057732059ea44a47760900cb5e4855d2bea8714 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz http_parser/2.9.4: Package installed d057732059ea44a47760900cb5e4855d2bea8714 http_parser/2.9.4: Downloaded package revision 0ae30e25e4eff00436d2286b03ddb34e zlib/1.2.13: Retrieving package d057732059ea44a47760900cb5e4855d2bea8714 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed d057732059ea44a47760900cb5e4855d2bea8714 zlib/1.2.13: Downloaded package revision 5f1045cb1831365712c9155aa6c9fd7f openssl/3.1.1: Retrieving package 93e13514e79f4e5c082cf3505874df8af370579c from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/3.1.1: Package installed 93e13514e79f4e5c082cf3505874df8af370579c openssl/3.1.1: Downloaded package revision b73c742774437e1cba15e6890f7c9e85 libssh2/1.11.0: Retrieving package 0995d104f2733e95b30942d0f969818c3413fbbe from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libssh2/1.11.0: Package installed 0995d104f2733e95b30942d0f969818c3413fbbe libssh2/1.11.0: Downloaded package revision ce140c9900be0116f91def7a3214f746 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libgit2/0.28.5: Configuring sources in C:\J\w\prod\BuildSingleReference@2\.conan\data\libgit2\0.28.5\_\_\source\src libgit2/0.28.5: [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/0.28.5: Copying sources to build folder libgit2/0.28.5: Building your package in C:\J\w\prod\BuildSingleReference@2\.conan\data\libgit2\0.28.5\_\_\build\a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3 libgit2/0.28.5: Generator txt created conanbuildinfo.txt libgit2/0.28.5: Calling generate() libgit2/0.28.5: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' libgit2/0.28.5: 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\0.28.5\_\_\build\a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' libgit2/0.28.5: 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/0.28.5: Calling build() libgit2/0.28.5: CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/0.28.5/_/_/build/a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/0.28.5/_/_/package/a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\libgit2\0.28.5\_\_\build\a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3\src" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/0.28.5/_/_/build/a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/0.28.5/_/_/package/a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\libgit2\0.28.5\_\_\build\a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/0.28.5/_/_/build/a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3/build/generators/conan_toolchain.cmake -- Configuring incomplete, errors occurred! libgit2/0.28.5: CMake Error at C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/0.28.5/_/_/build/a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3/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.11.0: requirement openssl/[>=1.1 <4] overridden by libgit2/0.28.5 to openssl/3.1.1 libgit2/0.28.5: 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/0.28.5: 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/0.28.5: ERROR: Package 'a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3' build failed libgit2/0.28.5: WARN: Build folder C:\J\w\prod\BuildSingleReference@2\.conan\data\libgit2\0.28.5\_\_\build\a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3\build ERROR: libgit2/0.28.5: Error in build() method, line 138 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/0.28.5/_/_/build/a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/libgit2/0.28.5/_/_/package/a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\libgit2\0.28.5\_\_\build\a2b91dd37ca42aebb4ddaaf9e22a64617ecfe6e3\src"