Source: genshi
Version: 0.7.7-1
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 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
> I: pybuild base:240: python3.10 setup.py config
> /<<PKGBUILDDIR>>/setup.py:15: 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:15: 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_genshi/build/genshi
> copying genshi/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi
> copying genshi/core.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi
> copying genshi/util.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi
> copying genshi/input.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi
> copying genshi/compat.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi
> copying genshi/output.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi
> copying genshi/builder.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi
> copying genshi/path.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/filters
> copying genshi/filters/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/filters
> copying genshi/filters/i18n.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/filters
> copying genshi/filters/transform.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/filters
> copying genshi/filters/html.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/filters
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template
> copying genshi/template/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template
> copying genshi/template/markup.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template
> copying genshi/template/astutil.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template
> copying genshi/template/base.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template
> copying genshi/template/loader.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template
> copying genshi/template/text.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template
> copying genshi/template/directives.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template
> copying genshi/template/interpolation.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template
> copying genshi/template/eval.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template
> copying genshi/template/plugin.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/tests
> copying genshi/tests/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/tests
> copying genshi/tests/core.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/tests
> copying genshi/tests/util.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/tests
> copying genshi/tests/input.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/tests
> copying genshi/tests/test_utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/tests
> copying genshi/tests/output.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/tests
> copying genshi/tests/builder.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/tests
> copying genshi/tests/path.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/tests
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/filters/tests
> copying genshi/filters/tests/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/filters/tests
> copying genshi/filters/tests/i18n.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/filters/tests
> copying genshi/filters/tests/transform.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/filters/tests
> copying genshi/filters/tests/test_html.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/filters/tests
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template/tests
> copying genshi/template/tests/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template/tests
> copying genshi/template/tests/markup.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template/tests
> copying genshi/template/tests/base.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template/tests
> copying genshi/template/tests/loader.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template/tests
> copying genshi/template/tests/text.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template/tests
> copying genshi/template/tests/directives.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template/tests
> copying genshi/template/tests/interpolation.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template/tests
> copying genshi/template/tests/eval.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template/tests
> copying genshi/template/tests/plugin.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template/tests
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template/tests/templates
> copying genshi/template/tests/templates/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_genshi/build/genshi/template/tests/templates
> running egg_info
> creating Genshi.egg-info
> writing Genshi.egg-info/PKG-INFO
> writing dependency_links to Genshi.egg-info/dependency_links.txt
> writing entry points to Genshi.egg-info/entry_points.txt
> writing requirements to Genshi.egg-info/requires.txt
> writing top-level names to Genshi.egg-info/top_level.txt
> writing manifest file 'Genshi.egg-info/SOURCES.txt'
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/setup.py", line 98, in <module>
> 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:10: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2022/10/23/genshi_0.7.7-1_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.