[Debian-science-sagemath] arm64

Ximin Luo infinity0 at debian.org
Thu Jan 26 00:25:00 UTC 2017


James Cloos:
> I thought I'd install sage on my c2, but even in sid it is not available
> for arm64.  Even with experimental.
> 
> Is something blocking it on arm64?
> 

Hey, yes the compilation succeeds but running sage fails:

https://buildd.debian.org/status/fetch.php?pkg=sagemath&arch=arm64&ver=7.4-8&stamp=1485362174&raw=1

[dochtml] Setting permissions of DOT_SAGE directory so only you can read and write it.
[dochtml] Traceback (most recent call last):
[dochtml]   File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
[dochtml]     mod_name, _Error)
[dochtml]   File "/usr/lib/python2.7/runpy.py", line 111, in _get_module_details
[dochtml]     __import__(mod_name)  # Do not catch exceptions initializing package
[dochtml]   File "/«PKGBUILDDIR»/debian/build/usr/lib/python2.7/dist-packages/sage_setup/docbuild/__init__.py", line 22, in <module>
[dochtml]     import sage.all
[dochtml]   File "/«PKGBUILDDIR»/debian/build/usr/lib/python2.7/dist-packages/sage/all.py", line 82, in <module>
[dochtml]     from sage.rings.all      import *
[dochtml]   File "/«PKGBUILDDIR»/debian/build/usr/lib/python2.7/dist-packages/sage/rings/all.py", line 54, in <module>
[dochtml]     from .number_field.all import *
[dochtml]   File "/«PKGBUILDDIR»/debian/build/usr/lib/python2.7/dist-packages/sage/rings/number_field/all.py", line 9, in <module>
[dochtml]     from .totallyreal import enumerate_totallyreal_fields_prim
[dochtml]   File "sage/rings/number_field/totallyreal_data.pxd", line 12, in init sage.rings.number_field.totallyreal (/«PKGBUILDDIR»/sage/src/build/cythonized/sage/rings/number_field/totallyreal.c:12372)
[dochtml]   File "sage/rings/number_field/totallyreal_data.pyx", line 39, in init sage.rings.number_field.totallyreal_data (/«PKGBUILDDIR»/sage/src/build/cythonized/sage/rings/number_field/totallyreal_data.c:13014)
[dochtml]   File "/«PKGBUILDDIR»/debian/build/usr/lib/python2.7/dist-packages/sage/rings/polynomial/polynomial_ring_constructor.py", line 461, in PolynomialRing
[dochtml]     R = _single_variate(base_ring, name, sparse, implementation)
[dochtml]   File "/«PKGBUILDDIR»/debian/build/usr/lib/python2.7/dist-packages/sage/rings/polynomial/polynomial_ring_constructor.py", line 539, in _single_variate
[dochtml]     R = m.PolynomialRing_integral_domain(base_ring, name, sparse, implementation)
[dochtml]   File "/«PKGBUILDDIR»/debian/build/usr/lib/python2.7/dist-packages/sage/rings/polynomial/polynomial_ring.py", line 1582, in __init__
[dochtml]     sparse=sparse, element_class=element_class, category=category)
[dochtml]   File "/«PKGBUILDDIR»/debian/build/usr/lib/python2.7/dist-packages/sage/rings/polynomial/polynomial_ring.py", line 1453, in __init__
[dochtml]     sparse=sparse, element_class=element_class, category=category)
[dochtml]   File "/«PKGBUILDDIR»/debian/build/usr/lib/python2.7/dist-packages/sage/rings/polynomial/polynomial_ring.py", line 289, in __init__
[dochtml]     from sage.matrix.matrix_space import MatrixSpace
[dochtml]   File "/«PKGBUILDDIR»/debian/build/usr/lib/python2.7/dist-packages/sage/matrix/matrix_space.py", line 47, in <module>
[dochtml]     from . import matrix_modn_sparse
[dochtml]   File "sage/matrix/matrix_integer_dense.pxd", line 11, in init sage.matrix.matrix_modn_sparse (/«PKGBUILDDIR»/sage/src/build/cythonized/sage/matrix/matrix_modn_sparse.c:14775)
[dochtml]   File "sage/matrix/matrix_modn_dense_template_header.pxi", line 8, in init sage.matrix.matrix_integer_dense (/«PKGBUILDDIR»/sage/src/build/cythonized/sage/matrix/matrix_integer_dense.c:56312)
[dochtml] ImportError: /usr/lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block
Makefile:1059: recipe for target 'doc-html' failed

We have the same failure on ppc64el.

Note that this looks like a failure building the docs, however as I explained here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849150#10

"Hi, this does not look like a simple out-of-memory, but a bug involving libgomp. A quick Google search of the error message shows that there was some issue involving libgomp, dlopen and GCC years ago, but it's unclear if this is issue here is related.

The error occurs right when the docbuild starts, before it actually attempts to build anything, so my guess is that it would also occur when starting the normal Sage CLI. [..]"

Help with this would greatly be appreciated! I don't think I will have time to look into this myself, and we also need to package 7.5 in the near future.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Debian-science-sagemath mailing list