******************************************************************************** conan install libavrocpp/1.10.2@ --build=libavrocpp --profile=/home/conan/w/BuildSingleReference/12981/47c4b001-4882-4f66-b185-85f7e478a0ec/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=8 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:b4cf9557a183758df446dd9058601421b40166b0 - Cache bzip2/1.0.8:a5875aed3fc7ae8dd0488f7e5e99acbc480d721d - Cache libavrocpp/1.10.2:aa72469fe417e52bab43d3d4e8500c62d1f30f7b - Build libbacktrace/cci.20210118:1d877a3df840030e6a8abb74c5ffb9088d08b47a - Cache snappy/1.1.8:a2582e1f57e524e15d7e84f4c862d0a472d3216f - Cache zlib/1.2.11:1d877a3df840030e6a8abb74c5ffb9088d08b47a - 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/a5875aed3fc7ae8dd0488f7e5e99acbc480d721d/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/aa72469fe417e52bab43d3d4e8500c62d1f30f7b 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/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/aa72469fe417e52bab43d3d4e8500c62d1f30f7b 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 'aa72469fe417e52bab43d3d4e8500c62d1f30f7b' build failed libavrocpp/1.10.2: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/libavrocpp/1.10.2/_/_/build/aa72469fe417e52bab43d3d4e8500c62d1f30f7b 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