Package: src:radio-beam Version: 0.2-1 Severity: serious Tags: ftbfs Dear maintainer:
I tried to build this package in buster with "dpkg-buildpackage -A" but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --with python2,python3 --buildsystem=pybuild dh_update_autotools_config -i -O--buildsystem=pybuild dh_auto_configure -i -O--buildsystem=pybuild I: pybuild base:217: python2.7 setup.py config /usr/lib/python2.7/dist-packages/astropy_helpers/setup_helpers.py:102: AstropyDeprecationWarning: Direct use of the adjust_compiler function in setup.py is deprecated and can be removed from your setup.py. This functionality is now incorporated directly into the build_ext command. 'command.', AstropyDeprecationWarning) running config I: pybuild base:217: python3.6 setup.py config running config /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:90: AstropyDeprecationWarning: Direct use of the adjust_compiler function in setup.py is deprecated and can be removed from your setup.py. This functionality is now incorporated directly into the build_ext command. 'command.', AstropyDeprecationWarning) dh_auto_build -i -O--buildsystem=pybuild [... snipped ...] radio_beam/tests/test_beams.py::test_beams_from_fits_bintable PASSED [ 94%] radio_beam/tests/test_beams.py::test_indexing PASSED [ 94%] radio_beam/tests/test_beams.py::test_average_beams PASSED [ 95%] radio_beam/tests/test_beams.py::test_largest_beams[beams0-majors0-minors0-pas0] PASSED [ 95%] radio_beam/tests/test_beams.py::test_largest_beams[beams1-majors1-minors1-pas1] PASSED [ 95%] radio_beam/tests/test_beams.py::test_smallest_beams[beams0-majors0-minors0-pas0] PASSED [ 96%] radio_beam/tests/test_beams.py::test_smallest_beams[beams1-majors1-minors1-pas1] PASSED [ 96%] radio_beam/tests/test_beams.py::test_extrema_beams[beams0-majors0-minors0-pas0] PASSED [ 97%] radio_beam/tests/test_beams.py::test_extrema_beams[beams1-majors1-minors1-pas1] PASSED [ 97%] radio_beam/tests/test_beams.py::test_beams_with_invalid[majors0] PASSED [ 97%] radio_beam/tests/test_beams.py::test_beams_with_invalid[majors1] PASSED [ 98%] radio_beam/tests/test_beams.py::test_beams_iter PASSED [ 98%] radio_beam/tests/test_kernels.py::test_gauss_kernel PASSED [ 99%] radio_beam/tests/test_kernels.py::test_tophat_kernel PASSED [ 99%] docs/index.rst FAILED [100%] =================================== FAILURES =================================== ___________________________ [doctest] docs/index.rst ___________________________ 020 021 Create a beam from scratch:: 022 023 >>> from astropy import units as u 024 >>> my_beam = Beam(0.5*u.arcsec) 025 026 027 Use a beam for Jy -> K conversion:: 028 029 >>> (1*u.Jy).to(u.K, u.brightness_temperature(my_beam, 25*u.GHz)) Expected: <Quantity 7821.572919292681 K> Got: <Quantity 7821.57291929 K> /tmp/radio_beam-test-9fxEB_/lib/python2.7/site-packages/docs/index.rst:29: DocTestFailure =============================== warnings summary =============================== None [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead. -- Docs: http://doc.pytest.org/en/latest/warnings.html ========= 1 failed, 237 passed, 2 skipped, 1 warnings in 1.33 seconds ========== debian/rules:14: recipe for target 'test-python2.7' failed make[1]: *** [test-python2.7] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:10: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is how the build ends in my autobuilder and it's not necessarily the relevant part. The failure is not, however, related to using dpkg-buildpackage -A, as it also fails in reproducible builds: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/radio-beam.html 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 page for this package. Thanks.