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

Bo Berglund bo.berglund at gmail.com
Sun Dec 10 23:48:54 CET 2023


On Sun, 10 Dec 2023 20:01:15 +0300, Maxim Ganetsky via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>> So I am using the self-compiled fpc 3.2.3 to build Lazarus 2.2.6 and it fails
>> during build with the following exit message (only end of output shown):
>This combination of FPC and Lazarus won't work. You should use head 
>revisions of Lazarus from `fixes_3_0` or `main` branches  if you want 
>use FPC 3.2.3 and up.

Well, the failed test *was* with FPC compiled from sources with last change date
on github a week ago, i.e. head I believe...

I have not been able to build anything else on this 64 bit machine.

But I gave up and used apt to install fpc 3.2.2:
sudo apt install fpc

After removing the symlinks to the self-compiled fpc version I could use the apt
retrieved compiler and then Lazarus built to the end and is now running fine.

But going forward I don't know how to handle future upgrades to the compiler.
Will Lazarus complain if I get the next version of fpc to my system via a normal
update/upgrade cycle? Since it is done by apt it may well change in the future
without me noting.

Or do I have to reconfigure something at that time?


-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list