Source: librdkafka
Version: 1.4.2-1
Severity: important

I work on getting OpenStack working on AArch64 (arm64) architecture.
Using Debian 'buster' as main development platform.

The problem is "confluent-kafka" Python package. For x86 arch it is easy
as wheel is provided on Pypi.org website. But on other architectures we
need to build it. And it requires librdkafka development headers in
version newer than one in Buster:

building 'confluent_kafka.cimpl' extension                                      
                                                                                
                                                     [78/1959]
creating build/temp.linux-aarch64-3.6
creating build/temp.linux-aarch64-3.6/tmp
creating build/temp.linux-aarch64-3.6/tmp/pip-build-b71a1ssk
creating build/temp.linux-aarch64-3.6/tmp/pip-build-b71a1ssk/confluent-kafka
creating 
build/temp.linux-aarch64-3.6/tmp/pip-build-b71a1ssk/confluent-kafka/confluent_kafka
creating 
build/temp.linux-aarch64-3.6/tmp/pip-build-b71a1ssk/confluent-kafka/confluent_kafka/src
aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c 
/tmp/pip-build-b71a1ssk/confluent
ka/confluent_kafka/src/confluent_kafka.c -o 
build/temp.linux-aarch64-3.6/tmp/pip-build-b71a1ssk/confluent-kafka/confluent_kafka/src/confluent_kafka.o
In file included from 
/tmp/pip-build-b71a1ssk/confluent-kafka/confluent_kafka/src/confluent_kafka.c:17:0:
/tmp/pip-build-b71a1ssk/confluent-kafka/confluent_kafka/src/confluent_kafka.h:65:2:
 error: #error "confluent-kafka-python requires librdkafka v1.4.0 or later. 
Install the latest version of librdkafka from the Confluent rep
ories, see http://docs.confluent.io/current/installation.html";
 #error "confluent-kafka-python requires librdkafka v1.4.0 or later. Install 
the latest version of librdkafka from the Confluent repositories, see 
http://docs.confluent.io/current/installation.html";
  ^~~~~
In file included from 
/tmp/pip-build-b71a1ssk/confluent-kafka/confluent_kafka/src/confluent_kafka.c:17:0:


1.4.2-1 from Debian 'testing' builds fine in 'buster' so maybe it would
be possible to get it as official backport?

-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.12-300.fc32.x86_64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Reply via email to