Hi,
while trying to build and test Sage Debian Live 7.3, i notice some issue
with meataxe package. While doctests pass on the VM is was built on
(Pentium3 kvm-emulated), the doctests give a lot of errors when the same
binary is run on another platform (it is the same path, so it is not a
relocation issue).
All errors look like the following:
sage -t --long /opt/sagemath/sage-7.3/src/sage/algebras/group_algebra.py
**********************************************************************
File "/opt/sagemath/sage-7.3/src/sage/algebras/group_algebra.py", line 555, in sage.algebras.group_algebra.GroupAlgebra.random_element
Failed example:
GroupAlgebra(SU(2, 13), QQ).random_element(1)
Exception raised:
Traceback (most recent call last):
File "/opt/sagemath/sage-7.3/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 499, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/opt/sagemath/sage-7.3/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 862, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.algebras.group_algebra.GroupAlgebra.random_element[1]>", line 1, in <module>
GroupAlgebra(SU(Integer(2), Integer(13)), QQ).random_element(Integer(1))
File "/opt/sagemath/sage-7.3/local/lib/python2.7/site-packages/sage/algebras/group_algebra.py", line 559, in random_element
a = self(0)
File "sage/structure/parent.pyx", line 1107, in sage.structure.parent.Parent.__call__ (/opt/sagemath/sage-7.3/src/build/cythoniz
ed/sage/structure/parent.c:9905)
return mor._call_(x)
File "sage/categories/map.pyx", line 1691, in sage.categories.map.FormalCompositeMap._call_ (/opt/sagemath/sage-7.3/src/build/cy
thonized/sage/categories/map.c:11440)
x = f._call_(x)
File "sage/categories/morphism.pyx", line 438, in sage.categories.morphism.SetMorphism._call_ (/opt/sagemath/sage-7.3/src/build/
cythonized/sage/categories/morphism.c:7603)
cpdef Element _call_(self, x):
File "sage/categories/morphism.pyx", line 457, in sage.categories.morphism.SetMorphism._call_ (/opt/sagemath/sage-7.3/src/build/
cythonized/sage/categories/morphism.c:7550)
return self._function(x)
File "/opt/sagemath/sage-7.3/local/lib/python2.7/site-packages/sage/categories/unital_algebras.py", line 289, in from_base_ring_
from_one_basis
return self.term(self.one_basis(), r) #.
File "/opt/sagemath/sage-7.3/local/lib/python2.7/site-packages/sage/combinat/free_module.py", line 1739, in term
return self._from_dict( {index: coeff} )
File "sage/groups/matrix_gps/group_element.pyx", line 467, in sage.groups.matrix_gps.group_element.MatrixGroupElement_gap.__hash
__ (/opt/sagemath/sage-7.3/src/build/cythonized/sage/groups/matrix_gps/group_element.c:6302)
return hash(self.matrix())
File "sage/misc/cachefunc.pyx", line 2401, in sage.misc.cachefunc.CachedMethodCallerNoArgs.__call__ (/opt/sagemath/sage-7.3/src/
build/cythonized/sage/misc/cachefunc.c:12716)
self.cache = f(self._instance)
File "sage/groups/matrix_gps/group_element.pyx", line 580, in sage.groups.matrix_gps.group_element.MatrixGroupElement_gap.matrix
(/opt/sagemath/sage-7.3/src/build/cythonized/sage/groups/matrix_gps/group_element.c:7384)
m = MS([x.sage(ring=ring) for x in entries])
File "/opt/sagemath/sage-7.3/local/lib/python2.7/site-packages/sage/matrix/matrix_space.py", line 526, in __call__
return self.matrix(entries, coerce, copy)
File "/opt/sagemath/sage-7.3/local/lib/python2.7/site-packages/sage/matrix/matrix_space.py", line 1483, in matrix
return MC(self, x, copy=copy, coerce=coerce)
File "sage/matrix/matrix_gfpn_dense.pyx", line 346, in sage.matrix.matrix_gfpn_dense.Matrix_gfpn_dense.__cinit__ (build/cythonized/sage/matrix/matrix_gfpn_dense.c:4471)
self.Data = MatAlloc(f, nrows, ncols)
SystemError: Cannot select field GF(169) in file matcore.c (line 130)
**********************************************************************
I do not know whether
https://trac.sagemath.org/ticket/20136 will fix
this. For now, i am removing it from the list of optional pkgs to install
on SDL.
Ciao,
Thierry