Recent

Author Topic: "Clean up and build" deleted lfm files  (Read 1785 times)

winni

  • Hero Member
  • *****
  • Posts: 3197
"Clean up and build" deleted lfm files
« on: July 12, 2020, 06:51:55 pm »
Hi!

Just made a "Clean up and Build".
The compiler complained about some lfm files missing.
All from the directory ideintf/units/x86_64-linux/gtk2
They were deleted.

stringspropeditdlg.lfm
keyvalpropeditdlg.lfm
imagelisteditor.lfm

and some more.

What the heck happened?

I can reproduce this error.

Winni

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
Re: "Clean up and build" deleted lfm files
« Reply #1 on: July 12, 2020, 07:38:28 pm »
Just made a "Clean up and Build".
The compiler complained about some lfm files missing.
All from the directory ideintf/units/x86_64-linux/gtk2
Those are not master LFM files. They are copied for the compiler into the units output directory. The master files are in the ideintf source directory.
I have no idea what causes the error. Usually it works smoothly without user interaction.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: "Clean up and build" deleted lfm files
« Reply #2 on: July 12, 2020, 08:08:55 pm »
Thanks Juha

The situation is even more strange:

The deleted files were all links to the master file - as I detected now.

?????

Winni

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
Re: "Clean up and build" deleted lfm files
« Reply #3 on: July 12, 2020, 09:28:27 pm »
The deleted files were all links to the master file - as I detected now.
Like Unix symbolic links? Strange. Here they are just copied.

Hmmm ... did you try to "Clean up and Build" the Lazarus project (lazarus.lpi) itself?
It does not work. It is not a "normal" project and can be used just for debugging the IDE.
Lazarus must be rebuilt from Tools -> Configure "Build Lazarus" window.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: "Clean up and build" deleted lfm files
« Reply #4 on: July 12, 2020, 09:36:37 pm »
Hi Juha!

Yes, just normal Linux links like

Code: Bash  [Select][+][-]
  1. stringspropeditdlg.lfm -> ../../../stringspropeditdlg.lfm

Just deleted!

No, I know that Lazarus itself has to be compiled through another way.
It was was just a "normal" programm with two forms and 5 units - not even big stuff  .

Still wondering .

Winni

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
Re: "Clean up and build" deleted lfm files
« Reply #5 on: July 12, 2020, 09:58:36 pm »
It was was just a "normal" programm with two forms and 5 units - not even big stuff  .
Does your project have dependency for IdeIntf package? It should not need it. IdeIntf is needed only for IDE plugin packages which are compiled into the IDE.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: "Clean up and build" deleted lfm files
« Reply #6 on: July 12, 2020, 10:13:27 pm »
It was was just a "normal" programm with two forms and 5 units - not even big stuff  .
Does your project have dependency for IdeIntf package? It should not need it. IdeIntf is needed only for IDE plugin packages which are compiled into the IDE.

No - it has not. All that normal stuff.

Dependencies in the Object Inspector are only LCL and BGRABitmapPack

Winni




JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
Re: "Clean up and build" deleted lfm files
« Reply #7 on: July 12, 2020, 10:44:51 pm »
No - it has not. All that normal stuff.
Dependencies in the Object Inspector are only LCL and BGRABitmapPack
Why does the IDE try to compile IdeIntf then? Makes no sense. Something is wrong in the project or in Lazarus installation.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: "Clean up and build" deleted lfm files
« Reply #8 on: July 12, 2020, 10:48:50 pm »
Hi Juha!

Yes - there must be something wrong in the project.
Meanwhile i made the "Clean and Build" to 3 small and one big project:
No problems.

I'll investigate that project in detail.

Thanx
Winni

 

TinyPortal © 2005-2018