******************************************************************************** conan install gtest/cci.20210126@ --profile=C:\J\w\BuildSingleReference@10/11582/96552460-4f99-43b4-aa58-dcbc39a22b98/profile.txt --build=gtest ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MT compiler.version=15 os=Windows os_build=Windows [options] gtest:shared=False [build_requires] [env] gtest/cci.20210126: Forced build from source Installing package: gtest/cci.20210126 Requirements gtest/cci.20210126 from local cache - Cache Packages gtest/cci.20210126:3c2b56954b49f6c0dbc774d4e34d8cfddfd8755e - Build Installing (downloading, building) binaries... gtest/cci.20210126: Copying sources to build folder gtest/cci.20210126: Building your package in C:\J\w\BuildSingleReference@10\.conan\data\gtest\cci.20210126\_\_\build\3c2b56954b49f6c0dbc774d4e34d8cfddfd8755e gtest/cci.20210126: Generator cmake created conanbuildinfo.cmake [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 gtest/cci.20210126: Calling build() patches/gtest-internal-utils.patch: source file is different - b'googletest/cmake/internal_utils.cmake' gtest/cci.20210126: gtest/cci.20210126: WARN: Build folder is dirty, removing it: C:\J\w\BuildSingleReference@10\.conan\data\gtest\cci.20210126\_\_\build\3c2b56954b49f6c0dbc774d4e34d8cfddfd8755e WARN: patches/gtest-internal-utils.patch: file 1/1: b'googletest/cmake/internal_utils.cmake' WARN: patches/gtest-internal-utils.patch: hunk no.1 doesn't match source file at line 250 WARN: patches/gtest-internal-utils.patch: expected: b' cxx_executable_with_flags(${name} "${cxx_flags}" "${libs}" ${ARGN})' WARN: patches/gtest-internal-utils.patch: actual : b' find_package(Python COMPONENTS Interpreter)' WARN: patches/gtest-internal-utils.patch: file 1/1: b'googletest/cmake/internal_utils.cmake' WARN: patches/gtest-internal-utils.patch: hunk no.2 doesn't match source file at line 276 WARN: patches/gtest-internal-utils.patch: expected: b' if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER 3.1)' WARN: patches/gtest-internal-utils.patch: actual : b'# creates a Python test with the given name whose main module is in' gtest/cci.20210126: ERROR: Package '3c2b56954b49f6c0dbc774d4e34d8cfddfd8755e' build failed gtest/cci.20210126: WARN: Build folder C:\J\w\BuildSingleReference@10\.conan\data\gtest\cci.20210126\_\_\build\3c2b56954b49f6c0dbc774d4e34d8cfddfd8755e ERROR: gtest/cci.20210126: Error in build() method, line 124 tools.patch(**patch) ConanException: Failed to apply patch: patches/gtest-internal-utils.patch