[Debian-pan-maintainers] Bug#1017223: xrayutilities: FTBFS: distutils.errors.DistutilsError: Command '['/usr/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp0fa_exd4', '--quiet', 'h5py']' returned non-zero exit status 1.

Lucas Nussbaum lucas at debian.org
Sun Aug 14 08:25:20 BST 2022


Source: xrayutilities
Version: 1.7.3-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220813 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 /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home
> 	pybuild --clean -i python{version} -p 3.10
> I: pybuild base:239: 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/tmp0fa_exd4', '--quiet', 'h5py']' 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 155, in <module>
>     setup(
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 152, in setup
>     _install_setup_requires(attrs)
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 147, in _install_setup_requires
>     dist.fetch_build_eggs(dist.setup_requires)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 812, in fetch_build_eggs
>     resolved_dists = pkg_resources.working_set.resolve(
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 771, in resolve
>     dist = best[req.key] = env.best_match(
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1056, in best_match
>     return self.obtain(req, installer)
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1068, in obtain
>     return installer(requirement)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 883, 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/tmp0fa_exd4', '--quiet', 'h5py']' returned non-zero exit status 1.
> E: pybuild pybuild:369: 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:14: clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/xrayutilities_1.7.3-1_unstable.log

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



More information about the Debian-pan-maintainers mailing list