<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have made this update to the gfan svn.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Anders<br>
</div>
<div>
<div><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0);">
<br>
<hr tabindex="-1" style="display:inline-block; width:98%;">
<b>Fra:</b> Torrance, Douglas<br>
<b>Sendt:</b> Fredag 19 November 2021 11:32<br>
<b>Til:</b> 950008@bugs.debian.org<br>
<b>Cc:</b> Anders Nedergaard Jensen; debian-science-sagemath@alioth-lists.debian.net<br>
<b>Emne:</b> Re: Sv: Bug#950008: gfan: assertion fails on riscv64
<div><br>
</div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On Tue, 9 Nov 2021 01:13:25 +0000 "Torrance, Douglas" <dtorrance@piedmont.edu> wrote:<br>
> On Tue, 28 Jan 2020 13:28:02 +0000 Anders Nedergaard Jensen <jensen@math.au.dk> wrote:<br>
> > Thanks for the bug report.<br>
> > Line 30 of application.cpp looks suspicious:<br>
> > while(p[l]!=0 && p[l]!='/');<br>
> > Does it help to change it to<br>
> > while(l!=0 && p[l]!='/');<br>
> > ?<br>
> > If not, I think I need to know what the char* argv[0] points to when main is called.<br>
> <br>
> I included a slight modification of this patch (with "l >= 0" instead of<br>
> "l != 0") in the latest gfan upload (0.6.2-5). Fingers crossed that it<br>
> fixes things on riscv64!<br>
<br>
This patch (attached) appears to have worked! The most recent build of<br>
Macaulay2 on riscv64 [1], while failing for other reasons, got past the gfan<br>
detection stage:<br>
<br>
checking whether the package gfan is installed... yes<br>
<br>
I'll wait to see if it works for the next riscv64 build of Sage before<br>
closing this bug.<br>
<br>
Doug<br>
<br>
[1] <a href="https://buildd.debian.org/status/fetch.php?pkg=macaulay2&arch=riscv64&ver=1.19%2Bds-1&stamp=1637315650&raw=0" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable">
https://buildd.debian.org/status/fetch.php?pkg=macaulay2&arch=riscv64&ver=1.19%2Bds-1&stamp=1637315650&raw=0</a><br>
</div>
</span></font></div>
</div>
</body>
</html>