Bug#918990: sagemath-common: Invalid hardcoded path in sage-env-config

Amaury Pouly amaury.pouly at gmail.com
Fri Jan 11 15:05:54 GMT 2019


Package: sagemath-common
Version: 8.4-4
Severity: normal

Dear Maintainer,

the file /usr/share/sagemath/bin/sage-env-config contains the following:

export SAGE_LOCAL="/build/sagemath-FTVAsu/sagemath-8.6~rc0/debian/build/usr"

(or a variant of it). This path does not exists since it is specific
to the build client. Any package or file depending on the value of SAGE_LOCAL
to find sage will break. This might be related to a bug I have with the
jupyter notebook that calls this path and fails.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-1-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-common depends on:
ii  python  2.7.15-3

sagemath-common recommends no packages.

sagemath-common suggests no packages.

-- no debconf information



More information about the debian-science-maintainers mailing list