<html><head></head><body><div>Hi Gianfranco,</div><div><br></div><div>Glad to support such nice game as hedgewars.</div><div><br></div><div>On Tue, 2016-02-02 at 08:09 +0000, Gianfranco Costamagna wrote:</div><blockquote type="cite"><pre>Source: fpc
Version: 3.0.0+dfsg-2
Severity: serious
</pre></blockquote><blockquote type="cite"><pre>

Hi, I open this ticket to discuss with you the regression I found on armel and armhf platforms
in my hedgewars upload yesterday.
</pre></blockquote><div>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.</div><blockquote type="cite"><pre>
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
</pre></blockquote><div>Fine not open? Are you sure the Reset/ReWrite/... open function did not return an error? Maybe check IoResult after opening the file.</div><div>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.</div><div>Can you please provide code snippet about when the file was open, which mode and so on?</div><blockquote type="cite"><pre>
the strange thing is that the affected line seems rather simple:
procedure WriteLn(var f: textfile; s: shortstring);
begin
system.writeln(f, s)
end;
</pre></blockquote><div>I'm almost sure this is not the faulty code, but something before that made the file not correctly open.</div><blockquote type="cite"><pre>
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)<br></pre></blockquote><div>I don't think we should remove any package form any arch, just be patient and fix the bug.</div><pre>-- 
Cheers,
Abou Al Montacir</pre></body></html>