Closed prof7bit closed 3 years ago
Warning: [TPCTargetConfigCache.Update] cannot determine type of compiler: Compiler="/usr/bin/make"RealCompiler="/home/bernd/fpcupdeluxe/fpc/bin/x86_64-linux/ppcx64" missing FPC_FULLVERSION
The above a very strange messages. I cannot determine what went wrong with your setup. Is this problem still current ?
There is this strange entry in my config_lazarus/fpcdefines.xml
<Item3 HasPPUs="False">
<Compiler File="/usr/bin/make" Options="-Fr/home/bernd/fpcupdeluxe/lazarus/components/codetools/fpc.errore.msg" Date="1532772451"/>
<RealCompiler File="/usr/local/lib/fpc/3.0.3/ppcx64" Date="1522667467" OS="Ungültige" CPU="Option" InPath="/usr/local/lib/fpc/3.0.3/ppcx64" FullVersion="/usr/bin/make:"/>
</Item3>
I can remember having been playing around with some cross compilers recently and also having problems removing one of them, but I can't remember which one and have no idea where this entry comes from.
I'm going to try to remove this entry and then try again. I will report whether it has worked.
I removed the item (and renumbered all following and reduced also the total count) but the error is still there. And astonishingly also the complaint about Compiler="/usr/bin/make" although I cannot find anything to this effect in any file in the entire folder anymore.
Found it!
In the file config_lazarus/miscellaneousoptions.xml there was the default build options for Lazarus
<IdeBuildMode Value="Clean All + Build"/>
In another very fresh and unused installation where fpcupdeluxe works flawlessly this same setting was
<IdeBuildMode Value="Build"/>
I found it by replacing file after file from the working to the broken installation until I identified the offending file and then went through with meld to merge line after line until it started working. This is probably a bug in lazbuild.
I am closing this bug.
And it continues happening nowadays. I've tried to update Lazarus and got the same error... I searched and found this thread. It looks like BuildMode should be "Normal IDE", otherwise it won't compile.
It has been working for half a year, now I didn't use it for 2 months and today I want to update (fixes branches as usual) and it fails with Lazarus. I even deleted the entire lazaurs source folder and tried again, it still fails.
What can I do to help debugging this?