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

Jerome BENOIT calculus at rezozer.net
Sat Feb 12 11:38:02 GMT 2022


Hello,

I have just tried to reproduce the issue in a current Sid environment (schroot).
But it appears that I can not install sagemath because there is a issue
with sagemath-common .

Otherwise, the sage team has recently rename singular.hlp to singular.info .
So I guess that you are dealing with an old singular version.
Second, I actually put singular.info not in /usr/share/info but in /usr/share/doc/singular .
This is because Debian policy requires info files to be compressed while on the other hand
singular cannot read compressed info files.

Cheers,
Jerome

On 12/02/2022 12:12, Tobias Hansen wrote:
> 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
> 
> 
> _______________________________________________
> 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
> 

-- 
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calculus@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 1533 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-sagemath/attachments/20220212/bb8b610b/attachment.sig>


More information about the Debian-science-sagemath mailing list