******************************************************************************** conan install librdkafka/1.7.0@ --build=librdkafka --profile=/Users/jenkins/w/BuildSingleReference/13281/c75428bb-90e4-408b-bd9f-76203f2ff03e/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=11.0 os=Macos os_build=Macos [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:e7efbacf07f9d5078daa804a718a183deffc3e53 - Build lz4/1.9.3:f74366f76f700cc6e991285892ad7a23c30e6d47 - 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 /Users/jenkins/w/BuildSingleReference/.conan/data/librdkafka/1.7.0/_/_/build/e7efbacf07f9d5078daa804a718a183deffc3e53 librdkafka/1.7.0: Generator pkg_config created liblz4.pc librdkafka/1.7.0: Generator cmake_find_package created Findlz4.cmake librdkafka/1.7.0: 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 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: /Users/jenkins/w/BuildSingleReference/.conan/data/librdkafka/1.7.0/_/_/build/e7efbacf07f9d5078daa804a718a183deffc3e53 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 'e7efbacf07f9d5078daa804a718a183deffc3e53' build failed librdkafka/1.7.0: WARN: Build folder /Users/jenkins/w/BuildSingleReference/.conan/data/librdkafka/1.7.0/_/_/build/e7efbacf07f9d5078daa804a718a183deffc3e53 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