******************************************************************************** conan install libavrocpp/1.10.2@ --build=libavrocpp --profile=C:\J\w\BuildSingleReference@6/12881/ec970293-fa07-445d-9eb2-0ceba5ce9daf/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MT compiler.version=16 os=Windows os_build=Windows [options] libavrocpp:shared=False [build_requires] [env] libavrocpp/1.10.2: Forced build from source Installing package: libavrocpp/1.10.2 Requirements boost/1.75.0 from 'conan-center' - Cache bzip2/1.0.8 from 'conan-center' - Cache libavrocpp/1.10.2 from local cache - Cache snappy/1.1.8 from 'conan-center' - Cache zlib/1.2.11 from 'conan-center' - Cache Packages boost/1.75.0:a434f6709273a96f1f7a219a9ad969ec4cce0667 - Cache bzip2/1.0.8:8feb221a01dcb7f80d1d66f9676d4e44215f5e08 - Cache libavrocpp/1.10.2:ddd896a07ebdda26a42c8dac93dd95c4824d6e43 - Build snappy/1.1.8:a79a557254fabcb77849dd623fed97c9c5ab7651 - Cache zlib/1.2.11:a79a557254fabcb77849dd623fed97c9c5ab7651 - Cache Installing (downloading, building) binaries... bzip2/1.0.8: Already installed! bzip2/1.0.8: Appending PATH environment variable: C:\J\w\BuildSingleReference@6\.conan\data\bzip2\1.0.8\_\_\package\8feb221a01dcb7f80d1d66f9676d4e44215f5e08\bin [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK snappy/1.1.8: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK zlib/1.2.11: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK boost/1.75.0: Already installed! boost/1.75.0: Disabled magic autolinking (smart and magic decisions) [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK libavrocpp/1.10.2: Copying sources to build folder libavrocpp/1.10.2: Building your package in C:\J\w\BuildSingleReference@6\.conan\data\libavrocpp\1.10.2\_\_\build\ddd896a07ebdda26a42c8dac93dd95c4824d6e43 libavrocpp/1.10.2: Generator cmake created conanbuildinfo.cmake libavrocpp/1.10.2: Generator cmake_find_package created FindBoost.cmake libavrocpp/1.10.2: Generator cmake_find_package created FindSnappy.cmake libavrocpp/1.10.2: Generator cmake_find_package created FindZLIB.cmake libavrocpp/1.10.2: Generator cmake_find_package created FindBZip2.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 libavrocpp/1.10.2: Calling build() patches/0002-disable-tests.patch: source file is different - b'lang/c++/CMakeLists.txt' libavrocpp/1.10.2: libavrocpp/1.10.2: WARN: Build folder is dirty, removing it: C:\J\w\BuildSingleReference@6\.conan\data\libavrocpp\1.10.2\_\_\build\ddd896a07ebdda26a42c8dac93dd95c4824d6e43 WARN: patches/0002-disable-tests.patch: file 1/1: b'lang/c++/CMakeLists.txt' WARN: patches/0002-disable-tests.patch: hunk no.1 doesn't match source file at line 160 WARN: patches/0002-disable-tests.patch: expected: b'enable_testing()' WARN: patches/0002-disable-tests.patch: actual : b'' WARN: patches/0002-disable-tests.patch: file 1/1: b'lang/c++/CMakeLists.txt' WARN: patches/0002-disable-tests.patch: hunk no.2 doesn't match source file at line 178 WARN: patches/0002-disable-tests.patch: expected: b'unittest (AvrogencppTests)' WARN: patches/0002-disable-tests.patch: actual : b'unittest (JsonTests)' libavrocpp/1.10.2: ERROR: Package 'ddd896a07ebdda26a42c8dac93dd95c4824d6e43' build failed libavrocpp/1.10.2: WARN: Build folder C:\J\w\BuildSingleReference@6\.conan\data\libavrocpp\1.10.2\_\_\build\ddd896a07ebdda26a42c8dac93dd95c4824d6e43 ERROR: libavrocpp/1.10.2: Error in build() method, line 64 self._patch_sources() while calling '_patch_sources', line 50 tools.patch(**patch) ConanException: Failed to apply patch: patches/0002-disable-tests.patch