[Debian-science-sagemath] Bug#950008: gfan: assertion fails on riscv64

Torrance, Douglas dtorrance at piedmont.edu
Fri Nov 19 10:32:13 GMT 2021


On Tue, 9 Nov 2021 01:13:25 +0000 "Torrance, Douglas" <dtorrance at piedmont.edu> wrote:
> On Tue, 28 Jan 2020 13:28:02 +0000 Anders Nedergaard Jensen <jensen at math.au.dk> wrote:
> > Thanks for the bug report.
> > Line 30 of application.cpp looks suspicious:
> >   while(p[l]!=0 && p[l]!='/');
> > Does it help to change it to
> >   while(l!=0 && p[l]!='/');
> > ?
> > If not, I think I need to know what the char* argv[0] points to when main is  called.
> 
> I included a slight modification of this patch (with "l >= 0" instead of
> "l != 0") in the latest gfan upload (0.6.2-5).  Fingers crossed that it
> fixes things on riscv64!

This patch (attached) appears to have worked!  The most recent build of
Macaulay2 on riscv64 [1], while failing for other reasons, got past the gfan
detection stage:

    checking whether the package gfan is installed... yes

I'll wait to see if it works for the next riscv64 build of Sage before
closing this bug.

Doug

[1] https://buildd.debian.org/status/fetch.php?pkg=macaulay2&arch=riscv64&ver=1.19%2Bds-1&stamp=1637315650&raw=0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: find-name.patch
Type: text/x-diff
Size: 418 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-sagemath/attachments/20211119/155c1f67/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 866 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-sagemath/attachments/20211119/155c1f67/attachment.sig>


More information about the Debian-science-sagemath mailing list