Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #920387
| From | Santiago Vila <sanvila@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#909990: nibabel: FTBFS (Failed example) |
| Date | 2018-10-01 01:10 +0200 |
| Message-ID | <wDT0B-87w-15@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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.
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#909990: nibabel: FTBFS (Failed example) Santiago Vila <sanvila@debian.org> - 2018-10-01 01:10 +0200
Bug#909990: Stange import error for nibabel when trying to import from .pybuild Andreas Tille <andreas@an3as.eu> - 2018-10-08 15:40 +0200
Bug#909990: Stange import error for nibabel when trying to import from .pybuild Yaroslav Halchenko <debian@onerussian.com> - 2018-10-08 17:30 +0200
Bug#909990: Stange import error for nibabel when trying to import from .pybuild Andreas Tille <tille@debian.org> - 2018-10-09 10:40 +0200
Bug#909990: Stange import error for nibabel when trying to import from .pybuild Yaroslav Halchenko <yoh@debian.org> - 2018-10-12 15:20 +0200
Bug#909990: Stange import error for nibabel when trying to import from .pybuild Yaroslav Halchenko <yoh@debian.org> - 2018-10-12 15:20 +0200
Bug#909990: Stange import error for nibabel when trying to import from .pybuild Andreas Tille <tille@debian.org> - 2018-10-13 23:20 +0200
Bug#909990: Stange import error for nibabel when trying to import from .pybuild Yaroslav Halchenko <yoh@debian.org> - 2018-10-14 02:40 +0200
Bug#909990: Stange import error for nibabel when trying to import from .pybuild Andreas Tille <tille@debian.org> - 2018-10-14 09:20 +0200
Bug#909990: Stange import error for nibabel when trying to import from .pybuild Yaroslav Halchenko <yoh@debian.org> - 2018-10-18 15:30 +0200
Bug#909990: New version uploaded - does that problem persist? Andreas Tille <andreas@an3as.eu> - 2018-10-12 13:40 +0200
Bug#909990: Stange import error for nibabel when trying to import from .pybuild Yaroslav Halchenko <yoh@debian.org> - 2018-10-18 15:30 +0200
Bug#909990: Stange import error for nibabel when trying to import from .pybuild Andreas Tille <tille@debian.org> - 2018-10-18 16:30 +0200
Bug#909990: Stange import error for nibabel when trying to import from .pybuild Yaroslav Halchenko <yoh@debian.org> - 2018-10-18 17:10 +0200
csiph-web