[Debian-astro-maintainers] Bug#952001: ndcube: FTBFS: NameError: name 'intersphinx_mapping' is not defined

Lucas Nussbaum lucas at debian.org
Sun Feb 23 07:03:09 GMT 2020


Source: ndcube
Version: 1.1.3-2
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:217: /usr/bin/python3.8 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube
> copying ndcube/ndcube.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube
> copying ndcube/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube
> copying ndcube/ndcube_sequence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube
> copying ndcube/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube
> copying ndcube/_sunpy_init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/utils
> copying ndcube/utils/wcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/utils
> copying ndcube/utils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/utils
> copying ndcube/utils/sequence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/utils
> copying ndcube/utils/cube.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/utils
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/tests
> copying ndcube/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/tests
> copying ndcube/tests/test_ndcubesequence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/tests
> copying ndcube/tests/test_sequence_plotting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/tests
> copying ndcube/tests/helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/tests
> copying ndcube/tests/test_plotting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/tests
> copying ndcube/tests/test_utils_cube.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/tests
> copying ndcube/tests/setup_package.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/tests
> copying ndcube/tests/test_ndcube.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/tests
> copying ndcube/tests/test_utils_wcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/tests
> copying ndcube/tests/test_utils_sequence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/mixins
> copying ndcube/mixins/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/mixins
> copying ndcube/mixins/plotting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/mixins
> copying ndcube/mixins/sequence_plotting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/mixins
> copying ndcube/mixins/ndslicing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/mixins
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/utils/tests
> copying ndcube/utils/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/utils/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/data
> copying ndcube/data/README.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/data
> copying ndcube/tests/coveragerc -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_ndcube/build/ndcube/tests
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:161: AstropyDeprecationWarning: The package argument to generate_version_py has been deprecated and will be removed in future. Specify the package name in setup.cfg instead
>   warnings.warn('The package argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:166: AstropyDeprecationWarning: The version argument to generate_version_py has been deprecated and will be removed in future. Specify the version number in setup.cfg instead
>   warnings.warn('The version argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:171: AstropyDeprecationWarning: The release argument to generate_version_py has been deprecated and will be removed in future. We now use the presence of the "dev" string in the version to determine whether this is a release
>   warnings.warn('The release argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:186: AstropyDeprecationWarning: Specifying the package name using the "package_name" option in setup.cfg is deprecated - use the "name" option instead.
>   warnings.warn('Specifying the package name using the "package_name" '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:239: AstropyDeprecationWarning: The packagename argument to generate_version_py has been deprecated and will be removed in future. Specify the package name in setup.cfg instead
>   warnings.warn('The packagename argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:244: AstropyDeprecationWarning: The version argument to generate_version_py has been deprecated and will be removed in future. Specify the version number in setup.cfg instead
>   warnings.warn('The version argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:249: AstropyDeprecationWarning: The release argument to generate_version_py has been deprecated and will be removed in future. We now use the presence of the "dev" string in the version to determine whether this is a release
>   warnings.warn('The release argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:264: AstropyDeprecationWarning: Specifying the package name using the "package_name" option in setup.cfg is deprecated - use the "name" option instead.
>   warnings.warn('Specifying the package name using the "package_name" '
> 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/ndcube.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/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube
> copying ndcube/_sunpy_init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube
> 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/sequence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/utils
> copying ndcube/utils/cube.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/utils
> creating /<<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/test_ndcubesequence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/tests
> copying ndcube/tests/test_sequence_plotting.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_plotting.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/setup_package.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
> copying ndcube/tests/test_utils_wcs.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
> creating /<<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/plotting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ndcube/build/ndcube/mixins
> copying ndcube/mixins/sequence_plotting.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
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:163: AstropyDeprecationWarning: The package argument to generate_version_py has been deprecated and will be removed in future. Specify the package name in setup.cfg instead
>   'the package name in setup.cfg instead', AstropyDeprecationWarning)
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:168: AstropyDeprecationWarning: The version argument to generate_version_py has been deprecated and will be removed in future. Specify the version number in setup.cfg instead
>   'the version number in setup.cfg instead', AstropyDeprecationWarning)
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:174: AstropyDeprecationWarning: The release argument to generate_version_py has been deprecated and will be removed in future. We now use the presence of the "dev" string in the version to determine whether this is a release
>   'determine whether this is a release', AstropyDeprecationWarning)
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:188: AstropyDeprecationWarning: Specifying the package name using the "package_name" option in setup.cfg is deprecated - use the "name" option instead.
>   'option instead.', AstropyDeprecationWarning)
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:241: AstropyDeprecationWarning: The packagename argument to generate_version_py has been deprecated and will be removed in future. Specify the package name in setup.cfg instead
>   'the package name in setup.cfg instead', AstropyDeprecationWarning)
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:246: AstropyDeprecationWarning: The version argument to generate_version_py has been deprecated and will be removed in future. Specify the version number in setup.cfg instead
>   'the version number in setup.cfg instead', AstropyDeprecationWarning)
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:252: AstropyDeprecationWarning: The release argument to generate_version_py has been deprecated and will be removed in future. We now use the presence of the "dev" string in the version to determine whether this is a release
>   'determine whether this is a release', AstropyDeprecationWarning)
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:266: AstropyDeprecationWarning: Specifying the package name using the "package_name" option in setup.cfg is deprecated - use the "name" option instead.
>   'option instead.', AstropyDeprecationWarning)
> PYTHONPATH=. sphinx-build -D html_last_updated_fmt="September 04, 2019" -D html_show_copyright=0 -N -bhtml docs/ build/html # HTML generator
> Running Sphinx v1.8.5
> 
> Configuration error:
> There is a programmable error in your configuration file:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/sphinx/config.py", line 368, in eval_config_file
>     execfile_(filename, namespace)
>   File "/usr/lib/python3/dist-packages/sphinx/util/pycompat.py", line 150, in execfile_
>     exec_(code, _globals)
>   File "/<<PKGBUILDDIR>>/docs/conf.py", line 47, in <module>
>     intersphinx_mapping.pop('h5py', None)
> NameError: name 'intersphinx_mapping' is not defined
> 
> make[1]: *** [debian/rules:18: override_dh_auto_build] Error 2

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/ndcube_1.1.3-2_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-astro-maintainers mailing list