[Debian-astro-maintainers] Bug#919804: ndcube: FTBFS (No module named 'sphinx_astropy')

Santiago Vila sanvila at debian.org
Sat Jan 19 17:35:46 GMT 2019


Package: src:ndcube
Version: 1.0.1-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_autoreconf -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python3.7 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:217: /usr/bin/python3 setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube
copying ndcube/_sunpy_init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube
copying ndcube/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube
copying ndcube/ndcube_sequence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube
copying ndcube/ndcube.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube
copying ndcube/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/visualization
copying ndcube/visualization/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/visualization
copying ndcube/visualization/animation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/visualization
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/utils
copying ndcube/utils/wcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/utils
copying ndcube/utils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/utils
copying ndcube/utils/cube.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/utils
copying ndcube/utils/sequence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/utils
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/tests
copying ndcube/tests/test_ndcubesequence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/tests
copying ndcube/tests/test_utils_cube.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/tests
copying ndcube/tests/test_utils_wcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/tests
copying ndcube/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/tests
copying ndcube/tests/setup_package.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/tests
copying ndcube/tests/test_utils_sequence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/tests
copying ndcube/tests/helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/tests
copying ndcube/tests/test_ndcube.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/tests
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/mixins
copying ndcube/mixins/plotting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/mixins
copying ndcube/mixins/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/mixins
copying ndcube/mixins/ndslicing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/mixins
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/utils/tests
copying ndcube/utils/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/utils/tests
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/data
copying ndcube/data/README.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/data
copying ndcube/tests/coveragerc -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/tests
PYTHONPATH=. sphinx-build -D html_last_updated_fmt="November 19, 2018" -D html_show_copyright=0 -N -bhtml docs/ build/html # HTML generator
Running Sphinx v1.7.9

Configuration error:
There is a programable error in your configuration file:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/config.py", line 161, in __init__
    execfile_(filename, config)
  File "/usr/lib/python3/dist-packages/sphinx/util/pycompat.py", line 150, in execfile_
    exec_(code, _globals)
  File "conf.py", line 42, in <module>
    from astropy_helpers.sphinx.conf import *
  File "/usr/lib/python3/dist-packages/astropy_helpers/sphinx/conf.py", line 3, in <module>
    from sphinx_astropy.conf import *
ModuleNotFoundError: No module named 'sphinx_astropy'

make[1]: *** [debian/rules:18: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the builds ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ndcube.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Debian-astro-maintainers mailing list