Building wheel for confluent-kafka (setup.py): started
Building wheel for confluent-kafka (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [50 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.7
creating build/lib.linux-aarch64-3.7/confluent_kafka
copying src/confluent_kafka/deserializing_consumer.py -> build/lib.linux-aarch64-3.7/confluent_kafka
copying src/confluent_kafka/serializing_producer.py -> build/lib.linux-aarch64-3.7/confluent_kafka
copying src/confluent_kafka/error.py -> build/lib.linux-aarch64-3.7/confluent_kafka
copying src/confluent_kafka/__init__.py -> build/lib.linux-aarch64-3.7/confluent_kafka
creating build/lib.linux-aarch64-3.7/confluent_kafka/avro
copying src/confluent_kafka/avro/error.py -> build/lib.linux-aarch64-3.7/confluent_kafka/avro
copying src/confluent_kafka/avro/load.py -> build/lib.linux-aarch64-3.7/confluent_kafka/avro
copying src/confluent_kafka/avro/__init__.py -> build/lib.linux-aarch64-3.7/confluent_kafka/avro
copying src/confluent_kafka/avro/cached_schema_registry_client.py -> build/lib.linux-aarch64-3.7/confluent_kafka/avro
creating build/lib.linux-aarch64-3.7/confluent_kafka/kafkatest
copying src/confluent_kafka/kafkatest/verifiable_client.py -> build/lib.linux-aarch64-3.7/confluent_kafka/kafkatest
copying src/confluent_kafka/kafkatest/__init__.py -> build/lib.linux-aarch64-3.7/confluent_kafka/kafkatest
copying src/confluent_kafka/kafkatest/verifiable_producer.py -> build/lib.linux-aarch64-3.7/confluent_kafka/kafkatest
copying src/confluent_kafka/kafkatest/verifiable_consumer.py -> build/lib.linux-aarch64-3.7/confluent_kafka/kafkatest
creating build/lib.linux-aarch64-3.7/confluent_kafka/schema_registry
copying src/confluent_kafka/schema_registry/protobuf.py -> build/lib.linux-aarch64-3.7/confluent_kafka/schema_registry
copying src/confluent_kafka/schema_registry/error.py -> build/lib.linux-aarch64-3.7/confluent_kafka/schema_registry
copying src/confluent_kafka/schema_registry/avro.py -> build/lib.linux-aarch64-3.7/confluent_kafka/schema_registry
copying src/confluent_kafka/schema_registry/__init__.py -> build/lib.linux-aarch64-3.7/confluent_kafka/schema_registry
copying src/confluent_kafka/schema_registry/schema_registry_client.py -> build/lib.linux-aarch64-3.7/confluent_kafka/schema_registry
copying src/confluent_kafka/schema_registry/json_schema.py -> build/lib.linux-aarch64-3.7/confluent_kafka/schema_registry
creating build/lib.linux-aarch64-3.7/confluent_kafka/admin
copying src/confluent_kafka/admin/__init__.py -> build/lib.linux-aarch64-3.7/confluent_kafka/admin
creating build/lib.linux-aarch64-3.7/confluent_kafka/serialization
copying src/confluent_kafka/serialization/__init__.py -> build/lib.linux-aarch64-3.7/confluent_kafka/serialization
creating build/lib.linux-aarch64-3.7/confluent_kafka/avro/serializer
copying src/confluent_kafka/avro/serializer/message_serializer.py -> build/lib.linux-aarch64-3.7/confluent_kafka/avro/serializer
copying src/confluent_kafka/avro/serializer/__init__.py -> build/lib.linux-aarch64-3.7/confluent_kafka/avro/serializer
running build_ext
building 'confluent_kafka.cimpl' extension
creating build/temp.linux-aarch64-3.7
creating build/temp.linux-aarch64-3.7/tmp
creating build/temp.linux-aarch64-3.7/tmp/pip-install-kwnqwacr
creating build/temp.linux-aarch64-3.7/tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23
creating build/temp.linux-aarch64-3.7/tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23/src
creating build/temp.linux-aarch64-3.7/tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23/src/confluent_kafka
creating build/temp.linux-aarch64-3.7/tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23/src/confluent_kafka/src
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/srv/softwareheritage/venv/include -I/usr/local/include/python3.7m -c /tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23/src/confluent_kafka/src/Admin.c -o build/temp.linux-aarch64-3.7/tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23/src/confluent_kafka/src/Admin.o
In file included from /tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23/src/confluent_kafka/src/Admin.c:17:
/tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23/src/confluent_kafka/src/confluent_kafka.h:23:10: fatal error: librdkafka/rdkafka.h: No such file or directory
23 | #include <librdkafka/rdkafka.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for confluent-kafka
Running setup.py install for confluent-kafka: started
Running setup.py install for confluent-kafka: finished with status 'error'
error: subprocess-exited-with-error
× Running setup.py install for confluent-kafka did not run successfully.
│ exit code: 1
╰─> [52 lines of output]
running install
/srv/softwareheritage/venv/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.7
creating build/lib.linux-aarch64-3.7/confluent_kafka
copying src/confluent_kafka/deserializing_consumer.py -> build/lib.linux-aarch64-3.7/confluent_kafka
copying src/confluent_kafka/serializing_producer.py -> build/lib.linux-aarch64-3.7/confluent_kafka
copying src/confluent_kafka/error.py -> build/lib.linux-aarch64-3.7/confluent_kafka
copying src/confluent_kafka/__init__.py -> build/lib.linux-aarch64-3.7/confluent_kafka
creating build/lib.linux-aarch64-3.7/confluent_kafka/avro
copying src/confluent_kafka/avro/error.py -> build/lib.linux-aarch64-3.7/confluent_kafka/avro
copying src/confluent_kafka/avro/load.py -> build/lib.linux-aarch64-3.7/confluent_kafka/avro
copying src/confluent_kafka/avro/__init__.py -> build/lib.linux-aarch64-3.7/confluent_kafka/avro
copying src/confluent_kafka/avro/cached_schema_registry_client.py -> build/lib.linux-aarch64-3.7/confluent_kafka/avro
creating build/lib.linux-aarch64-3.7/confluent_kafka/kafkatest
copying src/confluent_kafka/kafkatest/verifiable_client.py -> build/lib.linux-aarch64-3.7/confluent_kafka/kafkatest
copying src/confluent_kafka/kafkatest/__init__.py -> build/lib.linux-aarch64-3.7/confluent_kafka/kafkatest
copying src/confluent_kafka/kafkatest/verifiable_producer.py -> build/lib.linux-aarch64-3.7/confluent_kafka/kafkatest
copying src/confluent_kafka/kafkatest/verifiable_consumer.py -> build/lib.linux-aarch64-3.7/confluent_kafka/kafkatest
creating build/lib.linux-aarch64-3.7/confluent_kafka/schema_registry
copying src/confluent_kafka/schema_registry/protobuf.py -> build/lib.linux-aarch64-3.7/confluent_kafka/schema_registry
copying src/confluent_kafka/schema_registry/error.py -> build/lib.linux-aarch64-3.7/confluent_kafka/schema_registry
copying src/confluent_kafka/schema_registry/avro.py -> build/lib.linux-aarch64-3.7/confluent_kafka/schema_registry
copying src/confluent_kafka/schema_registry/__init__.py -> build/lib.linux-aarch64-3.7/confluent_kafka/schema_registry
copying src/confluent_kafka/schema_registry/schema_registry_client.py -> build/lib.linux-aarch64-3.7/confluent_kafka/schema_registry
copying src/confluent_kafka/schema_registry/json_schema.py -> build/lib.linux-aarch64-3.7/confluent_kafka/schema_registry
creating build/lib.linux-aarch64-3.7/confluent_kafka/admin
copying src/confluent_kafka/admin/__init__.py -> build/lib.linux-aarch64-3.7/confluent_kafka/admin
creating build/lib.linux-aarch64-3.7/confluent_kafka/serialization
copying src/confluent_kafka/serialization/__init__.py -> build/lib.linux-aarch64-3.7/confluent_kafka/serialization
creating build/lib.linux-aarch64-3.7/confluent_kafka/avro/serializer
copying src/confluent_kafka/avro/serializer/message_serializer.py -> build/lib.linux-aarch64-3.7/confluent_kafka/avro/serializer
copying src/confluent_kafka/avro/serializer/__init__.py -> build/lib.linux-aarch64-3.7/confluent_kafka/avro/serializer
running build_ext
building 'confluent_kafka.cimpl' extension
creating build/temp.linux-aarch64-3.7
creating build/temp.linux-aarch64-3.7/tmp
creating build/temp.linux-aarch64-3.7/tmp/pip-install-kwnqwacr
creating build/temp.linux-aarch64-3.7/tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23
creating build/temp.linux-aarch64-3.7/tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23/src
creating build/temp.linux-aarch64-3.7/tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23/src/confluent_kafka
creating build/temp.linux-aarch64-3.7/tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23/src/confluent_kafka/src
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/srv/softwareheritage/venv/include -I/usr/local/include/python3.7m -c /tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23/src/confluent_kafka/src/Admin.c -o build/temp.linux-aarch64-3.7/tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23/src/confluent_kafka/src/Admin.o
In file included from /tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23/src/confluent_kafka/src/Admin.c:17:
/tmp/pip-install-kwnqwacr/confluent-kafka_5efdea04b4ca4d94aa2d377db5fa4e23/src/confluent_kafka/src/confluent_kafka.h:23:10: fatal error: librdkafka/rdkafka.h: No such file or directory
23 | #include <librdkafka/rdkafka.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> confluent-kafka
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
ERROR: Service 'swh-scheduler' failed to build : The command '/bin/sh -c pip install swh-core[db,http] swh-counters swh-deposit[server] swh-indexer swh-journal swh-lister swh-loader-core swh-loader-bzr swh-loader-cvs swh-loader-git swh-loader-mercurial swh-loader-svn swh-storage swh-objstorage swh-scheduler swh-vault swh-web' returned a non-zero code: 1