******************************************************************************** conan install libavrocpp/1.10.2@ --build=libavrocpp --profile=/home/conan/w/BuildSingleReference/12881/327e346b-c1dd-47e6-96cd-092bf5a9f6b9/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=6 os=Linux os_build=Linux [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 libbacktrace/cci.20210118 from 'conan-center' - Cache snappy/1.1.8 from 'conan-center' - Cache zlib/1.2.11 from 'conan-center' - Cache Packages boost/1.75.0:97c8ed21da04ce56d64ee6423e66ea38c88b68fb - Cache bzip2/1.0.8:d3439b0c3c2b7de760051db5f9a1fd45aaec4afb - Cache libavrocpp/1.10.2:142e4fc04e2d17ef6c413bfe407433a69826677a - Build libbacktrace/cci.20210118:2f7b82355ea4bfc093a8e85003164e724ce5930c - Cache snappy/1.1.8:13020582e5189cd3e7bbbddba79f550e90552766 - Cache zlib/1.2.11:2f7b82355ea4bfc093a8e85003164e724ce5930c - Cache Installing (downloading, building) binaries... bzip2/1.0.8: Already installed! bzip2/1.0.8: Appending PATH environment variable: /home/conan/w/BuildSingleReference/.conan/data/bzip2/1.0.8/_/_/package/d3439b0c3c2b7de760051db5f9a1fd45aaec4afb/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 libbacktrace/cci.20210118: 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 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! [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 /home/conan/w/BuildSingleReference/.conan/data/libavrocpp/1.10.2/_/_/build/142e4fc04e2d17ef6c413bfe407433a69826677a 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 libavrocpp/1.10.2: Generator cmake_find_package created Findlibbacktrace.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 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: /home/conan/w/BuildSingleReference/.conan/data/libavrocpp/1.10.2/_/_/build/142e4fc04e2d17ef6c413bfe407433a69826677a 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 '142e4fc04e2d17ef6c413bfe407433a69826677a' build failed libavrocpp/1.10.2: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/libavrocpp/1.10.2/_/_/build/142e4fc04e2d17ef6c413bfe407433a69826677a 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