You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
librdkafka/1.8.2: Configuring sources in /conan/.conan/data/librdkafka/1.8.2/_/_/source/src
librdkafka/1.8.2:
librdkafka/1.8.2: Copying sources to build folder
librdkafka/1.8.2: Building your package in /conan/.conan/data/librdkafka/1.8.2/_/_/build/ae3724188ab9eed682242d0fe9f45460aaa88eab
librdkafka/1.8.2: Generator txt created conanbuildinfo.txt
librdkafka/1.8.2: Calling generate()
librdkafka/1.8.2: Aggregating env generators
librdkafka/1.8.2: Calling build()
librdkafka/1.8.2: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/conan/.conan/data/librdkafka/1.8.2/_/_/build/ae3724188ab9eed682242d0fe9f45460aaa88eab/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/conan/.conan/data/librdkafka/1.8.2/_/_/package/ae3724188ab9eed682242d0fe9f45460aaa88eab" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/conan/.conan/data/librdkafka/1.8.2/_/_/build/ae3724188ab9eed682242d0fe9f45460aaa88eab/src"
Capturing current environment in /conan/.conan/data/librdkafka/1.8.2/_/_/build/ae3724188ab9eed682242d0fe9f45460aaa88eab/build/generators/deactivate_conanbuildenv-release-x86_64.sh
Configuring environment variables
Capturing current environment in /conan/.conan/data/librdkafka/1.8.2/_/_/build/ae3724188ab9eed682242d0fe9f45460aaa88eab/build/generators/deactivate_conanbuildenv_pkg_config_path.sh
Configuring environment variables
-- Using Conan toolchain: /conan/.conan/data/librdkafka/1.8.2/_/_/build/ae3724188ab9eed682242d0fe9f45460aaa88eab/build/generators/conan_toolchain.cmake
-- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC)
-- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pow in m
-- Looking for pow in m - found
-- Conan: Component target declared 'OpenSSL::Crypto'
-- Conan: Component target declared 'OpenSSL::SSL'
-- Conan: Target declared 'openssl::openssl'
-- Conan: Including build module from '/conan/.conan/data/openssl/1.1.1q/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/cmake/conan-official-openssl-variables.cmake'
-- Checking for module 'libsasl2'
-- Found libsasl2, version 2.1.27
-- Conan: Target declared 'lz4::lz4'
CMake Error at /conan/.conan/data/librdkafka/1.8.2/_/_/build/ae3724188ab9eed682242d0fe9f45460aaa88eab/build/generators/OpenSSL-Target-release.cmake:119 (target_link_libraries):
Cannot specify link libraries for target "openssl::openssl" which is not
built by this project.
Call Stack (most recent call first):
/conan/.conan/data/librdkafka/1.8.2/_/_/build/ae3724188ab9eed682242d0fe9f45460aaa88eab/build/generators/OpenSSLTargets.cmake:26 (include)
/conan/.conan/data/librdkafka/1.8.2/_/_/build/ae3724188ab9eed682242d0fe9f45460aaa88eab/build/generators/OpenSSLConfig.cmake:10 (include)
src/CMakeLists.txt:213 (find_package)
The text was updated successfully, but these errors were encountered:
achieved the same result using MacOS 12.3, Clang 14.0.6, conan 1.51.0 with CMake 3.22 (same as author) and Python 3.9.13, trying to build:
librdkafka 1.7.0/1.8.2/1.9.1/1.9.2 using conan.
Recently found out that build succeeds after switching to conan 1.50 - maybe this helps :)
Package and Environment Details
Conan profile
conan profile new default --detect
conan profile update settings.compiler.libcxx=libstdc++11 default
Steps to reproduce
Use the following conanfile.py:
`
from conans import ConanFile
class UltinousConanFile(ConanFile):
requires = (
("librdkafka/1.8.2"),
)
generators = "cmake_find_package"
default_options = {
"librdkafka:sasl": True,
"librdkafka:ssl": True,
}
`
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: