Source: pyfai
Version: 0.21.3+dfsg1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
>  fakeroot debian/rules clean
> dh clean --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
>       install -d 
> /<<BUILDDIR>>/pyfai-0.21.3\+dfsg1/debian/.debhelper/generated/_source/home
>       pybuild --clean -i python{version} -p 3.10
> I: pybuild base:240: python3.10 setup.py clean 
> /<<PKGBUILDDIR>>/setup.py:43: 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 as 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.")
> INFO: Disabling color, you really want to install colorlog.
> INFO:pythran:Disabling color, you really want to install colorlog.
> INFO:pyFAI.setup:Use setuptools with cython
> INFO:pyFAI.setup:Use setuptools.setup
> /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(
> /usr/lib/python3/dist-packages/setuptools/installer.py:34: UserWarning: 
> Unbuilt egg for pyFAI [unknown version] (/<<PKGBUILDDIR>>)
>   pkg_resources.get_distribution('wheel')
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/installer.py:60: UserWarning: 
> Unbuilt egg for pyFAI [unknown version] (/<<PKGBUILDDIR>>)
>   environment = pkg_resources.Environment()
> /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/tmpymrbi1ta', '--quiet', 'setuptools<60.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 "/<<PKGBUILDDIR>>/setup.py", line 1137, in <module>
>     setup_package()
>   File "/<<PKGBUILDDIR>>/setup.py", line 1133, in setup_package
>     setup(**setup_kwargs)
>   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 875, 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 945, 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/tmpymrbi1ta', '--quiet', 'setuptools<60.0.0']' returned non-zero exit 
> status 1.
> 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:15: clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/pyfai_0.21.3+dfsg1-1_unstable.log

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

Reply via email to