View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0036054||Lazarus||-||public||2019-09-07 00:41||2019-10-01 18:07|
|Reporter||John Shand||Assigned To||Juha Manninen|
|Status||resolved||Resolution||unable to reproduce|
|Platform||Linux 64bit||OS||Arch Linux|
|Summary||0036054: Fatal: Cannot find FPImage used by InterfaceBase of package LCLBase.|
Working Copy Root Path: /home/jshand/lazarus
Relative URL: ^/branches/fixes_2_0
Repository Root: https://svn.freepascal.org/svn/lazarus
Repository UUID: 4005530d-fff6-0310-9dd1-cebe43e6787f
Node Kind: directory
Last Changed Author: wp
Last Changed Rev: 61814
Last Changed Date: 2019-09-05 20:21:04 +1200 (Thu, 05 Sep 2019)
Working Copy Root Path: /home/jshand/fpc
Relative URL: ^/branches/fixes_3_2
Repository Root: https://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Node Kind: directory
Last Changed Author: marco
Last Changed Rev: 42922
Last Changed Date: 2019-09-06 00:17:22 +1200 (Fri, 06 Sep 2019)
|Steps To Reproduce||Run an application in the IDE|
|Tags||No tags attached.|
|Fixed in Revision|
Cannot confirm on Win 10 / 64 bit, fpc fixes r42922, Laz fixes r61822 (32 bit).
Did you do a clean rebuild of the IDE?
||yes i did do a fresh install. i have no idea where this came from.|
||(Last week fcl-image fixes were merged back to fixes)|
||unfortunately, this error only just started 2 or 3 days ago|
||Can you go back by one revision, first with Lazarus, then with FPC, to find out who's to blame?|
||how would i do this. when i do a download of wither fpc or lazarus with subversion, it gives me up to date files|
||You can update to a specific revision. Not 100% sure about the syntax (I work with tortoisesvn under Windows), try "svn up -r<number>", e.g. "svn up -r42913" for using the fpc-fixes revision before the one of this report, or "svn up -r61738" for laz-fixes (all commands without quotes).|
||I can NOT reproduce this issue. Not in 2.0.4 nor in an older 2.0.0|
this problem seems to have fixed itself. i installed a stable version of manjaro linux (which is based on arch). i set up everything as i normally would, and the problem went away.
how about others??
||OK, I'll assign this report to myself, keep it up for a few days and then resolve as "cannot reproduce".|
i have now run back into this problem again. i get this error in the Lazarus IDE:
Fatal: Cannot find FPImage used by InterfaceBase. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=/home/jshand/build/fpc/pkg/fpc/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-image/fpimage.ppu..
seems to me that this issue was because of the ppu file being in the wrong directory.
||You write in the Steps to reproduce: "Run an application in the IDE" - I interpret this as "Run any application" and always tested with an empty new project and did not see the error. Maybe this is not enough. Please post a minimal project which leads to the error. When the error cannot be reproduced it cannot be fixed.|
Here it is. i hope this helps.
bm.tar.gz (128,300 bytes)
Project compiles and runs fine here. But I am on Win10/64bit with 32 bit fpc and Laz. Can somebody confirm the issue on a system which is closer to that of John: Linux 64bit (Arch) w/ qt5, fixes for both fpc and laz.
John, did you try to update svn to an older version of fpc and laz (as described above) in order to pin-point the issue?
hi wp. yes i did try something earlier, i just used the stable version from manjaros repos 3.0.4 or 3.0.5 version before i used the fixes svn. same issue happened
Detaching myself. Wasted too many hours today trying to install Manjaro Linux into a VM.
Grrrrh... The new bugtracker software keeps the issue in the "Assigned" colors although nobody really is assigned... Juha, I know that you are a Manjaro expert, therefore, I assign the issue to you.
@wp: unassigning is not enough, you have to manually set status to e.g. "acknowledged".
IIRC this was also the case in the previous version of Mantis.
John Shand, such an error is pretty much always caused by having multiple .ppu files around, or having a single .ppu file compiled for a wrong target.
Here is the issue explained more thoroughly:
Especially having many FPC versions around at one time is tricky. I have understood the fpcupdeluxe app installs both FPC and Lazarus in a "sandbox", isolated from other versions.
It could solve your problems. Please test it.
I remember you have many bug reports about build errors. Some of them may have a similar root cause. Please ask build instructions in forum or mailing list.
BTW, I did not test yet with the exact same FPC/Lazarus versions as you have, because I am quite confident they don't cause the problem.
||i just created a new project to test it again. it seems to be a compiler debugger issue. i have left the default settings for my new project as is and it compiles without a problem. however, when i change settings in project options and make all debugging options true, turn off debug symbols and windows options, i get the above error|
||i always save all project info in the lpi file and always build project. still works ok|
turned off win32 gui option and got an access violation. i then went out of lazarus and started lazarus again. that error went away seemingly
left other target and configs as default
||changed the optimization level to 3. compiled fine.|
||went to debugging options and enabled all checks and assertions, turned off generate info for debugging. it then crashed for some reason with the same error above|
I tested with the same versions as you. No problems in compilation whatsoever.
As I wrote such errors are caused by mismatch in compiled .ppu files in your system.
Having many FPC versions around can be tricky. Thus I recommend fpcupdeluxe for you. Load the desired versions of both FPC and Lazarus using it and you are good to go.
Ask more information in forum.
|2019-09-07 00:41||John Shand||New Issue|
|2019-09-07 01:20||wp||Note Added: 0117965|
|2019-09-07 02:55||John Shand||Note Added: 0117966|
|2019-09-07 12:16||Marco van de Voort||Note Added: 0117967|
|2019-09-07 21:41||John Shand||Note Added: 0117978|
|2019-09-07 22:37||wp||Note Added: 0117979|
|2019-09-08 12:24||John Shand||Note Added: 0117989|
|2019-09-08 13:15||wp||Note Added: 0117992|
|2019-09-08 16:36||Thaddy de Koning||Note Added: 0117995|
|2019-09-09 13:20||John Shand||Note Added: 0118003|
|2019-09-09 16:01||wp||Note Added: 0118004|
|2019-09-09 16:01||wp||Assigned To||=> wp|
|2019-09-09 16:01||wp||Status||new => assigned|
|2019-09-10 03:12||John Shand||Note Added: 0118011|
|2019-09-10 17:38||wp||Note Added: 0118019|
|2019-09-10 23:15||John Shand||File Added: bm.tar.gz|
|2019-09-10 23:15||John Shand||Note Added: 0118024|
|2019-09-11 00:21||wp||Note Added: 0118028|
|2019-09-11 02:22||John Shand||Note Added: 0118029|
|2019-09-11 02:22||John Shand||Note Edited: 0118029||View Revisions|
|2019-09-11 18:40||wp||Note Added: 0118038|
|2019-09-11 18:40||wp||Assigned To||wp =>|
|2019-09-11 18:40||wp||Assigned To||=> wp|
|2019-09-11 18:40||wp||Assigned To||wp =>|
|2019-09-11 18:41||wp||Assigned To||=> Juha Manninen|
|2019-09-11 18:43||wp||Note Edited: 0118038||View Revisions|
|2019-09-11 18:59||Bart Broersma||Note Added: 0118040|
|2019-09-11 23:16||Juha Manninen||Note Added: 0118045|
|2019-09-11 23:28||Juha Manninen||Note Edited: 0118045||View Revisions|
|2019-09-14 11:32||John Shand||Note Added: 0118069|
|2019-09-14 11:38||John Shand||Note Added: 0118070|
|2019-09-14 11:41||John Shand||Note Added: 0118071|
|2019-09-14 11:41||John Shand||Note Edited: 0118071||View Revisions|
|2019-09-14 11:45||John Shand||Note Added: 0118072|
|2019-09-14 11:47||John Shand||Note Added: 0118073|
|2019-10-01 18:07||Juha Manninen||Status||assigned => resolved|
|2019-10-01 18:07||Juha Manninen||Resolution||open => unable to reproduce|
|2019-10-01 18:07||Juha Manninen||LazTarget||=> -|
|2019-10-01 18:07||Juha Manninen||Widgetset||QT5 => QT5|
|2019-10-01 18:07||Juha Manninen||Note Added: 0118236|