Your message dated Tue, 15 Nov 2022 21:53:48 +0000
with message-id <[email protected]>
and subject line Bug#1022464: fixed in pykafka 2.7.0-2.1
has caused the Debian Bug report #1022464,
regarding pykafka: FTBFS: distutils.errors.DistutilsSetupError: each element of
'ext_modules' option must be an Extension instance or 2-tuple
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1022464: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022464
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pykafka
Version: 2.7.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20221023 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh /usr/share/openstack-pkg-tools/pkgos.make --buildsystem=pybuild --with
> python3
> dh: error: Unknown sequence /usr/share/openstack-pkg-tools/pkgos.make (choose
> from: binary binary-arch binary-indep build build-arch build-indep clean
> install install-arch install-indep)
> dh build --buildsystem=pybuild --with python3
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.10 setup.py config
> /<<PKGBUILDDIR>>/setup.py:22: DeprecationWarning: The distutils package is
> deprecated and slated for removal in Python 3.12. Use setuptools or check PEP
> 632 for potential alternatives
> from distutils.command.build_ext import build_ext
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:18: UserWarning:
> Distutils was imported before Setuptools, but importing Setuptools also
> replaces the `distutils` module in `sys.modules`. This may lead to
> undesirable behaviors or errors. To avoid these issues, avoid using distutils
> directly, ensure that setuptools is installed in the traditional way (e.g.
> not an editable install), and/or make sure that setuptools is always imported
> before distutils.
> warnings.warn(
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:33: UserWarning:
> Setuptools is replacing distutils.
> warnings.warn("Setuptools is replacing distutils.")
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py build
> /<<PKGBUILDDIR>>/setup.py:22: DeprecationWarning: The distutils package is
> deprecated and slated for removal in Python 3.12. Use setuptools or check PEP
> 632 for potential alternatives
> from distutils.command.build_ext import build_ext
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:18: UserWarning:
> Distutils was imported before Setuptools, but importing Setuptools also
> replaces the `distutils` module in `sys.modules`. This may lead to
> undesirable behaviors or errors. To avoid these issues, avoid using distutils
> directly, ensure that setuptools is installed in the traditional way (e.g.
> not an editable install), and/or make sure that setuptools is always imported
> before distutils.
> warnings.warn(
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:33: UserWarning:
> Setuptools is replacing distutils.
> warnings.warn("Setuptools is replacing distutils.")
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/topic.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/managedbalancedconsumer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/exceptions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/client.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/membershipprotocol.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/common.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/handlers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/balancedconsumer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/cluster.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/protocol.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/simpleconsumer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/producer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/partition.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/broker.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/connection.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> copying pykafka/partitioners.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests
> copying tests/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests
> copying tests/conftest.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/test
> copying pykafka/test/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/test
> copying pykafka/test/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/test
> copying pykafka/test/kafka_instance.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/test
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/utils
> copying pykafka/utils/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/utils
> copying pykafka/utils/struct_helpers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/utils
> copying pykafka/utils/compat.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/utils
> copying pykafka/utils/error_handlers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/utils
> copying pykafka/utils/compression.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/utils
> copying pykafka/utils/socket.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/utils
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/cli
> copying pykafka/cli/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/cli
> copying pykafka/cli/kafka_tools.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/cli
> copying pykafka/cli/__main__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/cli
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/rdkafka
> copying pykafka/rdkafka/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/rdkafka
> copying pykafka/rdkafka/simple_consumer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/rdkafka
> copying pykafka/rdkafka/helpers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/rdkafka
> copying pykafka/rdkafka/producer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/pykafka/rdkafka
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka
> copying tests/pykafka/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka
> copying tests/pykafka/test_ssl.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka
> copying tests/pykafka/test_balancedconsumer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka
> copying tests/pykafka/test_cluster.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka
> copying tests/pykafka/test_simpleconsumer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka
> copying tests/pykafka/test_producer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka
> copying tests/pykafka/test_partitioners.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka
> copying tests/pykafka/test_partition.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka
> copying tests/pykafka/test_protocol.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka/utils
> copying tests/pykafka/utils/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka/utils
> copying tests/pykafka/utils/test_struct_helpers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka/utils
> copying tests/pykafka/utils/test_compression.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka/utils
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka/rdkafka
> copying tests/pykafka/rdkafka/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka/rdkafka
> copying tests/pykafka/rdkafka/test_ssl.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka/rdkafka
> copying tests/pykafka/rdkafka/test_rd_kafka_consumer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka/rdkafka
> copying tests/pykafka/rdkafka/test_simple_consumer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykafka/build/tests/pykafka/rdkafka
> running egg_info
> creating pykafka.egg-info
> writing pykafka.egg-info/PKG-INFO
> writing dependency_links to pykafka.egg-info/dependency_links.txt
> writing entry points to pykafka.egg-info/entry_points.txt
> writing requirements to pykafka.egg-info/requires.txt
> writing top-level names to pykafka.egg-info/top_level.txt
> writing manifest file 'pykafka.egg-info/SOURCES.txt'
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/setup.py", line 193, in <module>
> run_setup()
> File "/<<PKGBUILDDIR>>/setup.py", line 134, in run_setup
> setup(
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 87, in
> setup
> return distutils.core.setup(**attrs)
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
> 185, in setup
> return run_commands(dist)
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
> 201, in run_commands
> dist.run_commands()
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
> 968, in run_commands
> self.run_command(cmd)
> File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1217, in
> run_command
> super().run_command(command)
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
> 987, in run_command
> cmd_obj.run()
> File
> "/usr/lib/python3/dist-packages/setuptools/_distutils/command/build.py", line
> 132, in run
> self.run_command(cmd_name)
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line
> 319, in run_command
> self.distribution.run_command(command)
> File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1217, in
> run_command
> super().run_command(command)
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
> 987, in run_command
> cmd_obj.run()
> File "/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line
> 63, in run
> self.build_package_data()
> File "/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line
> 159, in build_package_data
> for target, srcfile in self._get_package_data_output_mapping():
> File "/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line
> 151, in _get_package_data_output_mapping
> for package, src_dir, build_dir, filenames in self.data_files:
> File "/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line
> 72, in __getattr__
> self.data_files = self._get_data_files()
> File "/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line
> 84, in _get_data_files
> self.analyze_manifest()
> File "/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line
> 181, in analyze_manifest
> self.run_command('egg_info')
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line
> 319, in run_command
> self.distribution.run_command(command)
> File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1217, in
> run_command
> super().run_command(command)
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
> 987, in run_command
> cmd_obj.run()
> File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line
> 308, in run
> self.find_sources()
> File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line
> 316, in find_sources
> mm.run()
> File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line
> 560, in run
> self.add_defaults()
> File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line
> 597, in add_defaults
> sdist.add_defaults(self)
> File "/usr/lib/python3/dist-packages/setuptools/command/sdist.py", line
> 106, in add_defaults
> super().add_defaults()
> File
> "/usr/lib/python3/dist-packages/setuptools/_distutils/command/sdist.py", line
> 252, in add_defaults
> self._add_defaults_ext()
> File
> "/usr/lib/python3/dist-packages/setuptools/_distutils/command/sdist.py", line
> 337, in _add_defaults_ext
> self.filelist.extend(build_ext.get_source_files())
> File "/usr/lib/python3.10/distutils/command/build_ext.py", line 421, in
> get_source_files
> self.check_extensions_list(self.extensions)
> File "/usr/lib/python3.10/distutils/command/build_ext.py", line 362, in
> check_extensions_list
> raise DistutilsSetupError(
> distutils.errors.DistutilsSetupError: each element of 'ext_modules' option
> must be an Extension instance or 2-tuple
> E: pybuild pybuild:379: build: plugin distutils failed with: exit code=1:
> /usr/bin/python3 setup.py build
> dh_auto_build: error: pybuild --build -i python{version} -p 3.10 returned
> exit code 13
> make: *** [debian/rules:17: build] Error 25
The full build log is available from:
http://qa-logs.debian.net/2022/10/23/pykafka_2.7.0-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Source: pykafka
Source-Version: 2.7.0-2.1
Done: Stefano Rivera <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pykafka, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated pykafka package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 12 Nov 2022 14:50:12 +0200
Source: pykafka
Architecture: source
Version: 2.7.0-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Closes: 1018446 1022464
Changes:
pykafka (2.7.0-2.1) unstable; urgency=medium
.
* Patch: Support setuptools 60 (Closes: #1022464)
* Port from nose to pytest. (Closes: #1018446)
* Patch: Update pytest config format.
Checksums-Sha1:
d37f12610182b636f4a614e45fe72294a23b06d6 1613 pykafka_2.7.0-2.1.dsc
74b1c06f39666f4572756244b8f942025c49ca00 3736 pykafka_2.7.0-2.1.debian.tar.xz
75bfa41059bac8ea26c25978316be85a5eb82890 7149
pykafka_2.7.0-2.1_source.buildinfo
Checksums-Sha256:
27a59ca2c13eaa6df068e0922903a7479eb8e3b6732814381efc59bc16cbe39e 1613
pykafka_2.7.0-2.1.dsc
3bbee9f601986d20c1c8a8e7980757a6a1f7dc803baccde2e9ba1fb110ebeb8e 3736
pykafka_2.7.0-2.1.debian.tar.xz
be9daf4d0cbcb282f43af0fc365f49643b5f1bfa03e3066ea2c95632f390eff0 7149
pykafka_2.7.0-2.1_source.buildinfo
Files:
a2be9833dcbaa45866e8e3df2d747b0e 1613 python optional pykafka_2.7.0-2.1.dsc
465a1c24571e7416f83a9ed226f3fd0b 3736 python optional
pykafka_2.7.0-2.1.debian.tar.xz
65fa0115159de98662555c108d0b8c2f 7149 python optional
pykafka_2.7.0-2.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCY2+W4xQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2BgnAQCFxdjv08I6PqT57GiWdVcXm0+TO2os
I6u9y/zkPwvzHAD/XdhFfatcPs9QD+X5PiDa7+1x5/OXTsU68CDB9TzsOgo=
=rkxJ
-----END PGP SIGNATURE-----
--- End Message ---