Package: src:nibabel
Version: 2.3.0-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --buildsystem=python_distutils --builddirectory=build
--with=python2,python3
dh_update_autotools_config -i -O--buildsystem=python_distutils
-O--builddirectory=build
dh_auto_configure -i -O--buildsystem=python_distutils
-O--builddirectory=build
dh_auto_configure: Please use the third-party "pybuild" build system instead of
python-distutils
dh_auto_configure: This feature will be removed in compat 12.
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
dh_auto_build: Please use the third-party "pybuild" build system instead of
python-distutils
dh_auto_build: This feature will be removed in compat 12.
python setup.py build --force
Missing optional package "dicom" provided by package "pydicom"; you may get
run-time errors
running build
[... snipped ...]
dslice = dslice.astype(out_dtype)
./<<PKGBUILDDIR>>/nibabel/volumeutils.py:818: ComplexWarning: Casting complex
values to real discards the imaginary part
dslice = dslice.astype(in_cast)
........................................................
======================================================================
FAIL: Doctest: nibabel.deprecated.FutureWarningMixin
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2198, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for nibabel.deprecated.FutureWarningMixin
File "/<<PKGBUILDDIR>>/nibabel/deprecated.py", line 42, in FutureWarningMixin
----------------------------------------------------------------------
File "/<<PKGBUILDDIR>>/nibabel/deprecated.py", line 53, in
nibabel.deprecated.FutureWarningMixin
Failed example:
with warnings.catch_warnings(record=True) as warns:
d = D()
warns[0].message
Expected:
FutureWarning("Please, don't use this class",)
Got:
FutureWarning("Please, don't use this class")
======================================================================
FAIL: nibabel.tests.test_testing.test_clear_and_catch_warnings
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/<<PKGBUILDDIR>>/nibabel/tests/test_testing.py", line 89, in
test_clear_and_catch_warnings
assert_warn_len_equal(my_mod, 1)
File "/<<PKGBUILDDIR>>/nibabel/tests/test_testing.py", line 72, in
assert_warn_len_equal
assert_equal(len(mod_warns), 2) # including 'version'
AssertionError: 1 != 2
----------------------------------------------------------------------
Ran 7721 tests in 68.265s
FAILED (SKIP=55, failures=2)
make[2]: *** [Makefile:94: unittest] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:43: python-test3.7] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:18: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit
status 2
--------------------------------------------------------------------------------
The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/nibabel.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.