Package: src:python-confluent-kafka Version: 1.7.0-4 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build. Below you will find how the build ends (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202509/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-confluent-kafka, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild pybuild --clean -i python{version} -p 3.13 I: pybuild base:311: python3.13 setup.py clean /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running clean removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.13' does not exist -- can't clean it rm -rf .pybuild/ find . -name \*.pyc -exec rm {} \; dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ rm -f -- debian/python3-confluent-kafka.substvars debian/files rm -fr -- debian/python3-confluent-kafka/ debian/tmp/ find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \) debian/rules binary dh binary --with python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild pybuild --configure -i python{version} -p 3.13 I: pybuild base:311: python3.13 setup.py config /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running config dh_auto_build -O--buildsystem=pybuild pybuild --build -i python{version} -p 3.13 I: pybuild base:311: /usr/bin/python3 setup.py build /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka copying src/confluent_kafka/error.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka copying src/confluent_kafka/serializing_producer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka copying src/confluent_kafka/deserializing_consumer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka copying src/confluent_kafka/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/schema_registry copying src/confluent_kafka/schema_registry/error.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/schema_registry copying src/confluent_kafka/schema_registry/protobuf.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/schema_registry copying src/confluent_kafka/schema_registry/schema_registry_client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/schema_registry copying src/confluent_kafka/schema_registry/json_schema.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/schema_registry copying src/confluent_kafka/schema_registry/avro.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/schema_registry copying src/confluent_kafka/schema_registry/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/schema_registry creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/kafkatest copying src/confluent_kafka/kafkatest/verifiable_producer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/kafkatest copying src/confluent_kafka/kafkatest/verifiable_consumer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/kafkatest copying src/confluent_kafka/kafkatest/verifiable_client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/kafkatest copying src/confluent_kafka/kafkatest/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/kafkatest creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/serialization copying src/confluent_kafka/serialization/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/serialization creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/admin copying src/confluent_kafka/admin/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/admin creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/avro copying src/confluent_kafka/avro/error.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/avro copying src/confluent_kafka/avro/cached_schema_registry_client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/avro copying src/confluent_kafka/avro/load.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/avro copying src/confluent_kafka/avro/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/avro creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/avro/serializer copying src/confluent_kafka/avro/serializer/message_serializer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/avro/serializer copying src/confluent_kafka/avro/serializer/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/confluent_kafka/avro/serializer running build_ext building 'confluent_kafka.cimpl' extension creating build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/confluent_kafka/src x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c /<<PKGBUILDDIR>>/src/confluent_kafka/src/Admin.c -o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/confluent_kafka/src/Admin.o x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c /<<PKGBUILDDIR>>/src/confluent_kafka/src/AdminTypes.c -o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/confluent_kafka/src/AdminTypes.o x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c /<<PKGBUILDDIR>>/src/confluent_kafka/src/Consumer.c -o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/confluent_kafka/src/Consumer.o x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c /<<PKGBUILDDIR>>/src/confluent_kafka/src/Metadata.c -o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/confluent_kafka/src/Metadata.o x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c /<<PKGBUILDDIR>>/src/confluent_kafka/src/Producer.c -o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/confluent_kafka/src/Producer.o x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c /<<PKGBUILDDIR>>/src/confluent_kafka/src/confluent_kafka.c -o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/confluent_kafka/src/confluent_kafka.o /<<PKGBUILDDIR>>/src/confluent_kafka/src/confluent_kafka.c: In function â_init_cimplâ: /<<PKGBUILDDIR>>/src/confluent_kafka/src/confluent_kafka.c:2544:9: warning: âPyEval_InitThreadsâ is deprecated [-Wdeprecated-declarations] 2544 | PyEval_InitThreads(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.13/Python.h:125, from /<<PKGBUILDDIR>>/src/confluent_kafka/src/confluent_kafka.h:18, from /<<PKGBUILDDIR>>/src/confluent_kafka/src/confluent_kafka.c:17: /usr/include/python3.13/ceval.h:114:37: note: declared here 114 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-function [too-long-redacted] cpython-313-x86_64-linux-gnu.so dh_auto_test -O--buildsystem=pybuild pybuild --test --test-pytest -i python{version} -p 3.13 I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build; python3.13 -m pytest -v --ignore=tests/avro --ignore=tests/integration --ignore=tests/schema_registry -k 'not test_purge' ============================= test session starts ============================== platform linux -- Python 3.13.7, pytest-8.4.1, pluggy-1.6.0 -- /usr/bin/python3.13 cachedir: .pytest_cache rootdir: /<<PKGBUILDDIR>> configfile: tox.ini plugins: requests_mock-1.12.1, timeout-2.3.1, typeguard-4.4.4 collecting ... collected 66 items / 1 deselected / 65 selected tests/test_Admin.py::test_types PASSED [ 1%] tests/test_Admin.py::test_basic_api PASSED [ 3%] tests/test_Admin.py::test_create_topics_api PASSED [ 4%] tests/test_Admin.py::test_delete_topics_api PASSED [ 6%] tests/test_Admin.py::test_create_partitions_api PASSED [ 7%] tests/test_Admin.py::test_describe_configs_api PASSED [ 9%] tests/test_Admin.py::test_alter_configs_api PASSED [ 10%] tests/test_Consumer.py::test_basic_api PASSED [ 12%] tests/test_Consumer.py::test_store_offsets PASSED [ 13%] tests/test_Consumer.py::test_on_commit PASSED [ 15%] tests/test_Consumer.py::test_subclassing PASSED [ 16%] tests/test_Consumer.py::test_offsets_for_times PASSED [ 18%] tests/test_Consumer.py::test_multiple_close_does_not_throw_exception PASSED [ 20%] tests/test_Consumer.py::test_any_method_after_close_throws_exception PASSED [ 21%] tests/test_Consumer.py::test_calling_store_offsets_after_close_throws_erro PASSED [ 23%] tests/test_Consumer.py::test_consumer_without_groupid PASSED [ 24%] tests/test_KafkaError.py::test_error_cb PASSED [ 26%] tests/test_KafkaError.py::test_fatal PASSED [ 27%] tests/test_KafkaError.py::test_retriable PASSED [ 29%] tests/test_KafkaError.py::test_abortable PASSED [ 30%] tests/test_KafkaError.py::test_subclassing PASSED [ 32%] tests/test_KafkaError.py::test_kafkaError_custom_msg PASSED [ 33%] tests/test_KafkaError.py::test_kafkaError_unknonw_error Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in <module> raise SystemExit(pytest.console_main()) File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 336, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 289, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 343, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 367, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 117, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 136, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 245, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 344, in from_call result: TResult | None = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 246, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 178, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1671, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 157, in pytest_pyfunc_call result = testfunction(**testargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build/tests/test_KafkaError.py", line 102, in test_kafkaError_unknonw_error raise KafkaError(12345) cimpl.KafkaError: KafkaError{code=ERR_12345?,val=12345,str="Err-12345?"} ======================= 22 passed, 1 deselected in 3.42s ======================= E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confluent-kafka/build; python3.13 -m pytest -v --ignore=tests/avro --ignore=tests/integration --ignore=tests/schema_registry -k 'not test_purge' rm -fr -- /tmp/dh-xdg-rundir-3bApy9L0 dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:12: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

