[Pkg-salt-team] Bug#1021920: FTBFS: dh_auto_clean: error: pybuild --clean -i python{version} -p 3.10 returned exit code 13
Michael Biebl
biebl at debian.org
Mon Oct 17 12:44:20 BST 2022
Source: salt
Version: 3004.1+dfsg-2
Severity: serious
Tags: ftbfs
salt FTBFS in unstable
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
rm -rf _build/*
test -d 'locale' && find locale/ -name *.mo -exec rm {} \; || true
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
dh_auto_clean
I: pybuild base:240: python3.10 setup.py clean
/<<PKGBUILDDIR>>/setup.py:8: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
import distutils.dist
/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.")
3004.1
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/setup.py", line 1461, in <module>
setup(distclass=SaltDistribution)
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 172, in setup
ok = dist.parse_command_line()
File "/<<PKGBUILDDIR>>/setup.py", line 1425, in parse_command_line
args = distutils.dist.Distribution.parse_command_line(self)
File "/usr/lib/python3.10/distutils/dist.py", line 483, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/usr/lib/python3.10/distutils/dist.py", line 546, in _parse_command_opts
raise DistutilsClassError(
distutils.errors.DistutilsClassError: command class <class '__main__.Clean'> must subclass Command
E: pybuild pybuild:379: clean: plugin distutils failed with: exit code=1: python3.10 setup.py clean
dh_auto_clean: error: pybuild --clean -i python{version} -p 3.10 returned exit code 13
make[1]: *** [debian/rules:30: override_dh_auto_clean] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2
Full build log available at
https://buildd.debian.org/status/fetch.php?pkg=salt&arch=all&ver=3004.1%2Bdfsg-2.1&stamp=1665843910&raw=0
More information about the pkg-salt-team
mailing list