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

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



Your message dated Sat, 12 Nov 2022 16:36:49 +0000
with message-id <E1ottUv-001Tnn-9r@fasolo.debian.org>
and subject line Bug#1022466: fixed in kytos-utils 2019.2-4
has caused the Debian Bug report #1022466,
regarding kytos-utils: 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.)


-- 
1022466: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022466
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: kytos-utils
Version: 2019.2-3
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:12: 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  # pylint: disable=E0401,E0611
> /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 173, in <module>
>     setup(name='kytos-utils',
>   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:5: clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/kytos-utils_2019.2-3_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: kytos-utils
Source-Version: 2019.2-4
Done: Stefano Rivera <stefanor@debian.org>

We believe that the bug you reported is fixed in the latest version of
kytos-utils, 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 1022466@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 kytos-utils 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 18:17:18 +0200
Source: kytos-utils
Architecture: source
Version: 2019.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Stefano Rivera <stefanor@debian.org>
Closes: 1022466
Changes:
 kytos-utils (2019.2-4) unstable; urgency=medium
 .
   * QA upload.
   * Patch: Support setuptools >= 60. (Closes: #1022466)
Checksums-Sha1:
 a12f85b74d97e49a4243be7ca75734cc499599fe 1482 kytos-utils_2019.2-4.dsc
 09fdb2966376a486a34ba5e089b91eb296d351ec 7468 kytos-utils_2019.2-4.debian.tar.xz
 5e7818825530aa3106ffc94bba51a2127912ef4f 6471 kytos-utils_2019.2-4_source.buildinfo
Checksums-Sha256:
 91f69032ebdac9f9884e8fc63bc232ee8b16582222d98ed81bc2aeec1973befd 1482 kytos-utils_2019.2-4.dsc
 0c9d595f12e92bababfc1b1810c0610e713a21ce4398df25eafbb94a91d6b4ef 7468 kytos-utils_2019.2-4.debian.tar.xz
 f763ad4fcf6db91da8d2d68731d3b68595623754b1fa2891b68e190a6ce2a6ad 6471 kytos-utils_2019.2-4_source.buildinfo
Files:
 6b034b7fa263b731a3c3110bab868230 1482 utils optional kytos-utils_2019.2-4.dsc
 dbf5da369a21172b96a6f81aa37a2893 7468 utils optional kytos-utils_2019.2-4.debian.tar.xz
 0beea4fd1c0c377fc97d9154a925ecd5 6471 utils optional kytos-utils_2019.2-4_source.buildinfo

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

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCY2/HKhQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2NKQAP0dLzzUyFvlVusVaAFQvV25oBtgyaKu
3xDDF91gAeiaigEA1CPaCluaBgMGt/eOLr85efxqFiBGh5yk7I4YUw2YEgo=
=FDVU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: