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

Lucas Nussbaum lucas at debian.org
Sun Feb 23 06:55:16 GMT 2020


Source: astroplan
Version: 0.6-1
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>>'
> py3versions: no X-Python3-Version in control file, using supported versions
> 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_astroplan/build/astroplan
> copying astroplan/scheduling.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan
> copying astroplan/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan
> copying astroplan/target.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan
> copying astroplan/_astropy_init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan
> copying astroplan/observer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan
> copying astroplan/constraints.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan
> copying astroplan/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan
> copying astroplan/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan
> copying astroplan/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan
> copying astroplan/periodic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan
> copying astroplan/setup_package.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan
> copying astroplan/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan
> copying astroplan/moon.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/tests
> copying astroplan/tests/test_moon.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/tests
> copying astroplan/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/tests
> copying astroplan/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/tests
> copying astroplan/tests/test_periodic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/tests
> copying astroplan/tests/test_constraints.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/tests
> copying astroplan/tests/test_target.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/tests
> copying astroplan/tests/test_observer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/tests
> copying astroplan/tests/test_scheduling.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/plots
> copying astroplan/plots/sky.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/plots
> copying astroplan/plots/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/plots
> copying astroplan/plots/mplstyles.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/plots
> copying astroplan/plots/time_dependent.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/plots
> copying astroplan/plots/finder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/plots
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/plots/tests
> copying astroplan/plots/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/plots/tests
> copying astroplan/plots/tests/test_sky.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/plots/tests
> copying astroplan/tests/coveragerc -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/plots/tests/baseline_images
> copying astroplan/plots/tests/baseline_images/test_image_example.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_astroplan/build/astroplan/plots/tests/baseline_images
> /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_astroplan/build/astroplan
> copying astroplan/scheduling.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan
> copying astroplan/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan
> copying astroplan/target.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan
> copying astroplan/_astropy_init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan
> copying astroplan/observer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan
> copying astroplan/constraints.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan
> copying astroplan/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan
> copying astroplan/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan
> copying astroplan/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan
> copying astroplan/periodic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan
> copying astroplan/setup_package.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan
> copying astroplan/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan
> copying astroplan/moon.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/tests
> copying astroplan/tests/test_moon.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/tests
> copying astroplan/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/tests
> copying astroplan/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/tests
> copying astroplan/tests/test_periodic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/tests
> copying astroplan/tests/test_constraints.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/tests
> copying astroplan/tests/test_target.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/tests
> copying astroplan/tests/test_observer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/tests
> copying astroplan/tests/test_scheduling.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/plots
> copying astroplan/plots/sky.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/plots
> copying astroplan/plots/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/plots
> copying astroplan/plots/mplstyles.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/plots
> copying astroplan/plots/time_dependent.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/plots
> copying astroplan/plots/finder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/plots
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/plots/tests
> copying astroplan/plots/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/plots/tests
> copying astroplan/plots/tests/test_sky.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/plots/tests
> copying astroplan/tests/coveragerc -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/plots/tests/baseline_images
> copying astroplan/plots/tests/baseline_images/test_image_example.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_astroplan/build/astroplan/plots/tests/baseline_images
> /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="December 20, 2019" -D html_show_copyright=0 -N -bhtml docs/ build/html
> Running Sphinx v1.8.5
> /usr/lib/python3/dist-packages/astropy_helpers/sphinx/conf.py:5: UserWarning: Note that astropy_helpers.sphinx.conf is deprecated - use sphinx_astropy.conf instead
>   warnings.warn("Note that astropy_helpers.sphinx.conf is deprecated - use sphinx_astropy.conf instead")
> 
> 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 59, in <module>
>     del intersphinx_mapping['h5py']
> NameError: name 'intersphinx_mapping' is not defined
> 
> make[1]: *** [debian/rules:16: override_dh_auto_build] Error 2

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/astroplan_0.6-1_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