[Debian-pan-maintainers] Bug#1027501: freesas: FTBFS: AttributeError: 'MinimalDistribution' object has no attribute 'set_defaults'
Lucas Nussbaum
lucas at debian.org
Sun Jan 1 14:07:26 GMT 2023
Source: freesas
Version: 0.9.0-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230101 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> fakeroot debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
> dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:240: python3.10 setup.py clean
> /<<PKGBUILDDIR>>/setup.py:71: DeprecationWarning:
>
> `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
> of the deprecation of `distutils` itself. It will be removed for
> Python >= 3.12. For older Python versions it will remain present.
> It is recommended to use `setuptools < 60.0` for those Python versions.
> For more details, see:
> https://numpy.org/devdocs/reference/distutils_status_migration.html
>
>
> from numpy.distutils.core import Command
> /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'setup_requires'
> warnings.warn(msg)
> Unable to use setuptools, <class 'ImportError'>: cannot import name 'build_py' from 'setuptools._distutils.command' (/usr/lib/python3/dist-packages/setuptools/_distutils/command/__init__.py)
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/setup.py", line 1050, in <module>
> setup_package()
> File "/<<PKGBUILDDIR>>/setup.py", line 1046, in setup_package
> setup(**setup_kwargs)
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 86, in setup
> _install_setup_requires(attrs)
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 75, in _install_setup_requires
> dist = MinimalDistribution(attrs)
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 59, in __init__
> self.set_defaults._disable()
> AttributeError: 'MinimalDistribution' object has no attribute 'set_defaults'
> E: pybuild pybuild:388: 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: *** [debian/rules:5: clean] Error 25
The full build log is available from:
http://qa-logs.debian.net/2023/01/01/freesas_0.9.0-4_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230101;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230101&fusertaguser=lucas@debian.org&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 mark 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.
More information about the Debian-pan-maintainers
mailing list