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

Bug#1022425: marked as done (picard: FTBFS: distutils.errors.DistutilsClassError: command class <class '__main__.picard_build'> must subclass Command)



Your message dated Tue, 01 Nov 2022 13:34:36 +0000
with message-id <E1oprPY-00DwZz-2K@fasolo.debian.org>
and subject line Bug#1022425: fixed in picard 2.8.3-2
has caused the Debian Bug report #1022425,
regarding picard: FTBFS: distutils.errors.DistutilsClassError: command class <class '__main__.picard_build'> 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.)


-- 
1022425: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022425
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: picard
Version: 2.8.3-1
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:42: 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 import log
> /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 --disable-autoupdate
> /<<PKGBUILDDIR>>/setup.py:42: 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 import log
> /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 845, in <module>
>     setup(**args)
>   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__.picard_build'> must subclass Command
> E: pybuild pybuild:379: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build --disable-autoupdate
> dh_auto_build: error: pybuild --build -i python{version} -p 3.10 returned exit code 13
> make: *** [debian/rules:13: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/picard_2.8.3-1_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: picard
Source-Version: 2.8.3-2
Done: Sebastian Ramacher <sramacher@debian.org>

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

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramacher@debian.org> (supplier of updated picard 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: Tue, 01 Nov 2022 12:25:58 +0100
Source: picard
Architecture: source
Version: 2.8.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Sebastian Ramacher <sramacher@debian.org>
Closes: 1022425
Changes:
 picard (2.8.3-2) unstable; urgency=medium
 .
   * debian/patches:
     - Fix build with recent setuptools (Closes: #1022425)
     - Fix test failure
Checksums-Sha1:
 1f7b8abcc5df610e2038559ffe4007cee6a1c005 2093 picard_2.8.3-2.dsc
 2e9bfb78b845bcbc5fa8c8d112ba0250246755c1 15172 picard_2.8.3-2.debian.tar.xz
Checksums-Sha256:
 7901954f62e42e7bc100746a7e699c94fee710ca95a704475d5158bbfe2dd3dd 2093 picard_2.8.3-2.dsc
 3c107c13b49b5a4b3091cd0934762cafe1170496c6e204402ecbde513075e714 15172 picard_2.8.3-2.debian.tar.xz
Files:
 1c2eea2f135a82abb70eafac490e46bf 2093 sound optional picard_2.8.3-2.dsc
 de1a0da544feb12d25e40fa226c9d949 15172 sound optional picard_2.8.3-2.debian.tar.xz

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

iQIzBAEBCgAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAmNhHKkACgkQafL8UW6n
GZOkMA//YZxd/5IC957dUjjlkNZIJpg9h5qqar+sk62BOp7tXbwdbdLYoNPUmzP2
rfBnVkVEfWg/9fSmiukyxoGc+wxzj8oH+gxq3qRVMbldt0A8YVz3RLumSSrH8lfd
nO47wVQoDLtqM3XIAdZOhTzrU5cAfrgXQdBiXDU5e8uFWTP+tfepuKKy+3Zv1yhr
7E3CJw80X7SZiGSTgrfrrFqcpmCbaX7IU88WALQ//2pH9jsr0C24S35PexclIueI
01mSIOXzDcgiSmwyoTa6Um5jLKGtMxio51xXYkJV2SPYrGeCulTuTcqcm0RMsdcW
+POYucz+Yh2J5i3lna+TUmxrQXq0wPwmFQQUk/Zm6fASvZ7K8yUD/aFnGbqodTsI
BDWaRueubJLoMyjgiW0NS4N2cHm8vEpSTb07srNmhF/1aGvFZjA0MbtfGUUKMzv4
+SEXL43B2/LPJUw/MRBwNKa3PW/4HVaovttIqxSBIld3C3O6judvGlMDLRxjbki2
gvu+I3Z3SLqDejzLzgP+71D2m1xqZbFA8riGAnh1fXnFnvSKyXg615YFHH6fsmkk
P6LfZCHjRRztzyPwUfGc2NsJZHkuUp9gobHey9IQgVY6ZgPv0vEW8Fv1wIK0C87J
JUjQ3DXo70kZiN8tGjnFFQT+2bGKknE+Gh6+96nqjcs5awx767A=
=B99U
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: