[Lazarus] Lazarus 2.2.6 on Raspberry Pi5B, error during build

Bo Berglund bo.berglund at gmail.com
Mon Dec 11 12:55:48 CET 2023


On Mon, 11 Dec 2023 07:49:25 +0300, Mehmet Erol Sanliturk via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>( 1 )
>
>Please notice statement 3 :
>
>1 unit UITypes
>2 {$IF FPC_FULLVERSION >= 30200}
>3 deprecated 'Use System.UITypes instead (available since FPC 3.2.0)';
>
>( 2 )
>
>Present form of this unit is defective :
>
>2 {$IF FPC_FULLVERSION >= 30200}
>... ( A )
>57 {$ELSE}
>... ( B )
>90 {$ENDIF}
>
>( A ) and ( B ) parts are determining different values for
>
>mrNone..mrLast
>
>and they are used in the part
>
>91
>...
>106
>
>part .
>
>
>91 ... 106 statements should be defined for each case
>
>in ( A ) and ( B ) parts separately when such a different limits occur .

Yes, I did notice that. But the code is inside the official Lazarus sources for
release 2.2.6 from gitlab, so I cannot do anything about it.

Furthermore, if I change the fpc version used to build Lazarus from the 3.2.2
created by compiling the official sources of fpc to a 3.2.2 version retrieved
via apt, then the error goes away without changing the Lazarus sources.
It is still there in the file but with the apt retrieved compiler is does not
trigger the error even though building from the same sources....

Sigh,
I don't have the knowledge to dig deeper into this so I will keep using the fpc
retrieved via apt instead of building from sources even though that pollutes my
system with files outside of $HOME.

And this problem only happens on the 64 bit arm system...


-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list