Source: pyentropy Version: 0.4.1-2 Severity: serious Justification: fails to build from source User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Dear Maintainer, pyentropy fails to build from source in unstable/amd64: [..] ====================================================================== ERROR: pyentropy.tests.test_systems.test_1d_qe('qe', 'plugin') ---------------------------------------------------------------------- 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.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/tests/test_systems.py", line 61, in do_1d_check s.calculate_entropies(method=method, calc=allcalc, qe_method=qe_method) File "/home/lamby/temp/cdt.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/systems.py", line 252, in calculate_entropies self._qe_ent(qe_method,sampling,methods) File "/home/lamby/temp/cdt.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/systems.py", line 370, in _qe_ent sys = self._subsampled_instance(sl) File "/home/lamby/temp/cdt.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/systems.py", line 595, in _subsampled_instance return DiscreteSystem(self.X[:,sl], self.X_dims, IndexError: invalid slice ====================================================================== ERROR: pyentropy.tests.test_systems.test_1d_qe_pt('qe', 'pt') ---------------------------------------------------------------------- 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.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/tests/test_systems.py", line 61, in do_1d_check s.calculate_entropies(method=method, calc=allcalc, qe_method=qe_method) File "/home/lamby/temp/cdt.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/systems.py", line 252, in calculate_entropies self._qe_ent(qe_method,sampling,methods) File "/home/lamby/temp/cdt.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/systems.py", line 370, in _qe_ent sys = self._subsampled_instance(sl) File "/home/lamby/temp/cdt.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/systems.py", line 595, in _subsampled_instance return DiscreteSystem(self.X[:,sl], self.X_dims, IndexError: invalid slice ====================================================================== ERROR: pyentropy.tests.test_systems.test_1d_plugin_sorted('plugin', None) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/case.py", line 267, in setUp try_run(self.test, names) File "/usr/lib/python2.7/dist-packages/nose/util.py", line 471, in try_run return func() File "/home/lamby/temp/cdt.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/tests/test_systems.py", line 98, in setup_1d_sorted xs[start:end] = oce IndexError: invalid slice ====================================================================== ERROR: pyentropy.tests.test_systems.test_1d_pt_sorted('pt', None) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/case.py", line 267, in setUp try_run(self.test, names) File "/usr/lib/python2.7/dist-packages/nose/util.py", line 471, in try_run return func() File "/home/lamby/temp/cdt.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/tests/test_systems.py", line 98, in setup_1d_sorted xs[start:end] = oce IndexError: invalid slice ====================================================================== ERROR: pyentropy.tests.test_systems.test_1d_qe_sorted('qe', 'plugin') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/case.py", line 267, in setUp try_run(self.test, names) File "/usr/lib/python2.7/dist-packages/nose/util.py", line 471, in try_run return func() File "/home/lamby/temp/cdt.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/tests/test_systems.py", line 98, in setup_1d_sorted xs[start:end] = oce IndexError: invalid slice ====================================================================== ERROR: pyentropy.tests.test_systems.test_1d_qe_pt_sorted('qe', 'pt') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/case.py", line 267, in setUp try_run(self.test, names) File "/usr/lib/python2.7/dist-packages/nose/util.py", line 471, in try_run return func() File "/home/lamby/temp/cdt.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/tests/test_systems.py", line 98, in setup_1d_sorted xs[start:end] = oce IndexError: invalid slice ====================================================================== ERROR: pyentropy.tests.test_systems.test_toy1_sorted ---------------------------------------------------------------------- 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.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/tests/test_systems.py", line 165, in test_toy1_sorted s.calculate_entropies(method='plugin', calc=toycalc) File "/home/lamby/temp/cdt.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/systems.py", line 256, in calculate_entropies self._calc_ents(method, sampling, methods) File "/home/lamby/temp/cdt.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/systems.py", line 29, in _calc_ents self._sample(method=sampling) File "/home/lamby/temp/cdt.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/systems.py", line 714, in _sample oce = d_X[indx] IndexError: invalid slice ====================================================================== FAIL: pyentropy.tests.test_systems.test_toy1 ---------------------------------------------------------------------- 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.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/tests/test_systems.py", line 160, in test_toy1 assert_array_almost_equal(v, toytrue) File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 912, in assert_array_almost_equal precision=decimal) File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 733, in assert_array_compare raise AssertionError(msg) AssertionError: Arrays are not almost equal to 6 decimals (mismatch 33.3333333333%) x: array([ 2.251629, 1.584963, 2.169925, 3.141604, 2.567168, 3.421554]) y: array([ 2.251629, 1.584963, 2.169925, 2.836592, 2.947703, 3.421554]) ====================================================================== FAIL: pyentropy.tests.test_utils.test_dec2base_1d ---------------------------------------------------------------------- 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.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/tests/test_utils.py", line 65, in test_dec2base_1d assert_equal(dec2base(x,3,4),y) File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 316, in assert_equal return assert_array_equal(actual, desired, err_msg, verbose) File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 807, in assert_array_equal verbose=verbose, header='Arrays are not equal') File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 733, in assert_array_compare raise AssertionError(msg) AssertionError: Arrays are not equal (mismatch 9.25925925926%) x: array([[0, 0, 0, 0], [0, 0, 0, 1], [0, 0, 0, 2],... y: array([[0, 0, 0, 0], [0, 0, 0, 1], [0, 0, 0, 2],... ====================================================================== FAIL: pyentropy.tests.test_utils.test_dec2base_2d ---------------------------------------------------------------------- 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.20160207102950.HNDuxkvewQ/pyentropy-0.4.1/pyentropy/tests/test_utils.py", line 68, in test_dec2base_2d assert_equal(dec2base(x2,3,4),y) File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 316, in assert_equal return assert_array_equal(actual, desired, err_msg, verbose) File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 807, in assert_array_equal verbose=verbose, header='Arrays are not equal') File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 733, in assert_array_compare raise AssertionError(msg) AssertionError: Arrays are not equal (mismatch 9.25925925926%) x: array([[0, 0, 0, 0], [0, 0, 0, 1], [0, 0, 0, 2],... y: array([[0, 0, 0, 0], [0, 0, 0, 1], [0, 0, 0, 2],... ---------------------------------------------------------------------- Ran 29 tests in 0.167s FAILED (errors=7, failures=3) Order 1 complete. Time: Sun Feb 7 10:30:03 2016 Order 2 complete. Time: Sun Feb 7 10:30:03 2016 Order 3 complete. Time: Sun Feb 7 10:30:03 2016 order: 1 ierr: 1 - The solution converged. fval: 1.16850048156e-12 nfev: 9 njev: 1 order: 1 ierr: 1 - The solution converged. fval: 1.16850048156e-12 nfev: 9 njev: 1 debian/rules:13: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 1 make[1]: Leaving directory '/home/lamby/temp/cdt.20160207102950.HNDuxkvewQ/pyentropy-0.4.1' debian/rules:6: recipe for target 'build' failed make: *** [build] Error 2 [..] The full build log is attached. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
pyentropy.0.4.1-2.unstable.amd64.log.txt.gz
Description: Binary data