[Debian-science-sagemath] using Debian Singular in latest Sage beta ?

Dima Pasechnik dimpase at gmail.com
Sat Feb 12 12:01:25 GMT 2022


On Sat, Feb 12, 2022 at 11:33 AM Dima Pasechnik <dimpase at gmail.com> wrote:
>
> On Sat, Feb 12, 2022 at 11:12 AM Tobias Hansen <thansen at debian.org> wrote:
>
> > looks like https://bugs.debian.org/1001806
> > which should have been fixed in singular 1:4.2.1-p2+ds-6.
> >
> > Ubuntu jammy should have 1:4.2.1-p3+ds-1 with the fix, do you have that version installed?
> So far I tested my Sage patch with 4.1.1 in Debian 11 only.
> I'll see whether in Jammy it's fixed (perhaps I forgot to install singular-doc)

nope, this version does not work either:

root at 81be64be03b7:/sage# apt install singular-doc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
singular-doc is already the newest version (1:4.2.1-p3+ds-1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
root at 81be64be03b7:/sage# apt install singular-doc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
singular-doc is already the newest version (1:4.2.1-p3+ds-1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
root at 81be64be03b7:/sage# Singular
                     SINGULAR                                 /  Development
 A Computer Algebra System for Polynomial Computations       /   version 4.2.1
                                                           0<
 by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann     \   May 2021
FB Mathematik der Universitaet, D-67653 Kaiserslautern        \
Debian 1:4.2.1-p3+ds-1
> help;
// ** Displaying help in browser 'dummy'.
// ** Use 'system("--browser", <browser>);' to change browser,
// ** where <browser> can be: "dummy", "emacs".
   ? No functioning help browser available.
   ? error occurred in or before STDIN line 1: `help;`
>
Auf Wiedersehen.
root at 81be64be03b7:/sage# uname -a
Linux 81be64be03b7 5.10.76-linuxkit #1 SMP Mon Nov 8 10:21:19 UTC 2021
x86_64 x86_64 x86_64 GNU/Linux

(this is Ubuntu Jammy in a docker container)

It is probably Ubuntu's own bug - I don't see where singular.hlp or
singular.info is located.
Do you know where to report it?

Dima





>
> >
> > Note that SINGULAR_INFO_FILE is a configure variable for singular, i.e. only used at singular build time.
> Not really, (lib)Singular is perfectly capable to use it at runtime.
>
> Dima
>
> >
> > Best,
> > Tobias
> >
> >
> >
> > On 2/12/22 10:43, Dima Pasechnik wrote:
> > > Hi,
> > > I am working on https://trac.sagemath.org/ticket/32789
> > > and found that the path to singular.hlp in Debian being problematic:
> > >
> > > sage: from sage.libs.singular.singular import get_resource
> > > sage: get_resource('i')
> > > // ** Could not get 'InfoFile'.
> > > // ** Either set environment variable 'SINGULAR_INFO_FILE' to 'InfoFile',
> > > // ** or make sure that 'InfoFile' is at "/usr/bin/../share/info/singular.hlp"
> > >
> > > (this is both in Debian 11 with Singular 4.1.1, and in Ubuntu Jammy
> > > with Singular 4.2.1)
> > >
> > > While this can be remedied by setting SINGULAR_INFO_FILE,
> > > I wonder how Debian Sage deals with is. In particular, I see that Singular
> > > executable is only able to find singular.hlp if SINGULAR_INFO_FILE
> > > is set, otherwise one sees
> > >
> > >> help;
> > > // ** Displaying help in browser 'dummy'.
> > > // ** Use 'system("--browser", <browser>);' to change browser,
> > > // ** where <browser> can be: "dummy", "emacs".
> > >    ? No functioning help browser available.
> > >
> > > as opposed to
> > >
> > >> help;
> > > // ** Displaying help in browser 'builtin'.
> > > // ** Use 'system("--browser", <browser>);' to change browser,
> > > // ** where <browser> can be: "builtin", "dummy", "emacs".
> > > HELP >>Top>>
> > >
> > > File: singular.hlp,  Node: Top,  Next: Preface,  Prev: (dir),  Up: (dir)
> > >
> > >                               *SINGULAR*
> > > ...
> > >
> > >
> > > This actually looks like a bug in Singular Debian package(s).
> > >
> > > Thanks
> > > Dima
> > >
> > > _______________________________________________
> > > Debian-science-sagemath mailing list
> > > Debian-science-sagemath at alioth-lists.debian.net
> > > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-sagemath
> >
> >
> > _______________________________________________
> > Debian-science-sagemath mailing list
> > Debian-science-sagemath at alioth-lists.debian.net
> > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-sagemath



More information about the Debian-science-sagemath mailing list