Control: retitle -1 nipy FTBFS: test failures
On Mon, Dec 19, 2016 at 10:11:08PM +0100, Lucas Nussbaum wrote:
>...
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
>
> Relevant part (hopefully):
> > x86_64-linux-gnu-gcc -pthread /tmp/tmp9JlXPN/tmp/tmp9JlXPN/source.o -lcblas
> > -o /tmp/tmp9JlXPN/a.out
> > /usr/bin/ld: cannot find -lcblas
> > collect2: error: ld returned 1 exit status
>...
The actual failures are later in the tests:
...
======================================================================
ERROR:
nipy.algorithms.clustering.tests.test_hierarchical_clustering.cost_test
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/<<BUILDDIR>>/nipy-0.4.0+git26-gf8d3149/debian/tmp/usr/lib/python2.7/dist-packages/nipy/algorithms/clustering/tests/test_hierarchical_clustering.py",
line 152, in cost_test
u, cost = ward_segment(G, x)
File
"/<<BUILDDIR>>/nipy-0.4.0+git26-gf8d3149/debian/tmp/usr/lib/python2.7/dist-packages/nipy/algorithms/clustering/hierarchical_clustering.py",
line 866, in ward_segment
t = ward(G, feature, verbose)
File
"/<<BUILDDIR>>/nipy-0.4.0+git26-gf8d3149/debian/tmp/usr/lib/python2.7/dist-packages/nipy/algorithms/clustering/hierarchical_clustering.py",
line 972, in ward
linc, rinc = _remap(K, i, j, k, Features, linc, rinc)
File
"/<<BUILDDIR>>/nipy-0.4.0+git26-gf8d3149/debian/tmp/usr/lib/python2.7/dist-packages/nipy/algorithms/clustering/hierarchical_clustering.py",
line 568, in _remap
if K.edges[l, 0] == - 1:
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis
(`None`) and integer or boolean arrays are valid indices
======================================================================
ERROR:
nipy.algorithms.clustering.tests.test_hierarchical_clustering.ward_test_more
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/<<BUILDDIR>>/nipy-0.4.0+git26-gf8d3149/debian/tmp/usr/lib/python2.7/dist-packages/nipy/algorithms/clustering/tests/test_hierarchical_clustering.py",
line 160, in ward_test_more
X[:np.ceil(n/3)] += 5
TypeError: slice indices must be integers or None or have an __index__ method
...
(And many more test failures.)
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed