[Lazarus] disable package checking

Benito van der Zander benito at benibela.de
Wed Apr 11 14:34:33 CEST 2012


> What Lazarus version do you use?
r36661


> What reason is given for the recompile?

Target: FCL 1.0.1
Build needed.
File: /opt/lazarus/packager/registration/fcl.lpk
Note: FPC unit "/home/benito/hg/components/pascal/data/pseudoxpath.pas" 
is newer than state file of FCL:
   unit age=04/11/12 02:23:34 PM
   state file age=04/11/12 02:18:35 PM


Target: LazUtils 1.0
No build needed.
File: /opt/lazarus/components/lazutils/lazutils.lpk

Target: LCLBase 1.0.1
No build needed.
File: /opt/lazarus/lcl/lclbase.lpk

Target: LCL 1.0.1
No build needed.
File: /opt/lazarus/lcl/interfaces/lcl.lpk

Target: Project
Build needed.
File: 
/home/benito/hg/components/pascal/data/examples/htmlparserExampleGUI.lpi
Note: State file 
"/home/benito/hg/components/pascal/data/examples/htmlparserExampleGUI.compiled" 
of Project is missing.



What is pseudoxpath.pas doing there? That's one of my project files.

Actually, looking in the Code Browser, it seems all my project files are 
listed in the FCL package!

Why could that happen?
I have the paths as -Fu options in fpc.cfg; does it read the fpc.cfg and 
add all files it finds from there to the fcl package?




Benito

On 04/11/12 10:48, Mattias Gaertner wrote:
> On Wed, 11 Apr 2012 01:47:54 +0200
> Benito van der Zander<benito at benibela.de>  wrote:
>
>> Hi,
>> whenever I compile a project, it first compiles/checks the dependencies:
>>
>> "Compiling package FCL 1.0.1" completed
>> "Compiling package LazUtils 1.0" completed
>> "Compiling package LCLBase 1.0.1" completed
>> "Compiling package LCL 1.0.1" completed
> It should not compile everytime. It should only check and see that
> everything is up to date.
> What Lazarus version do you use?
> With current trunk you can see the reason in View / IDE internals / What
> needs building. With former versions you must look at the stdout, as
> you have already done. What reason is given for the recompile?
>
>
>> Can you disable it somehow?
>> It takes forever (2s) and it is almost certain that the lcl doesn't
>> change every minute.
>> (It also prints "TPkgManager.CheckCompileNeedDueToDependencies  State
>> file of LCL 1.0.1 is newer than state file of Project:" to the console,
>> and after i deleted the .compiled file it prints
>> "TProject.DoLoadStateFile Statefile not found: ....compiled,
>> TMainIDE.CheckIfPackageNeedsCompilation  No state file for Project"
>> shouldn't it recreate the file? even if the project compilation fails
>> due to errors)
> Yes.
> I changed it to now save the state file before compiling too to
> avoid building clean (-B) every time.
> This has no effect on compiling packages.
>
> Mattias
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




More information about the Lazarus mailing list