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

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



Your message dated Sun, 04 Dec 2022 21:22:01 +0000
with message-id <E1p1wQz-0042rg-Qt@fasolo.debian.org>
and subject line Bug#1022526: fixed in python-ssdeep 3.4.1-1
has caused the Debian Bug report #1022526,
regarding python-ssdeep: FTBFS: distutils.errors.DistutilsClassError: command class <class '__main__.CFFIBuild'> 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.)


-- 
1022526: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022526
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: python-ssdeep
Version: 3.1+dfsg-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 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:7: 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 import build
> /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:7: 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 import build
> /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 87, 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 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__.CFFIBuild'> must subclass Command
> 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:5: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/python-ssdeep_3.1+dfsg-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: python-ssdeep
Source-Version: 3.4.1-1
Done: Bo YU <tsu.yubo@gmail.com>

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

Debian distribution maintenance software
pp.
Bo YU <tsu.yubo@gmail.com> (supplier of updated python-ssdeep 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: Mon, 05 Dec 2022 04:58:11 +0800
Source: python-ssdeep
Architecture: source
Version: 3.4.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Bo YU <tsu.yubo@gmail.com>
Closes: 952840 1022526
Changes:
 python-ssdeep (3.4.1-1) unstable; urgency=medium
 .
   * Change d/watch to github
   * New upstream version 3.4.1. (Closes: #1022526)
   * Add DPT as maintainer (Closes: #952840).
   * Drop d/patch
   * Update d/copyright
   * Remove python3-cffi for binary package dependences
Checksums-Sha1:
 f080b4f442c0d4bbab87ce2dce711900126553db 1608 python-ssdeep_3.4.1-1.dsc
 fd12acd038048d365fd145fc3ca9597f5b710755 93208 python-ssdeep_3.4.1.orig.tar.xz
 3512d9b5dd9fcaf9b20189f0d67271e4a985c2f2 2948 python-ssdeep_3.4.1-1.debian.tar.xz
 764de8eb3a60fbd69a612c5d30931b63ee2edfe7 7078 python-ssdeep_3.4.1-1_source.buildinfo
Checksums-Sha256:
 9dcb8e7a1ef72b4e14ec666cd7296cc905dde8a8c118ccd7ebfd5c92d34d45eb 1608 python-ssdeep_3.4.1-1.dsc
 5530c127d05cc058a6c14dee8e028b6742bb0edb4f96ac055f4f9d5f1d206b6c 93208 python-ssdeep_3.4.1.orig.tar.xz
 cd73b226c21bcacd13998baf1e3ed19b90008f13a8fcb1dce65b8c0805cb4433 2948 python-ssdeep_3.4.1-1.debian.tar.xz
 7a8da874ceae6cb0e7eb0865d93bc7a3bad055d75610511b9c0a3e3fc2136517 7078 python-ssdeep_3.4.1-1_source.buildinfo
Files:
 e9d0782f70775975efef3f31bfe86d2e 1608 python optional python-ssdeep_3.4.1-1.dsc
 6efb4977b70103c46c486f74ee08b1a2 93208 python optional python-ssdeep_3.4.1.orig.tar.xz
 4e9af023eedfe97e8c179f0038262c2f 2948 python optional python-ssdeep_3.4.1-1.debian.tar.xz
 e51d4f95a9edec2106c72335bb0ec730 7078 python optional python-ssdeep_3.4.1-1_source.buildinfo

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

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCY40KyhQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2CaLAP9JM+7uYt1NKAeP1w+XpQzYYCHXOYrG
9hWTcxdcuVZpmgD/V+y4kh9tP+HZnrBj3a+K3iNHaXfLEip2liA+4Owx5QE=
=Ef7K
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: