[Pkg-pascal-devel] Bug#813452: Bug#813452: fpc-3.0 regression in armhf and armel architectures

Abou Al Montacir abou.almontacir at sfr.fr
Fri Feb 5 08:17:10 UTC 2016


Hi Gianfranco,
Glad to support such nice game as hedgewars.
On Tue, 2016-02-02 at 08:09 +0000, Gianfranco Costamagna wrote:
> Source: fpc
> Version: 3.0.0+dfsg-2
> Severity: serious
> 
> Hi, I open this ticket to discuss with you the regression I found on armel and armhf platforms
> in my hedgewars upload yesterday.
> 

Was not aware that hedgewars was build depending on FPC. Nice to know so that
next time we can test before uploading a major release.
> I checked in a stretch clean pbuilder environment (both logs are attached), and the testsuite runs correctly,
> the only sensible change has been the fpc upgrade, and this is the reason for this bug report.
> 
> Test project /build/hedgewars-0.9.22-dfsg/obj-arm-linux-gnueabihf
> Start 1: drillrockets_drill.lua
> 1/6 Test #1: drillrockets_drill.lua ...........***Failed    0.92 sec
> An unhandled exception occurred at $000C0300:
> EInOutError: File not open
> $000C0300  WriteLn,  line 467 of /build/hedgewars-0.9.22-dfsg/hedgewars/uUtils.pas
> 

Fine not open? Are you sure the Reset/ReWrite/... open function did not return
an error? Maybe check IoResult after opening the file.
Anyway this is strange as it would not worked before unless the OS backend open
function use is not the same as in previous version.
Can you please provide code snippet about when the file was open, which mode and
so on?
> the strange thing is that the affected line seems rather simple:
> procedure WriteLn(var f: textfile; s: shortstring);
> begin
> system.writeln(f, s)
> end;
> 

I'm almost sure this is not the faulty code, but something before that made the
file not correctly open.
> and the testsuite works perfectly on every other architecture, so I presume this is an fpc specific regression.
> (I can also ask to remove the hedgewars arm* architectures if needed)
I don't think we should remove any package form any arch, just be patient and
fix the bug.
-- 
Cheers,
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20160205/61f7d113/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20160205/61f7d113/attachment-0001.sig>


More information about the Pkg-pascal-devel mailing list