******************************************************************************** conan install libarchive/3.6.1@#09591f276d7de1855cb807a30a187708 --build=libarchive -pr C:\J\w\prod\BuildSingleReference\111144\bcacfb99-c7e4-4819-98ec-28b447816420/profile_windows_15_mt_vs_release_64.libarchive-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\.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=MT compiler.version=15 os=Windows [options] libarchive: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 647c91ed13c0a6c9ea9add6ca968ea93 libiconv/1.17: Not found in local cache, looking in remotes... libiconv/1.17: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libiconv/1.17: Downloaded recipe revision 3832bf4490d1a4ed8eae6722927ce589 libarchive/3.6.1: Forced build from source Installing package: libarchive/3.6.1 Requirements libarchive/3.6.1 from local cache - Cache libiconv/1.17 from 'conan-center' - Downloaded zlib/1.2.13 from 'conan-center' - Downloaded Packages libarchive/3.6.1:7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac - Build libiconv/1.17:7bd6f2c3d5c4e48a75805376b58cde753392f711 - Download zlib/1.2.13:7bd6f2c3d5c4e48a75805376b58cde753392f711 - Download Installing (downloading, building) binaries... libiconv/1.17: Retrieving package 7bd6f2c3d5c4e48a75805376b58cde753392f711 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libiconv/1.17: Package installed 7bd6f2c3d5c4e48a75805376b58cde753392f711 libiconv/1.17: Downloaded package revision 2f326173a17f6ff80a2d0fcceb182997 zlib/1.2.13: Retrieving package 7bd6f2c3d5c4e48a75805376b58cde753392f711 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed 7bd6f2c3d5c4e48a75805376b58cde753392f711 zlib/1.2.13: Downloaded package revision 23ea4f7e8c6f8d9a6096aa04ef98d5aa libiconv/1.17: Appending PATH environment var: C:\J\w\prod\BuildSingleReference\.conan\data\libiconv\1.17\_\_\package\7bd6f2c3d5c4e48a75805376b58cde753392f711\bin [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libarchive/3.6.1: Configuring sources in C:\J\w\prod\BuildSingleReference\.conan\data\libarchive\3.6.1\_\_\source\src libarchive/3.6.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 libarchive/3.6.1: Copying sources to build folder libarchive/3.6.1: Building your package in C:\J\w\prod\BuildSingleReference\.conan\data\libarchive\3.6.1\_\_\build\7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac libarchive/3.6.1: Generator txt created conanbuildinfo.txt libarchive/3.6.1: Calling generate() libarchive/3.6.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 libarchive/3.6.1: Calling build() libarchive/3.6.1: CMake command: cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/libarchive/3.6.1/_/_/build/7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/libarchive/3.6.1/_/_/package/7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\libarchive\3.6.1\_\_\build\7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac\src" ----Running------ > cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/libarchive/3.6.1/_/_/build/7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/libarchive/3.6.1/_/_/package/7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\libarchive\3.6.1\_\_\build\7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference/.conan/data/libarchive/3.6.1/_/_/build/7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The C compiler identification is MSVC 19.16.27048.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Conan: Target declared 'ZLIB::ZLIB' -- Performing Test ZLIB_WINAPI -- Configuring incomplete, errors occurred! See also "C:/J/w/prod/BuildSingleReference/.conan/data/libarchive/3.6.1/_/_/build/7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac/build/CMakeFiles/CMakeOutput.log". libarchive/3.6.1: CMake Error at C:/J/w/prod/BuildSingleReference/.conan/data/libarchive/3.6.1/_/_/build/7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac/build/CMakeFiles/CMakeTmp/CMakeLists.txt:20 (add_executable): Target "cmTC_724d3" links to target "CONAN_LIB::zlib_zlib_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/Internal/CheckSourceRuns.cmake:94 (try_run): Failed to generate test project build system. Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.21/Modules/CheckCSourceRuns.cmake:76 (cmake_check_source_runs) CMakeLists.txt:368 (CHECK_C_SOURCE_RUNS) CMakeLists.txt:432 (TRY_MACRO_FOR_LIBRARY) libarchive/3.6.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 libarchive/3.6.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 libarchive/3.6.1: ERROR: Package '7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac' build failed libarchive/3.6.1: WARN: Build folder C:\J\w\prod\BuildSingleReference\.conan\data\libarchive\3.6.1\_\_\build\7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac\build ERROR: libarchive/3.6.1: Error in build() method, line 219 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/libarchive/3.6.1/_/_/build/7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/libarchive/3.6.1/_/_/package/7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\libarchive\3.6.1\_\_\build\7c7f2129dd3bdaa7daa4e6fff5e6b809dbf583ac\src"