******************************************************************************** conan install gtest/cci.20210126@ --profile=/home/conan/w/BuildSingleReference/11582/310d7567-aa90-4dfa-8411-394fde823780/profile.txt --build=gtest ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=7 os=Linux os_build=Linux [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:4a8c5b4cd3b4d45b83fff85d53160ea02ae5fa2d - Build Installing (downloading, building) binaries... gtest/cci.20210126: Copying sources to build folder gtest/cci.20210126: Building your package in /home/conan/w/BuildSingleReference/.conan/data/gtest/cci.20210126/_/_/build/4a8c5b4cd3b4d45b83fff85d53160ea02ae5fa2d gtest/cci.20210126: Generator cmake created conanbuildinfo.cmake [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [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: /home/conan/w/BuildSingleReference/.conan/data/gtest/cci.20210126/_/_/build/4a8c5b4cd3b4d45b83fff85d53160ea02ae5fa2d 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 '4a8c5b4cd3b4d45b83fff85d53160ea02ae5fa2d' build failed gtest/cci.20210126: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/gtest/cci.20210126/_/_/build/4a8c5b4cd3b4d45b83fff85d53160ea02ae5fa2d ERROR: gtest/cci.20210126: Error in build() method, line 124 tools.patch(**patch) ConanException: Failed to apply patch: patches/gtest-internal-utils.patch