******************************************************************************** conan install libavrocpp/1.10.2@ --build=libavrocpp --profile=/home/conan/w/BuildSingleReference/12981/3191a467-0408-4af2-b7f3-cc7d20e146ed/profile.txt ******************************************************************************** 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] 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:56e85e048a237371c86d912df0dad3ef833e6dcd - Cache bzip2/1.0.8:b27e2b40bcb70be2e7d6f0e0c6e43e35c530f8d3 - Cache libavrocpp/1.10.2:026a4b31a41e1d8d8ffade3ef275afd869d2cab8 - Build libbacktrace/cci.20210118:d50a0d523d98c15bb147b18fa7d203887c38be8b - Cache snappy/1.1.8:d351525cc53ebe68279edf1978846402420066e7 - Cache zlib/1.2.11:d50a0d523d98c15bb147b18fa7d203887c38be8b - 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/b27e2b40bcb70be2e7d6f0e0c6e43e35c530f8d3/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/026a4b31a41e1d8d8ffade3ef275afd869d2cab8 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 libavrocpp/1.10.2: 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 libavrocpp/1.10.2: Calling build() patches/0004-fix-windows-shared-installation.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/026a4b31a41e1d8d8ffade3ef275afd869d2cab8 WARN: patches/0004-fix-windows-shared-installation.patch: file 1/1: b'lang/c++/CMakeLists.txt' WARN: patches/0004-fix-windows-shared-installation.patch: hunk no.1 doesn't match source file at line 173 WARN: patches/0004-fix-windows-shared-installation.patch: expected: b' recursive_hh reuse_hh circulardep_hh tree1_hh tree2_hh crossref_hh' WARN: patches/0004-fix-windows-shared-installation.patch: actual : b'' WARN: patches/0004-fix-windows-shared-installation.patch: file 1/1: b'lang/c++/CMakeLists.txt' WARN: patches/0004-fix-windows-shared-installation.patch: hunk no.2 doesn't match source file at line 182 WARN: patches/0004-fix-windows-shared-installation.patch: expected: b'install (TARGETS avrocpp avrocpp_s' WARN: patches/0004-fix-windows-shared-installation.patch: actual : b'set (CPACK_PACKAGE_FILE_NAME "avrocpp-${AVRO_VERSION_MAJOR}")' libavrocpp/1.10.2: ERROR: Package '026a4b31a41e1d8d8ffade3ef275afd869d2cab8' build failed libavrocpp/1.10.2: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/libavrocpp/1.10.2/_/_/build/026a4b31a41e1d8d8ffade3ef275afd869d2cab8 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/0004-fix-windows-shared-installation.patch