******************************************************************************** conan install libavrocpp/1.10.2@ --build=libavrocpp --profile=/home/conan/w/BuildSingleReference/12981/25a50aab-7e42-4e93-bdb1-0dcb819e9878/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=10 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:2033245bf5a77efcda848373b0aa1e71cf9b4dc4 - Cache bzip2/1.0.8:91a8b22c2c5a149bc617cfc06cdd21bf23b12567 - Cache libavrocpp/1.10.2:85a3e6df9fd661ff43cc27caa65e61a5a71afcf8 - Build libbacktrace/cci.20210118:19729b9559f3ae196cad45cb2b97468ccb75dcd1 - Cache snappy/1.1.8:b173bbda18164d49a449ffadc1c9e817f49e819d - Cache zlib/1.2.11:19729b9559f3ae196cad45cb2b97468ccb75dcd1 - 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/91a8b22c2c5a149bc617cfc06cdd21bf23b12567/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/85a3e6df9fd661ff43cc27caa65e61a5a71afcf8 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/85a3e6df9fd661ff43cc27caa65e61a5a71afcf8 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 '85a3e6df9fd661ff43cc27caa65e61a5a71afcf8' build failed libavrocpp/1.10.2: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/libavrocpp/1.10.2/_/_/build/85a3e6df9fd661ff43cc27caa65e61a5a71afcf8 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