Bug#999517: qutip: FTBFS with numpy 1.21 (in experimental): distutils.errors.DistutilsError: Command '['/usr/bin/python3.9', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpo4aol4ev', '--quiet', 'numpy<1.20, >=1.16.6']' returned non-zero exit status 1.

Lucas Nussbaum lucas at debian.org
Fri Nov 12 07:25:46 GMT 2021


Source: qutip
Version: 4.6.2-2
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-numpy121

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64, using numpy 1.21 currently in experimental. This version
will soon be uploaded to unstable.

If you have questions about this, please contact Sandro Tosi
<morph at debian.org>.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
> I: pybuild base:232: python3.9 setup.py clean 
> Compiling qutip/cy/brtools_checks.pyx because it changed.
> Compiling qutip/cy/stochastic.pyx because it changed.
> Compiling qutip/cy/sparse_utils.pyx because it changed.
> Compiling qutip/cy/interpolate.pyx because it changed.
> Compiling qutip/cy/mcsolve.pyx because it changed.
> Compiling qutip/cy/cqobjevo.pyx because it changed.
> Compiling qutip/cy/checks.pyx because it changed.
> Compiling qutip/cy/math.pyx because it changed.
> Compiling qutip/cy/inter.pyx because it changed.
> Compiling qutip/cy/ptrace.pyx because it changed.
> Compiling qutip/cy/piqs.pyx because it changed.
> Compiling qutip/cy/cqobjevo_factor.pyx because it changed.
> Compiling qutip/control/cy_grape.pyx because it changed.
> Compiling qutip/cy/spconvert.pyx because it changed.
> Compiling qutip/cy/spmath.pyx because it changed.
> Compiling qutip/cy/brtools.pyx because it changed.
> Compiling qutip/cy/br_tensor.pyx because it changed.
> Compiling qutip/cy/spmatfuncs.pyx because it changed.
> Compiling qutip/cy/graph_utils.pyx because it changed.
> Compiling qutip/cy/heom.pyx because it changed.
> [ 1/20] Cythonizing qutip/control/cy_grape.pyx
> [ 2/20] Cythonizing qutip/cy/br_tensor.pyx
> [ 3/20] Cythonizing qutip/cy/brtools.pyx
> [ 4/20] Cythonizing qutip/cy/brtools_checks.pyx
> [ 5/20] Cythonizing qutip/cy/checks.pyx
> [ 6/20] Cythonizing qutip/cy/cqobjevo.pyx
> [ 7/20] Cythonizing qutip/cy/cqobjevo_factor.pyx
> [ 8/20] Cythonizing qutip/cy/graph_utils.pyx
> [ 9/20] Cythonizing qutip/cy/heom.pyx
> [10/20] Cythonizing qutip/cy/inter.pyx
> [11/20] Cythonizing qutip/cy/interpolate.pyx
> [12/20] Cythonizing qutip/cy/math.pyx
> [13/20] Cythonizing qutip/cy/mcsolve.pyx
> [14/20] Cythonizing qutip/cy/piqs.pyx
> [15/20] Cythonizing qutip/cy/ptrace.pyx
> [16/20] Cythonizing qutip/cy/sparse_utils.pyx
> [17/20] Cythonizing qutip/cy/spconvert.pyx
> [18/20] Cythonizing qutip/cy/spmatfuncs.pyx
> [19/20] Cythonizing qutip/cy/spmath.pyx
> [20/20] Cythonizing qutip/cy/stochastic.pyx
> WARNING: The wheel package is not available.
> /usr/bin/python3.9: No module named pip
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 75, in fetch_build_egg
>     subprocess.check_call(cmd)
>   File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
>     raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command '['/usr/bin/python3.9', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpo4aol4ev', '--quiet', 'numpy<1.20,>=1.16.6']' 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 239, 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 806, in fetch_build_eggs
>     resolved_dists = pkg_resources.working_set.resolve(
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 766, in resolve
>     dist = best[req.key] = env.best_match(
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1051, in best_match
>     return self.obtain(req, installer)
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1063, in obtain
>     return installer(requirement)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 877, in fetch_build_egg
>     return fetch_build_egg(self, req)
>   File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 77, in fetch_build_egg
>     raise DistutilsError(str(e)) from e
> distutils.errors.DistutilsError: Command '['/usr/bin/python3.9', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpo4aol4ev', '--quiet', 'numpy<1.20,>=1.16.6']' returned non-zero exit status 1.
> E: pybuild pybuild:354: clean: plugin distutils failed with: exit code=1: python3.9 setup.py clean 
> dh_auto_clean: error: pybuild --clean --test-pytest -i python{version} -p 3.9 returned exit code 13
> make[1]: *** [debian/rules:47: override_dh_auto_clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2021/11/numpy-matplotlib/numpy-exp/qutip_4.6.2-2_unstable_numpy-exp.log

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-science-maintainers mailing list