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

Tobias Hansen thansen at debian.org
Sat Feb 12 11:12:37 GMT 2022


Hi Dima,

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?

Note that SINGULAR_INFO_FILE is a configure variable for singular, i.e. only used at singular build time.

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




More information about the Debian-science-sagemath mailing list