******************************************************************************** conan install librdkafka/1.7.0@ --build=librdkafka --profile=/home/conan/w/BuildSingleReference/13281/76b69f4b-70d0-458d-8e2e-8fa633f9722c/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux os_build=Linux [options] librdkafka:shared=False [build_requires] [env] librdkafka/1.7.0: Forced build from source Installing package: librdkafka/1.7.0 Requirements librdkafka/1.7.0 from local cache - Cache lz4/1.9.3 from 'conan-center' - Cache Packages librdkafka/1.7.0:ccd08cade4badf8b1029c65e4afe1c38d6d892ff - Build lz4/1.9.3:b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 - Cache Installing (downloading, building) binaries... lz4/1.9.3: 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 librdkafka/1.7.0: Copying sources to build folder librdkafka/1.7.0: Building your package in /home/conan/w/BuildSingleReference/.conan/data/librdkafka/1.7.0/_/_/build/ccd08cade4badf8b1029c65e4afe1c38d6d892ff librdkafka/1.7.0: Generator cmake created conanbuildinfo.cmake librdkafka/1.7.0: Generator pkg_config created liblz4.pc librdkafka/1.7.0: Generator cmake_find_package created Findlz4.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 librdkafka/1.7.0: Calling build() patches/0004-Change-library-names.patch: source file is different - b'CMakeLists.txt' librdkafka/1.7.0: librdkafka/1.7.0: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/librdkafka/1.7.0/_/_/build/ccd08cade4badf8b1029c65e4afe1c38d6d892ff WARN: patches/0004-Change-library-names.patch: file 1/1: b'CMakeLists.txt' WARN: patches/0004-Change-library-names.patch: hunk no.2 doesn't match source file at line 136 WARN: patches/0004-Change-library-names.patch: expected: b' if(WITH_SSL)' WARN: patches/0004-Change-library-names.patch: actual : b' if(SASL_FOUND)' WARN: patches/0004-Change-library-names.patch: file 1/1: b'CMakeLists.txt' WARN: patches/0004-Change-library-names.patch: hunk no.3 doesn't match source file at line 149 WARN: patches/0004-Change-library-names.patch: expected: b'option(ENABLE_LZ4_EXT "Enable external LZ4 library support" ON)' WARN: patches/0004-Change-library-names.patch: actual : b'# }' librdkafka/1.7.0: ERROR: Package 'ccd08cade4badf8b1029c65e4afe1c38d6d892ff' build failed librdkafka/1.7.0: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/librdkafka/1.7.0/_/_/build/ccd08cade4badf8b1029c65e4afe1c38d6d892ff ERROR: librdkafka/1.7.0: Error in build() method, line 101 self._patch_sources() while calling '_patch_sources', line 78 tools.patch(**patch) ConanException: Failed to apply patch: patches/0004-Change-library-names.patch