Bug#1028721: khard: FTBFS: distutils.errors.DistutilsError: Command '['/usr/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpyt_g2chc', '--quiet', 'tom

2023-01-22 Thread Félix Sipma

Hi,

I tried to reproduce the issue, but the package just built fine. Maybe 
it was a temporary issue with setuptools_scm? #1027947




On 2023-01-14 13:40+0100, Lucas Nussbaum wrote:

Source: khard
Version: 0.18.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):

make[1]: Entering directory '/<>'
dh_auto_clean
I: pybuild base:240: python3.10 setup.py clean
/usr/lib/python3/dist-packages/setuptools/installer.py:27: 
SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements 
should be satisfied by a PEP 517 installer.
 warnings.warn(
WARNING: The wheel package is not available.
/usr/bin/python3.10: No module named pip
Traceback (most recent call last):
 File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 82, in 
fetch_build_egg
   subprocess.check_call(cmd)
 File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
   raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.10', '-m', 'pip', 
'--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpyt_g2chc', 
'--quiet', 'tomli>=1.0.0']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
 File "/<>/setup.py", line 13, in 
   setup(
 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 80, in 
_install_setup_requires
   dist.fetch_build_eggs(dist.setup_requires)
 File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 874, in 
fetch_build_eggs
   resolved_dists = pkg_resources.working_set.resolve(
 File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 789, in 
resolve
   dist = best[req.key] = env.best_match(
 File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1075, in 
best_match
   return self.obtain(req, installer)
 File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1087, in 
obtain
   return installer(requirement)
 File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 944, in 
fetch_build_egg
   return fetch_build_egg(self, req)
 File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 84, in 
fetch_build_egg
   raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/bin/python3.10', '-m', 'pip', 
'--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpyt_g2chc', 
'--quiet', 'tomli>=1.0.0']' returned non-zero exit status 1.
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 3.11" 
returned exit code 13
make[1]: *** [debian/rules:13: override_dh_auto_clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/khard_0.18.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na=ign=7=7=only=ftbfs-20230113=lu...@debian.org=1=1=1=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.


--
Félix


signature.asc
Description: PGP signature


Bug#1028721: khard: FTBFS: distutils.errors.DistutilsError: Command '['/usr/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpyt_g2chc', '--quiet', 'tom

2023-01-14 Thread Lucas Nussbaum
Source: khard
Version: 0.18.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<>'
> dh_auto_clean
> I: pybuild base:240: python3.10 setup.py clean 
> /usr/lib/python3/dist-packages/setuptools/installer.py:27: 
> SetuptoolsDeprecationWarning: setuptools.installer is deprecated. 
> Requirements should be satisfied by a PEP 517 installer.
>   warnings.warn(
> WARNING: The wheel package is not available.
> /usr/bin/python3.10: No module named pip
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 82, in 
> fetch_build_egg
> subprocess.check_call(cmd)
>   File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
> raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command '['/usr/bin/python3.10', '-m', 'pip', 
> '--disable-pip-version-check', 'wheel', '--no-deps', '-w', 
> '/tmp/tmpyt_g2chc', '--quiet', 'tomli>=1.0.0']' returned non-zero exit status 
> 1.
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File "/<>/setup.py", line 13, in 
> setup(
>   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 80, in 
> _install_setup_requires
> dist.fetch_build_eggs(dist.setup_requires)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 874, in 
> fetch_build_eggs
> resolved_dists = pkg_resources.working_set.resolve(
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 789, 
> in resolve
> dist = best[req.key] = env.best_match(
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1075, 
> in best_match
> return self.obtain(req, installer)
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1087, 
> in obtain
> return installer(requirement)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 944, in 
> fetch_build_egg
> return fetch_build_egg(self, req)
>   File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 84, in 
> fetch_build_egg
> raise DistutilsError(str(e)) from e
> distutils.errors.DistutilsError: Command '['/usr/bin/python3.10', '-m', 
> 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', 
> '/tmp/tmpyt_g2chc', '--quiet', 'tomli>=1.0.0']' returned non-zero exit status 
> 1.
> 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 3.11" 
> returned exit code 13
> make[1]: *** [debian/rules:13: override_dh_auto_clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/khard_0.18.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na=ign=7=7=only=ftbfs-20230113=lu...@debian.org=1=1=1=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.