[Debian-science-sagemath] charpoly
Jerome BENOIT
calculus at rezozer.net
Sun Nov 20 00:54:29 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 19/11/16 18:37, Jerome BENOIT wrote:
> Hello,
>
> On 19/11/16 17:43, Bill Allombert wrote:
>> On Sat, Nov 19, 2016 at 05:18:37AM +0000, Jerome BENOIT wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA512
>>>
>>> Hello Forum,
>>>
>>> as a matter of fact, discarding the patch <GAP>/debian/patches/fix-compressed-six-files
>>> fixes the doctests failures related to gap (and libgap).
>>>
>>> I have just uploaded un unpatched version of gap at the deb-sci-sage repository:
>>> please double check !
>
>> Hello Jerome,
>> If I remove fix-compressed-six-files and rebuild the packages, then GAP
>> is unable to read compressed old-style .six files.
>
>> For example install gap-alnuth and do
>> ?FieldByMatrices
>
> Indeed, I can reproduce this issue on two distinct schroots, one with the patch applied and one without it.
>
>
>> With the patch fix-compressed-six-files applied, I get
>> gap> ?FieldByMatrices
>> Help: several entries match this topic - type ?2 to get match [2]
>
>> [1] Alnuth: FieldByMatrices
>> [2] Alnuth: FieldByMatricesNC
>
>> With the patch removed fix-compressed-six-files, I get
>
>> gap> ?FieldByMatrices
>> Help: no matching entry found
>> Help: 'FieldByMatrices' is currently undocumented.
>> For details, try ?Undocumented Variables
>
>> which is wrong.
What I meant is that I can reproduce this results.
>
>> New-style .six files start by a comment lines so are not affected by the
>> upstream gap bug (which cause the first line to be lost, because rewind
>> does not work on pipe).
>
First the issue on Sage also occurs for the new format (#SIXFORMAT ....).
In fact, it occurs only when the manual.six is compressed: if, for debugging purpose,
each installed compressed manual.six is uncompressed, the doctests involving compressed manual.six
become successful.
So the issue seems also related to the patch fix-gzip-stringfile which was integrated in the last version of GAP.
In the header of the patch, we read: `We use pipes for reading gzipped files'.
What leads me to the question: why we do not use zlib instead ?
I have also noticed that Sage[Math] works in GAP `-p' mode, what is a bit confusing for me now.
>> So it seems to me you need to apply fix-compressed-six-files to libgap
>> also.
>
> The path fix-compressed-six-files does not affect libgap since it patchs only a GAP Include file,
> more precisely <GAP>/lib/helpbase.gi , while libgap deals with none of them.
> libgap only deals with the file in <GAP>/src [1,2]
> Second, the patches that deal with the material in <GAP>/src are applied [3].
>
> [1] http://sources.debian.net/src/libgap-sage/4.8.6%2B3%2B20160327g69a66f0%2Bdsx-1/debian/get-orig-source.sh/
> [2] http://sources.debian.net/src/libgap-sage/4.8.6%2B3%2B20160327g69a66f0%2Bdsx-1/debian/rules/
> [3] http://sources.debian.net/src/libgap-sage/4.8.6%2B3%2B20160327g69a66f0%2Bdsx-1/debian/patches/series/ (the two first ones)
>
> So now, I think that the patch fix-compressed-six-files might be improved.
>
> But before, we must find a way to reproduce in `pure' GAP the issue effectively observed within Sage.
>
> Thanks,
> Jerome
Thanks,
Jerome
>
>
>
>> Cheers,
>> Bill.
>
>
>
> _______________________________________________
> Debian-science-sagemath mailing list
> Debian-science-sagemath at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/debian-science-sagemath
>
-----BEGIN PGP SIGNATURE-----
iQQcBAEBCgAGBQJYMPRFAAoJED+SGaZ/NsaL68QgAKbzIztmMFqDhkYOjnckwTfz
G++uXy/DdOn8U/AAk2z3grz/I9pwIkJakyhr6mq4Q7TS6fjmvMl0xkTXxmkHWllU
l2NbWMFx0sLwTlM0PrTGx4fPoZgGxAT10OmiFv7ORHacaepQIR9iU6awRlL56/Hq
JzFxz3bonn/fbhDNArndTl2LWfHPE/i8Jj2TOe6R8jNI43bG+/DdlWIwSPJ9XTtJ
qc63yrs3UZuLEVSE2MZDIlCnCCIrTtvZsn3/5zd3CngMA15VDRB5yFeTAkQWl3K+
z+1wrfY0JMBEhXph1Wo5a9iU33F9ImMfnSjjM+BJ4hDsD9jlInhlOE75KhH44jMN
XDTi6G3OCnwlyRUlAeRxAgsTr7BsDQv2WKj1SxSHbZKTLGNVETLfEBiwqdA0KwOB
LcdWmzMFo0ib87XSV6+G4zTNsnkCjVfpM6MCcQwfQrpuyg11xh9U+0z2E3XUjPF0
Sfy15fh+SmfI/T/+eR8gTnNTqWmQMbuj6aUDLqab2Avs2BUruttJ6KXCDMH55DEQ
atNo0dLXy93OeLbsigAaxeSkCq6/KJscQJx7y48SLt/lPl1nwuAq9RPYxF7fZcBm
BeTLyiim669E8KVnzkoWOT9AKtAst6xK75ePnMBB9NQR8A3aomcBscIMwD35aiRc
RusxyFVeFk6wJREv7s5SPnStTMqR58Ho7h9ZAlGyGkuBAzFpNLN4YQlbXOm8VQ4S
u+U/Uwc/278bhvIli8OvXm+PjgAow86UhJhVZdhRAYJEtkQku/vOvTdHsR9zhOAS
JD/q/7IxCg94BGqZ3HqzOfpjDkU4iwglRFlOpS25OABqMDB9LwdmVqvhLwlflEkE
ulncRrEVIM2yFY4N/0Ye9HHnCDBt4LNvjuVmoDX9pMtiOb6l/2GbLUXcer4uFMWL
YYxJ1kWut9mO5+CwvvLFluvZZt1hLRi+xbisQS1/X27iYVQQolDFs+yGV+leyuFe
Ov3PvaGirqwzuv8Oc4dIUDJdrj6sHrIHSOzryuzQcTf7nD+cN1gFGu4jS2X/zOTd
Ioa8jnnQCw/gmt1Z0TLJyf+HmFv1at+FKuV/0CyRoWQ3i/4vLgEy+3iNL796/+Ks
HTXIvxP1RJZbhKpHnRt1fVa4Aj2pFlRUKjCL4qLpL62DqTXo0mBwLz36Sm6Bgd9l
ejIJQ2E/HUw914oGrUY7ZLQjbK6q/EGCle5aQJxQgU03Yz2L035i9LULgt3YsRm0
gToWoyrqvqH32IFRcvNw6LFpulsVO7AsM5hfSUHhKZMknNptgNdz852sDdWbZSLM
jmO1sjqG/NFIShI4VTm7F23liauFWKy3XvQiE413NfzYtmeZwX8sJUNeCyrt+so=
=qrJI
-----END PGP SIGNATURE-----
More information about the Debian-science-sagemath
mailing list