[SRU] Sage crashes on start due to a missmatched dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sagemath (Ubuntu) |
Opinion
|
Undecided
|
Unassigned | ||
Mantic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
sage is completely unusable as it will fail to launch with the below error:
File "/usr/lib/
from sage.rings.
ImportError: libsingular-
This is because sagemath was not rebuilt when new libsingular was introduced in Mantic. And as a result sagemath is still linked with and tries to load libsingular-
sagemath only needs a rebuild to correctly link it with the correct library.
[ Test Plan ]
* Execute "sage"
* if its not fixed then it will fail as the error above
* With fixed package, we will reach the "sage" prompt as below:
$ sage
┌──────
│ SageMath version 9.5, Release Date: 2022-01-30 │
│ Using Python 3.11.6. Type "help()" for help. │
└──────
sage:
* On the sage prompt, we can do some basic maths to test its working.
sage: 2 + 2
4
sage: factor(-2007)
-1 * 3^2 * 223
sage: A = matrix(4,4, range(16)); A
[ 0 1 2 3]
[ 4 5 6 7]
[ 8 9 10 11]
[12 13 14 15]
sage: factor(
x^2 * (x^2 - 30*x - 80)
[ Where problems could occur ]
There is no change in code and only a rebuild and so user should not see any regression.
The only worry is that the failed doctests limit had to be increased for the build to succeed, so some of the functions might not work as documented.
[ Other Info ]
failed doctests limit had to be increased for the build to succeed. I do not have the resources to build it locally to debug why some of the doctests are failing.
The failed buildlog without an increase of the limit is at: https:/
The build log with increased limit is at: https:/
[ Original Bug Description ]
Ubuntu version: 23.10
SageMath version: 9.5.6
SageMath crashes when launching on the terminal. It seems that it expects libsingular 4.3.1 but instead 4.3.2 is the one in the repositories.
I attach a file with the output given by running sage in the terminal.
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: sagemath 9.5-6
ProcVersionSign
Uname: Linux 6.5.0-9-generic x86_64
NonfreeKernelMo
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Oct 21 16:47:39 2023
InstallationDate: Installed on 2023-10-20 (1 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
PackageArchitec
ProcEnviron:
LANG=es_ES.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
XDG_RUNTIME_
SourcePackage: sagemath
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in sagemath (Ubuntu Mantic): | |
status: | New → In Progress |
assignee: | nobody → Sudip Mukherjee (sudipmuk) |
summary: |
- Sage crashes on start due to a missmatched dependency + [SRU] Sage crashes on start due to a missmatched dependency |
description: | updated |
description: | updated |
Changed in sagemath (Ubuntu Mantic): | |
status: | In Progress → Confirmed |
assignee: | Sudip Mukherjee (sudipmuk) → nobody |
Status changed to 'Confirmed' because the bug affects multiple users.