******************************************************************************** conan install libavrocpp/1.10.2@ --build=libavrocpp --profile=C:\J\w\BuildSingleReference@5/12881/1ad32183-17c4-43fb-a48a-2b0b7bb7cef3/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=15 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:5a1ff1caa09cc9b07d08e3a72f16a1ad6bfdb8af - Cache bzip2/1.0.8:5be2b7a2110ec8acdbf9a1cea9de5d60747edb34 - Cache libavrocpp/1.10.2:e652fc380eee1d7f26599ac8a865443cb758df6e - Build snappy/1.1.8:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Cache zlib/1.2.11:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Cache Installing (downloading, building) binaries... bzip2/1.0.8: Already installed! bzip2/1.0.8: Appending PATH environment variable: C:\J\w\BuildSingleReference@5\.conan\data\bzip2\1.0.8\_\_\package\5be2b7a2110ec8acdbf9a1cea9de5d60747edb34\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@5\.conan\data\libavrocpp\1.10.2\_\_\build\e652fc380eee1d7f26599ac8a865443cb758df6e 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@5\.conan\data\libavrocpp\1.10.2\_\_\build\e652fc380eee1d7f26599ac8a865443cb758df6e 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 'e652fc380eee1d7f26599ac8a865443cb758df6e' build failed libavrocpp/1.10.2: WARN: Build folder C:\J\w\BuildSingleReference@5\.conan\data\libavrocpp\1.10.2\_\_\build\e652fc380eee1d7f26599ac8a865443cb758df6e 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