Bug#942432: sagemath FTBFS on ppc64el
Thierry Fauck@linux.ibm.com
thierry at linux.ibm.com
Wed Oct 16 10:14:08 BST 2019
Package: sagemath
Version: 8.9-1
Severity: high
Tests are failing due to programation errors
* may be GCC 9 is less permissive
* may be default library don't include objects with expected definition
but result is a strange message
Success: 38 tests failed, up to 65 failures are tolerated
dpkg-buildpackage: error: debian/rules binary
subprocess returned exit status 2
**********************************************************************
File "src/sage/cpython/dict_del_by_value.pyx", line 414, in sage.cpython.dict_del_by_value.test_del_dictitem_by_exact_value
Failed example:
test_del_dictitem_by_exact_value(D, ZZ, 2)
Exception raised:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python3/dist-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python3/dist-packages/sage/doctest/forker.py", line 1123, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.cpython.dict_del_by_value.test_del_dictitem_by_exact_value[7]>", line 1, in <module>
test_del_dictitem_by_exact_value(D, ZZ, Integer(2))
File "sage/cpython/dict_del_by_value.pyx", line 421, in sage.cpython.dict_del_by_value.test_del_dictitem_by_exact_value (build/cythonized/sage/cpython/dict_del_by_value.c:2387)
del_dictitem_by_exact_value(<PyDictObject *>D, <PyObject *>value, h)
TypeError: an integer is required
**********************************************************************
File "src/sage/cpython/dict_del_by_value.pyx", line 417, in sage.cpython.dict_del_by_value.test_del_dictitem_by_exact_value
Failed example:
test_del_dictitem_by_exact_value(D, QQ, 1)
Exception raised:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python3/dist-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python3/dist-packages/sage/doctest/forker.py", line 1123, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.cpython.dict_del_by_value.test_del_dictitem_by_exact_value[9]>", line 1, in <module>
test_del_dictitem_by_exact_value(D, QQ, Integer(1))
File "sage/cpython/dict_del_by_value.pyx", line 421, in sage.cpython.dict_del_by_value.test_del_dictitem_by_exact_value (build/cythonized/sage/cpython/dict_del_by_value.c:2387)
del_dictitem_by_exact_value(<PyDictObject *>D, <PyObject *>value, h)
TypeError: an integer is required
**********************************************************************
1 item had failures:
2 of 12 in sage.cpython.dict_del_by_value.test_del_dictitem_by_exact_value
[33 tests, 2 failures, 4.30 s]
**********************************************************************
File "src/sage/env.py", line 221, in sage.env._get_shared_lib_filename
Failed example:
Failed example:
fnmatch(lib_filename, pattern)
Exception raised:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python3/dist-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python3/dist-packages/sage/doctest/forker.py", line 1123, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.env._get_shared_lib_filename[5]>", line 1, in <module>
fnmatch(lib_filename, pattern)
File "/usr/lib/python3.7/fnmatch.py", line 34, in fnmatch
name = os.path.normcase(name)
File "/usr/lib/python3.7/posixpath.py", line 54, in normcase
s = os.fspath(s)
TypeError: expected str, bytes or os.PathLike object, not NoneType
**********************************************************************
1 item had failures:
1 of 8 in sage.env._get_shared_lib_filename
**********************************************************************
File "src/sage/graphs/digraph_generators.py", line 597, in sage.graphs.digraph_generators.DiGraphGenerators.nauty_directg
Failed example:
len(dgs)
Expected:
13
Got:
0
**********************************************************************
File "src/sage/graphs/digraph_generators.py", line 599, in sage.graphs.digraph_generators.DiGraphGenerators.nauty_directg
Failed example:
dgs[0]
Exception raised:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python3/dist-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python3/dist-packages/sage/doctest/forker.py", line 1123, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.graphs.digraph_generators.DiGraphGenerators.nauty_directg[3]>", line 1, in <module>
dgs[Integer(0)]
IndexError: list index out of range
*******************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20191016/e0c99ca3/attachment.html>
More information about the debian-science-maintainers
mailing list