Control: reassign -1 sagemath 9.5-6 Control: severity 1052051 grave Control: merge -1 1052051
On Tue 06 Feb 2024 12:18:06 AM -03, Alexandre Lymberopoulos <lym...@gmail.com> wrote:
Package: libsingular4-dev Version: 1:4.3.2-p10+ds-1+b1 Severity: grave Justification: renders package unusable Dear Maintainer, It seems that this version of the package (or other on the libsingular4 family) renders sagemath completelu unusable. In other systems, with the an older version of libsingular4* (4.3.1, if my memory isn't cheating me), sage runs perfectly. Below is an output of sagemath running from the prompt: ~$ sage ┌────────────────────────────────────────────────────────────────────┐ │ SageMath version 9.5, Release Date: 2022-01-30 │ │ Using Python 3.11.7. Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3.11/pathlib.py", line 1251, in is_dir return S_ISDIR(self.stat().st_mode) ^^^^^^^^^ AttributeError: 'str' object has no attribute 'stat' Original exception was: Traceback (most recent call last): File "/usr/bin/sage-ipython", line 15, in <module> app.initialize() File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/IPython/terminal/ipapp.py", line 278, in initialize self.init_shell() File "/usr/lib/python3/dist-packages/sage/repl/interpreter.py", line 789, in init_shell self.shell.extension_manager.load_extension(SAGE_EXTENSION) File "/usr/lib/python3/dist-packages/IPython/core/extensions.py", line 76, in load_extension return self._load_extension(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/IPython/core/extensions.py", line 93, in _load_extension if self._call_load_ipython_extension(mod): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/IPython/core/extensions.py", line 145, in _call_load_ipython_extension mod.load_ipython_extension(self.shell) File "/usr/lib/python3/dist-packages/sage/repl/__init__.py", line 5, in load_ipython_extension sage.repl.ipython_extension.load_ipython_extension(*args) File "/usr/lib/python3/dist-packages/sage/repl/ipython_extension.py", line 617, in wrapper result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sage/repl/ipython_extension.py", line 630, in load_ipython_extension SageCustomizations(shell=ip) File "/usr/lib/python3/dist-packages/sage/repl/ipython_extension.py", line 434, in __init__ import sage.all # until sage's import hell is fixed ^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sage/all.py", line 169, in <module> from sage.rings.all import * File "/usr/lib/python3/dist-packages/sage/rings/all.py", line 87, in <module> from .qqbar import (AlgebraicRealField, AA, File "/usr/lib/python3/dist-packages/sage/rings/qqbar.py", line 2810, in <module> QQxy = QQ['x', 'y'] ~~^^^^^^^^^^ File "sage/structure/parent.pyx", line 1276, in sage.structure.parent.Parent.__getitem__ (build/cythonized/sage/structure/parent.c:11543) File "/usr/lib/python3/dist-packages/sage/categories/rings.py", line 1177, in __getitem__ return PolynomialRing(self, elts) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sage/rings/polynomial/polynomial_ring_constructor.py", line 647, in PolynomialRing return _multi_variate(base_ring, names, **kwds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sage/rings/polynomial/polynomial_ring_constructor.py", line 775, in _multi_variate from sage.rings.polynomial.multi_polynomial_libsingular import MPolynomialRing_libsingular ImportError: libsingular-Singular-4.3.1.so: cannot open shared object file: No such file or directory It seems that sage calls previous version (4.3.1) of libsingular. I reported this bug before to sagemath package, but got no answer. I'let this filed here and report again on sage. I may provide any further information needed to fix this. Best, Alexandre -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (900, 'testing'), (800, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 6.5.0-5-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages libsingular4-dev depends on: ii libflint-dev 3.0.1-2 ii libgmp-dev 2:6.3.0+dfsg-2 ii libmpfr-dev 4.2.1-1 ii libntl-dev 11.5.1-1+b2 ii libsingular4-dev-common 1:4.3.2-p10+ds-1 ii libsingular4m3n0 1:4.3.2-p10+ds-1+b1 libsingular4-dev recommends no packages. Versions of packages libsingular4-dev suggests: ii pkg-config 1.8.1-1+b2 ii pkgconf [pkg-config] 1.8.1-1+b2 pn singular-dev-doc <none> -- no debconf information
Thanks for the report! This is a duplicate of #1052051 and I would say is definitely a Sage bug and not a Singular one, so I'm reassigning this and merging them. I agree with the "grave" severity, though. Doug
signature.asc
Description: PGP signature