Package: sagemath
Version: 8.6-6
Severity: important
Dear Maintainer,
running sagemath (either directly with 'sage' or running a notebook with
jupyter)
does not work because the kernel crashes. The final error reported by Python is
ImportError:
/usr/lib/python2.7/dist-packages/sage/libs/gap/element.x86_64-linux-gnu.so:
undefined symbol: _GAP_SetEnterStackCount
This renders sage unusable because the kernel will not start. Let me know how
if I can help
by providing more information. I copy the full backtrace below:
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/lib/python2.7/dist-packages/sage/repl/ipython_kernel/__main__.py",
line 3, in
IPKernelApp.launch_instance(kernel_class=SageKernel)
File "/usr/lib/python2.7/dist-packages/traitlets/config/application.py", line
657, in launch_instance
app.initialize(argv)
File "", line 2, in initialize
File "/usr/lib/python2.7/dist-packages/traitlets/config/application.py", line
87, in catch_config_error
return method(app, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/ipykernel/kernelapp.py", line 476, in
initialize
self.init_kernel()
File "/usr/lib/python2.7/dist-packages/ipykernel/kernelapp.py", line 387, in
init_kernel
user_ns=self.user_ns,
File "/usr/lib/python2.7/dist-packages/traitlets/config/configurable.py",
line 412, in instance
inst = cls(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/sage/repl/ipython_kernel/kernel.py",
line 52, in __init__
SageJupyterCustomizations(self.shell)
File "/usr/lib/python2.7/dist-packages/sage/repl/ipython_extension.py", line
433, in __init__
import sage.all # until sage's import hell is fixed
File "/usr/lib/python2.7/dist-packages/sage/all.py", line 102, in
from sage.modular.allimport *
File "/usr/lib/python2.7/dist-packages/sage/modular/all.py", line 4, in
from .quatalg.all import *
File "/usr/lib/python2.7/dist-packages/sage/modular/quatalg/__init__.py",
line 4, in
from . import all
File "/usr/lib/python2.7/dist-packages/sage/modular/quatalg/all.py", line 3,
in
from .brandt import BrandtModule
File "/usr/lib/python2.7/dist-packages/sage/modular/quatalg/brandt.py", line
206, in
from sage.modular.hecke.all import (AmbientHeckeModule, HeckeSubmodule,
HeckeModuleElement)
File "/usr/lib/python2.7/dist-packages/sage/modular/hecke/all.py", line 20,
in
from .ambient_module import AmbientHeckeModule, is_AmbientHeckeModule
File "/usr/lib/python2.7/dist-packages/sage/modular/hecke/ambient_module.py",
line 38, in
from sage.modular.arithgroup.all import Gamma0 # for Sturm bound
File "/usr/lib/python2.7/dist-packages/sage/modular/arithgroup/__init__.py",
line 4, in
from . import all
File "/usr/lib/python2.7/dist-packages/sage/modular/arithgroup/all.py", line
6, in
from .congroup_generic import is_CongruenceSubgroup,
CongruenceSubgroup_constructor as CongruenceSubgroup
File
"/usr/lib/python2.7/dist-packages/sage/modular/arithgroup/congroup_generic.py",
line 28, in
from sage.groups.matrix_gps.all import MatrixGroup
File "/usr/lib/python2.7/dist-packages/sage/groups/matrix_gps/all.py", line
13, in
import sage.groups.matrix_gps.pickling_overrides
File
"/usr/lib/python2.7/dist-packages/sage/groups/matrix_gps/pickling_overrides.py",
line 7, in
from sage.groups.matrix_gps.finitely_generated import
FinitelyGeneratedMatrixGroup_gap
File
"/usr/lib/python2.7/dist-packages/sage/groups/matrix_gps/finitely_generated.py",
line 81, in
from sage.groups.matrix_gps.matrix_group import (
File
"/usr/lib/python2.7/dist-packages/sage/groups/matrix_gps/matrix_group.py", line
61, in
from sage.groups.libgap_wrapper import ParentLibGAP
File "sage/libs/gap/element.pxd", line 32, in init sage.groups.libgap_wrapper
(build/cythonized/sage/groups/libgap_wrapper.c:9846)
cdef class GapElement(RingElement):
ImportError:
/usr/lib/python2.7/dist-packages/sage/libs/gap/element.x86_64-linux-gnu.so:
undefined symbol: _GAP_SetEnterStackCount
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages sagemath depends on:
ii cysignals-tools 1.8.1+ds-2
ii cython0.29.2-2
ii ecl 16.1.3+ds-2
ii eclib-tools 20190226-2
ii fflas-ffpack