******************************************************************************** conan install hiredis/1.1.0@#4a1fdf72e70f879787da6c1a1c1ee16e --build=hiredis -pr C:\J\w\prod\BuildSingleReference\123903\0c56c5be-9499-46db-b3d0-08be2d9eeb30/profile_windows_16_mtd_vs_debug_64.hiredis-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=Debug compiler=Visual Studio compiler.runtime=MTd compiler.version=16 os=Windows [options] hiredis:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True hiredis/1.1.0: Forced build from source Installing package: hiredis/1.1.0 Requirements hiredis/1.1.0 from local cache - Cache Packages hiredis/1.1.0:b2b69efcc79a149e0bc765fb12ba0278d52fc260 - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK hiredis/1.1.0: Configuring sources in C:\J\w\prod\BuildSingleReference\.conan\data\hiredis\1.1.0\_\_\source\src hiredis/1.1.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 hiredis/1.1.0: Copying sources to build folder hiredis/1.1.0: Building your package in C:\J\w\prod\BuildSingleReference\.conan\data\hiredis\1.1.0\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260 hiredis/1.1.0: Generator txt created conanbuildinfo.txt hiredis/1.1.0: Calling generate() hiredis/1.1.0: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' hiredis/1.1.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\hiredis\1.1.0\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' hiredis/1.1.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 hiredis/1.1.0: Calling build() hiredis/1.1.0: Apply patch (conan): divide static/shared build, fix openssl link name hiredis/1.1.0: Apply patch (portability): support AIX build hiredis/1.1.0: CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/hiredis/1.1.0/_/_/build/b2b69efcc79a149e0bc765fb12ba0278d52fc260/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/hiredis/1.1.0/_/_/package/b2b69efcc79a149e0bc765fb12ba0278d52fc260" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\hiredis\1.1.0\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260\src" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/hiredis/1.1.0/_/_/build/b2b69efcc79a149e0bc765fb12ba0278d52fc260/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/hiredis/1.1.0/_/_/package/b2b69efcc79a149e0bc765fb12ba0278d52fc260" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\hiredis\1.1.0\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference/.conan/data/hiredis/1.1.0/_/_/build/b2b69efcc79a149e0bc765fb12ba0278d52fc260/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The C compiler identification is MSVC 19.29.30146.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 -- Configuring done -- Generating done hiredis/1.1.0: Detected version: 1.1.0 CMake Error: Error evaluating generator expression: $ No target "hiredis" CMake Error: Error evaluating generator expression: $ No target "hiredis" CMake Generate step failed. Build files cannot be regenerated correctly. hiredis/1.1.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 hiredis/1.1.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 hiredis/1.1.0: WARN: C:\J\w\prod\BuildSingleReference\.conan\data\hiredis\1.1.0\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260\patches/0002-fix-aix.patch: file 1/1: b'fmacros.h' hiredis/1.1.0: WARN: C:\J\w\prod\BuildSingleReference\.conan\data\hiredis\1.1.0\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260\patches/0002-fix-aix.patch: hunk no.1 doesn't match source file at line 4 hiredis/1.1.0: WARN: C:\J\w\prod\BuildSingleReference\.conan\data\hiredis\1.1.0\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260\patches/0002-fix-aix.patch: expected: b'#define _XOPEN_SOURCE 600' hiredis/1.1.0: WARN: C:\J\w\prod\BuildSingleReference\.conan\data\hiredis\1.1.0\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260\patches/0002-fix-aix.patch: actual : b'#ifndef _AIX' hiredis/1.1.0: WARN: C:\J\w\prod\BuildSingleReference\.conan\data\hiredis\1.1.0\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260\patches/0002-fix-aix.patch: already patched b'fmacros.h' hiredis/1.1.0: ERROR: Package 'b2b69efcc79a149e0bc765fb12ba0278d52fc260' build failed hiredis/1.1.0: WARN: Build folder C:\J\w\prod\BuildSingleReference\.conan\data\hiredis\1.1.0\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260\build ERROR: hiredis/1.1.0: Error in build() method, line 75 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/hiredis/1.1.0/_/_/build/b2b69efcc79a149e0bc765fb12ba0278d52fc260/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/hiredis/1.1.0/_/_/package/b2b69efcc79a149e0bc765fb12ba0278d52fc260" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\hiredis\1.1.0\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260\src"