******************************************************************************** conan install librdkafka/1.7.0@ --build=librdkafka --profile=C:\J\w\BuildSingleReference@3/13281/e288ed66-0155-442a-8fe4-66089029ca5f/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=16 os=Windows os_build=Windows [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:fcab4e6bf79f62fea308967c4eee2dca5cf7b045 - Build lz4/1.9.3:3fb49604f9c2f729b85ba3115852006824e72cab - 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 C:\J\w\BuildSingleReference@3\.conan\data\librdkafka\1.7.0\_\_\build\fcab4e6bf79f62fea308967c4eee2dca5cf7b045 librdkafka/1.7.0: Generator cmake_find_package created Findlz4.cmake librdkafka/1.7.0: Generator pkg_config created liblz4.pc librdkafka/1.7.0: Generator cmake created conanbuildinfo.cmake [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [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: C:\J\w\BuildSingleReference@3\.conan\data\librdkafka\1.7.0\_\_\build\fcab4e6bf79f62fea308967c4eee2dca5cf7b045 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 'fcab4e6bf79f62fea308967c4eee2dca5cf7b045' build failed librdkafka/1.7.0: WARN: Build folder C:\J\w\BuildSingleReference@3\.conan\data\librdkafka\1.7.0\_\_\build\fcab4e6bf79f62fea308967c4eee2dca5cf7b045 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