[Debian-astro-maintainers] Bug#902455: ccdproc: FTBFS in buster/sid (failing tests)
Santiago Vila
sanvila at debian.org
Tue Jun 26 23:52:28 BST 2018
Package: src:ccdproc
Version: 1.3.0-2
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_autoreconf -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config
running config
I: pybuild base:217: python3.6 setup.py config
running config
dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:217: /usr/bin/python setup.py build
running build
running build_py
[... snipped ...]
ccdproc/core.py:1568: RuntimeWarning: invalid value encountered in greater
crarr = (rarr > thresh)
ccdproc/tests/test_ccdproc.py::test_flat_correct_does_not_change_input
/usr/lib/python2.7/dist-packages/astropy/units/quantity.py:641: RuntimeWarning: invalid value encountered in true_divide
*arrays, **kwargs)
ccdproc/tests/test_ccdproc.py::test_transform_image_does_not_change_input
ccdproc/core.py:841: RuntimeWarning: invalid value encountered in sqrt
nccd.data = transform_func(nccd.data, **kwargs)
ccdproc/tests/test_ccdproc.py::test_wcs_project_onto_shifted_wcs
ccdproc/core.py:921: RuntimeWarning: invalid value encountered in greater
reprojected_mask = reprojected_mask > 1e-8
ccdproc/tests/test_ccdproc.py::test_wcs_project_onto_scale_wcs
ccdproc/core.py:921: RuntimeWarning: invalid value encountered in greater
reprojected_mask = reprojected_mask > 1e-8
docs/ccdproc/image_combination.rst
-c:1: RuntimeWarning: divide by zero encountered in divide
-c:1: RuntimeWarning: divide by zero encountered in divide
-c:1: RuntimeWarning: divide by zero encountered in divide
ccdproc/combiner.py:169: UserWarning: Warning: converting a masked element to nan.
self._scaling = np.array(self._scaling)
ccdproc/combiner.py:169: UserWarning: Warning: converting a masked element to nan.
self._scaling = np.array(self._scaling)
ccdproc/combiner.py:169: UserWarning: Warning: converting a masked element to nan.
self._scaling = np.array(self._scaling)
docs/ccdproc/image_management.rst
ccdproc/image_collection.py:117: AstropyUserWarning: no FITS files in the collection.
AstropyUserWarning)
ccdproc/image_collection.py:117: AstropyUserWarning: no FITS files in the collection.
AstropyUserWarning)
ccdproc/image_collection.py:117: AstropyUserWarning: no FITS files in the collection.
AstropyUserWarning)
-- Docs: http://doc.pytest.org/en/latest/warnings.html
========= 4 failed, 370 passed, 3 skipped, 17 warnings in 6.83 seconds =========
debian/rules:16: recipe for target 'test-python2.7' failed
make[1]: *** [test-python2.7] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:12: 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/ccdproc.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.
More information about the Debian-astro-maintainers
mailing list