[Reproducible-builds] Bug#813719: scikit-learn: FTBFS: RuntimeError: lena() is no longer included in SciPy, please use ascent() or face() instead
Chris Lamb
lamby at debian.org
Thu Feb 4 17:42:01 UTC 2016
Source: scikit-learn
Version: 0.17.0-4
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
scikit-learn fails to build from source in unstable/amd64:
[..]
======================================================================
ERROR: Failure: RuntimeError (lena() is no longer included in SciPy, please use ascent() or face() instead)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/lamby/temp/cdt.20160204180950.0RoDBXRDO7/scikit-learn-0.17.0/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/feature_extraction/tests/test_image.py", line 106, in <module>
downsampled_lena = _downsampled_lena()
File "/home/lamby/temp/cdt.20160204180950.0RoDBXRDO7/scikit-learn-0.17.0/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/feature_extraction/tests/test_image.py", line 78, in _downsampled_lena
lena = sp.misc.lena().astype(np.float32)
File "/usr/lib/python2.7/dist-packages/scipy/misc/common.py", line 376, in lena
raise RuntimeError('lena() is no longer included in SciPy, please use '
RuntimeError: lena() is no longer included in SciPy, please use ascent() or face() instead
======================================================================
ERROR: sklearn.tests.test_common.test_non_meta_estimators('GenericUnivariateSelect', <class 'sklearn.feature_selection.univariate_selection.GenericUnivariateSelect'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/lamby/temp/cdt.20160204180950.0RoDBXRDO7/scikit-learn-0.17.0/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/utils/testing.py", line 318, in wrapper
return fn(*args, **kwargs)
File "/home/lamby/temp/cdt.20160204180950.0RoDBXRDO7/scikit-learn-0.17.0/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/utils/estimator_checks.py", line 677, in check_estimators_dtypes
getattr(estimator, method)(X_train)
File "/home/lamby/temp/cdt.20160204180950.0RoDBXRDO7/scikit-learn-0.17.0/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/feature_selection/base.py", line 76, in transform
mask = self.get_support()
File "/home/lamby/temp/cdt.20160204180950.0RoDBXRDO7/scikit-learn-0.17.0/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/feature_selection/base.py", line 47, in get_support
mask = self._get_support_mask()
File "/home/lamby/temp/cdt.20160204180950.0RoDBXRDO7/scikit-learn-0.17.0/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/feature_selection/univariate_selection.py", line 708, in _get_support_mask
return selector._get_support_mask()
File "/home/lamby/temp/cdt.20160204180950.0RoDBXRDO7/scikit-learn-0.17.0/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/feature_selection/univariate_selection.py", line 407, in _get_support_mask
kept_ties = ties[:max_feats - mask.sum()]
IndexError: invalid slice
======================================================================
FAIL: sklearn.tests.test_isotonic.test_isotonic_regression_auto_decreasing
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/lamby/temp/cdt.20160204180950.0RoDBXRDO7/scikit-learn-0.17.0/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/tests/test_isotonic.py", line 169, in test_isotonic_regression_auto_decreasing
y_ = assert_no_warnings(ir.fit_transform, x, y)
File "/home/lamby/temp/cdt.20160204180950.0RoDBXRDO7/scikit-learn-0.17.0/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/utils/testing.py", line 280, in assert_no_warnings
% (func.__name__, w))
AssertionError: Got warnings when calling fit_transform: [<warnings.WarningMessage object at 0x7fd26250c710>, <warnings.WarningMessage object at 0x7fd26250c750>, <warnings.WarningMessage object at 0x7fd26250c790>, <warnings.WarningMessage object at 0x7fd26250c7d0>]
======================================================================
FAIL: sklearn.tests.test_isotonic.test_isotonic_regression_auto_increasing
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/lamby/temp/cdt.20160204180950.0RoDBXRDO7/scikit-learn-0.17.0/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/tests/test_isotonic.py", line 183, in test_isotonic_regression_auto_increasing
y_ = assert_no_warnings(ir.fit_transform, x, y)
File "/home/lamby/temp/cdt.20160204180950.0RoDBXRDO7/scikit-learn-0.17.0/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/utils/testing.py", line 280, in assert_no_warnings
% (func.__name__, w))
AssertionError: Got warnings when calling fit_transform: [<warnings.WarningMessage object at 0x7fd26250c790>, <warnings.WarningMessage object at 0x7fd26250c890>, <warnings.WarningMessage object at 0x7fd262506110>, <warnings.WarningMessage object at 0x7fd262506150>]
----------------------------------------------------------------------
Ran 5307 tests in 121.738s
FAILED (SKIP=14, errors=2, failures=2)
Optimization terminated successfully.
Current function value: 0.000000
Iterations: 10
Function evaluations: 11
Gradient evaluations: 20
Hessian evaluations: 40
debian/rules:53: recipe for target 'python-test2.7' failed
make[1]: *** [python-test2.7] Error 1
make[1]: Leaving directory '/home/lamby/temp/cdt.20160204180950.0RoDBXRDO7/scikit-learn-0.17.0'
debian/rules:31: recipe for target 'binary' failed
make: *** [binary] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scikit-learn.0.17.0-4.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 81974 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160204/189ebc08/attachment.obj>
More information about the Reproducible-builds
mailing list