Package: src:nipy
Version: 0.4.2-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 --with=python2
dh_update_autotools_config -i -O--buildsystem=python_distutils
dh_auto_configure -i -O--buildsystem=python_distutils
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.
pyversions: missing X(S)-Python-Version in control file, fall back to
debian/pyversions
python-dbg setup.py build --force
lapack_opt_info:
[... snipped ...]
expr = self._subexpr(expr, {arg: dummy})
File "/usr/lib/python2.7/dist-packages/sympy/utilities/lambdify.py", line
761, in _subexpr
expr = [sub_expr(sympify(a), dummies_dict) for a in expr]
NameError: global name 'sub_expr' is not defined
======================================================================
ERROR: nipy.algorithms.statistics.formula.tests.test_formula.test_nonlin2
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/nipy/algorithms/statistics/formula/tests/test_formula.py",
line 438, in test_nonlin2
assert_raises(ValueError, f.design, dz, p)
File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
callableObj(*args, **kwargs)
File
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/nipy/algorithms/statistics/formula/formulae.py",
line 838, in design
self._setup_design()
File
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/nipy/algorithms/statistics/formula/formulae.py",
line 774, in _setup_design
self._f = lambdify(newparams + newterms, d, ("numpy"))
File "/usr/lib/python2.7/dist-packages/sympy/utilities/lambdify.py", line
456, in lambdify
funcstr = funcprinter.doprint(funcname, args, expr)
File "/usr/lib/python2.7/dist-packages/sympy/utilities/lambdify.py", line
661, in doprint
argstrs, expr = self._preprocess(args, expr)
File "/usr/lib/python2.7/dist-packages/sympy/utilities/lambdify.py", line
732, in _preprocess
expr = self._subexpr(expr, {arg: dummy})
File "/usr/lib/python2.7/dist-packages/sympy/utilities/lambdify.py", line
761, in _subexpr
expr = [sub_expr(sympify(a), dummies_dict) for a in expr]
NameError: global name 'sub_expr' is not defined
======================================================================
FAIL: nipy.modalities.fmri.tests.test_aliases.test_implemented_function
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/nipy/modalities/fmri/tests/test_aliases.py",
line 47, in test_implemented_function
assert_true(hasattr(func, '_imp_'))
AssertionError: False is not true
----------------------------------------------------------------------
Ran 4522 tests in 146.744s
FAILED (SKIP=6, errors=2, failures=1)
make[1]: *** [debian/rules:58: test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:19: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess
returned exit status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/nipy.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.