[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1022459: marked as done (python-openflow: FTBFS: distutils.errors.DistutilsClassError: command class <class '__main__.Cleaner'> must subclass Command)



Your message dated Sat, 12 Nov 2022 10:01:56 +0000
with message-id <E1otnKm-00HYsK-Q1@fasolo.debian.org>
and subject line Bug#1022459: fixed in python-openflow 2019.2-3
has caused the Debian Bug report #1022459,
regarding python-openflow: FTBFS: distutils.errors.DistutilsClassError: command class <class '__main__.Cleaner'> must subclass Command
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 owner@bugs.debian.org
immediately.)


-- 
1022459: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022459
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: python-openflow
Version: 2019.2-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
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 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:9: 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.clean import clean
> /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.")
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/setup.py", line 112, in <module>
>     setup(name='python-openflow',
>   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 "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 474, in parse_command_line
>     args = self._parse_command_opts(parser, args)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1107, in _parse_command_opts
>     nargs = _Distribution._parse_command_opts(self, parser, args)
>   File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 540, in _parse_command_opts
>     raise DistutilsClassError(
> distutils.errors.DistutilsClassError: command class <class '__main__.Cleaner'> 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: *** [debian/rules:7: clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/python-openflow_2019.2-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&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 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: python-openflow
Source-Version: 2019.2-3
Done: Stefano Rivera <stefanor@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-openflow, 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 1022459@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <stefanor@debian.org> (supplier of updated python-openflow 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 12 Nov 2022 10:52:11 +0200
Source: python-openflow
Architecture: source
Version: 2019.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Stefano Rivera <stefanor@debian.org>
Closes: 1022459
Changes:
 python-openflow (2019.2-3) unstable; urgency=medium
 .
   * QA upload.
   * Patch: setuptools 60 support. Closes: #1022459
Checksums-Sha1:
 d71115989cc3f3f3f64806c0b8180009caf4d51a 1470 python-openflow_2019.2-3.dsc
 71d7a53b3152cb68d82af097296a19b0b817570d 9644 python-openflow_2019.2-3.debian.tar.xz
 9d34f2afc0b829e7721175675af5b398f196cdbf 6035 python-openflow_2019.2-3_source.buildinfo
Checksums-Sha256:
 544de8270e89e5de868c311ec564c253d7cb823c74da8bacacb601f9b880e484 1470 python-openflow_2019.2-3.dsc
 b3e8e8dd79cf2fb71fd3aeacf6ed3439c61b81e193f4ce34b26b99bbc47fbc02 9644 python-openflow_2019.2-3.debian.tar.xz
 1574945f6c7b9664d059c4a3bc4a0878070cac77e5030d078dfb7f09f5c03165 6035 python-openflow_2019.2-3_source.buildinfo
Files:
 900c5c90fb17eaa28d84bbdc4ddd5f47 1470 python optional python-openflow_2019.2-3.dsc
 2efd078758bcbe6a85759b6e77b4cb72 9644 python optional python-openflow_2019.2-3.debian.tar.xz
 ce518ce0499bd759b511743ad8100638 6035 python optional python-openflow_2019.2-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCY29e8xQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2LjiAP41P/v4jFMekfSe0cjeWmtgqdkE8csW
At3gMA6b/2KLXgD/QQuPUJuGc9kPGosCnbDaXVCd9xYkUCGWG2p0ovHucAk=
=RSpq
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: