View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0035254||Lazarus||IDE||public||2019-03-21 09:38||2019-07-08 22:06|
|Reporter||Julian Puhl||Assigned To||Joost van der Sluis|
|Product Version||2.1 (SVN)||Product Build||60740|
|Target Version||Fixed in Version|
|Summary||0035254: Always getting "the Fppkg configuration is corrupt" setup dialog|
|Description||Since the last fpc package changes I always get this error. My fpc is located at E:\Coding\fpc_svn|
The source is located at E:\Coding\fpc_svn\source and make installs to E:\Coding\fpc_svn. Every time I have to select E:\Coding\fpc_svn and then can run Lazarus. The default path which is shown is E:\Coding. I have no idea what broke this. It worked for years.
|Tags||No tags attached.|
|Fixed in Revision|
With the recent changes I am always getting the error:
"Warning: Failed to retrieve the version of the fpcmkcfg configuration tool. It is probably too old to create the configuration files. Make sure a recent version is installed and available in the path or alongside the compiler-executable."
But the mentioned tool supports -V and is current fpc trunk build. fpcmkcfg -V outputs "Version: 3.3.1".
I am unable to launch Lazarus anymore.
At some point in time it tested it version was above 3.3.1.
AFAIK it was resolved in trunk.
With a fresh checkout from this morning (both fpc and lazarus) it shows a correct fppkg.cfg path, I can launch lazarus and everything works. I get this message for each launch, though:
Fehler: there is a problem with the Fppkg configuration. (Fppkg reports that the RTL is not installed.)
You could try to restore the configuration files automatically, or adapt the configuration file manually."
If I select "Restore Fppkg configuration" I still am getting the same error as in my initial report.
I'll try to debug and see what is happening here.
Also I see a problem with the fppkg.cfg path: I do have multiple fpc versions installed. E.g. 3.0.4 for the initial compilation step of the fpc svn version. But this probably is the wrong place to discuss that.
||I narrowed it down to "FindDefaultExecutablePath" which gets called by "FindFPCTool". The FPC 3.0.4 installation seems to have added its path to the windows environment "Path" variable. So every time "FindDefaultExecutablePath" returned the wrong path of the old fpc version. Now that I have removed the entry from the "Path" environment variable it works. This should probably get fixed?|
||FindFPCTool should use the path of the compiler that is configured in Lazarus? Doesn't it do that?|
|2019-03-21 09:38||Julian Puhl||New Issue|
|2019-04-11 09:38||Julian Puhl||Note Added: 0115419|
|2019-04-11 09:40||Julian Puhl||Note Edited: 0115419||View Revisions|
|2019-04-11 18:06||Bart Broersma||Note Added: 0115429|
|2019-04-11 18:06||Bart Broersma||Assigned To||=> Joost van der Sluis|
|2019-04-11 18:06||Bart Broersma||Status||new => assigned|
|2019-04-19 11:29||Julian Puhl||Note Added: 0115670|
|2019-04-19 13:27||Julian Puhl||Note Added: 0115671|
|2019-07-08 22:06||Joost van der Sluis||Note Added: 0117117|