[Pkg-pascal-devel] Castle Game Engine build failure on armel.

Michalis Kamburelis michalis.kambi at gmail.com
Sun Nov 7 00:41:24 GMT 2021


I see it fails at

  TTestGame Time:00.136 N:1 E:1 F:0 I:0
    00.028  TestGameData  Error: EAssertionFailed
      Exception:   Assertion failed (castledebugtransform.pas, line 504)
      at   $00CB1A14  TDEBUGTRANSFORMBOX__DESTROY,  line 454 of
/<<PKGBUILDDIR>>/src/game/castledebugtransform.pas

The referenced assertion is at
https://github.com/castle-engine/castle-engine/blob/631ecfe85ccb4f6b05e8a5da8a93bdb06ed36fea/src/game/castledebugtransform.pas#L504
.

Unfortunately I have no idea what is the culprit. This same assertion,
and the whole testcase, works on the systems where I test (including
Linux/x86_64, Linux/i386, Linux/Arm -- the latter on Raspberry Pi). It
is tempting to suspect that this is FPC bug, although that's weak when
I didn't do any investigation.

The latest CGE master has this assertion (and this testcase) too, so
it likely still fails. The old CGE 6.4 had a very different
castledebugtransform.pas unit, so it likely avoided the problem by
accident.

My simplest suggestion would be to remove armel from supported
architectures. I do not have access to Linux/armel machine, so I do
not regularly test CGE on it. I could get access to it (I recall
Debian gave me temporary access to such machine in the past, for the
purpose of testing CGE). But

- Due to lack of regular testing, in a few months I could break something again.

- I do not want this to block CGE from migrating to Debian testing on
more popular architectures.

I do not think that CGE, combined with armel, is popular enough to
make it matter. (Though I'm eager to hear from some CGE user on armel
to say that I'm wrong :) ).

Regards,
Michalis




sob., 6 lis 2021 o 15:39 Abou Al Montacir <abou.almontacir at sfr.fr> napisał(a):
>
> Hi Michalis and All,
>
> CGE is blocked from migration to testing due to a failure to build on armel.
> CGE used to build correctly on armel, but 7.0-alpha fails. Please refer to build logs in [1] for errors.
>
> [1] https://buildd.debian.org/status/fetch.php?pkg=castle-game-engine&arch=armel&ver=7.0~alpha.1%2Bdfsg-3&stamp=1635795478&raw=0
>
> --
>
> Cheers,
> Abou Al Montacir
>
> _______________________________________________
> Pkg-pascal-devel mailing list
> Pkg-pascal-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-pascal-devel



More information about the Pkg-pascal-devel mailing list