[Lazarus] lazbuild build IDE profiles

waldo kitty wkitty42 at windstream.net
Wed Mar 21 03:13:04 CET 2012

On 3/20/2012 21:41, waldo kitty wrote:
> On 3/20/2012 18:26, Mattias Gaertner wrote:
>> Maybe some installed package.
>> Compile with -vut to find out.
> that would be added to the --build-ide= parameter? that's what i'm going to try
> right now... it takes "a while" to complete... will post back what it turns up...

here is an example of what i was talking about before with things being added 
and one of them missing a space... the last line below... it shows -dDEBUG and 
-dVERBOSE twice with the second -dVERBOSE missing a space when the -vut is taken 
from the --build-ide command line parms and then another -dDEBUG and -dVERBOSE 
is added a third time...

the command line is

lazbuild.exe --build-ide="-vut" --build-mode="debug ide"

Building Lazarus IDE with profile "Debug IDE"
TBuildManager.SetBuildTargetIDE OS=win32 CPU=i386 WS=win32
TFPCTargetConfigCache.NeedsUpdate compiler file changed 
"C:\freepascal\fpc\2.4.5\bin\i386-win32\fpc.exe" FileAge=1052875024 StoredAge=0
TFPCTargetConfigCache.Update C:\freepascal\fpc\2.4.5\bin\i386-win32\fpc.exe 
TargetOS=win32 TargetCPU=i386 CompilerOptions= 
Files\ATI Technologies\ATI Control Panel;C:\Program 
Files\TortoiseSVN\bin;C:\Program Files\GnuWin32\bin;
RunTool C:\freepascal\fpc\2.4.5\bin\i386-win32\fpc.exe -iTOTP -Pi386 -Twin32 
RunTool C:\freepascal\fpc\2.4.5\bin\i386-win32\fpc.exe -va -Pi386 -Twin32 
-FrC:\freepascal\laz\components\codetools\fpc.errore.msg compilertest.pas
TFPCTargetConfigCache.Update: has changed
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  No state file for FCL 1.0.1
[TExternalToolList.Run] CmdLine="C:\freepascal\fpc\2.4.5\bin\i386-win32\fpc.exe 
-B  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l 
-FUC:\freepascal\laz\packager\units\i386-win32\ -gw -gl -godwarfsets -gh -gt -Co 
-Cr -Ci -Sa -dDebug -dVerbose -dDebug -dVerbose-vut -dDebug -dVerbose 
fcllaz.pas" WorkDir="C:\freepascal\laz\packager\registration\"

this happens on all of the "[TExternalToolList.Run]" entries i quickly looked 

and here is the tail end of the above log...

"Clean Lazarus Source" completed
[TExternalToolList.Run] CmdLine="C:\freepascal\binutils\i386-win32\make.exe ide 
-w" WorkDir="C:\freepascal\laz\"
C:\freepascal\binutils\i386-win32\make.exe: Entering directory `C:/freepascal/laz'
C:/freepascal/binutils/i386-win32/make.exe -C ide ide
make.exe[1]: Entering directory `C:/freepascal/laz/ide'
../tools/svn2revisioninc.exe .. revision.inc
Created C:\freepascal\laz\ide\revision.inc for revision: 36180
C:/freepascal/binutils/i386-win32/make.exe --assume-new=lazarus.pp lazarus.exe 
OPT=' -WG -gw -gl -godwarfsets -gh -gt -Co -Cr -Ci -Sa -dDebug -dVerbose -dDebug 
-dVerbose-vut -dDebug -dVerbose 
make.exe[2]: Entering directory `C:/freepascal/laz/ide'
C:/freepascal/fpc/2.4.5/bin/i386-win32/fpc.exe -gl -dlclwin32 
-Fu../lcl/units/i386-win32 -Fu../lcl/units/i386-win32/win32 
-Fu../components/lazcontrols/lib/i386-win32/win32 -Fu../components/custom 
-Fu../ideintf/units/i386-win32/win32 -Fu../designer -Fu../debugger 
-Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames 
-Fu../packager/units/i386-win32 -Fu../units/i386-win32/win32 -Fuframes -Fu. 
-Fiinclude -Fiinclude/win32 -Fi../images -FE.. -FU../units/i386-win32/win32 -WG 
-gw -gl -godwarfsets -gh -gt -Co -Cr -Ci -Sa -dDebug -dVerbose -dDebug 
-dVerbose-vut -dDebug -dVerbose 
@C:\DOCUME~1\e3br42x1\LOCALS~1\APPLIC~1\lazarus\idemake.cfg -di386 lazarus.pp
Compiling Debug Version
Free Pascal Compiler version 2.4.5 [2011/06/01] for i386
Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Win32 for i386
Compiling lazarus.pp
Fatal: Can't find unit Interfaces used by Lazarus
TExternalToolList.Run Exception: C:\freepascal\laz\ide\lazarus.pp(1,1) Fatal: 
Can't find unit Interfaces used by Lazarus
ERROR: tool reported error

something is ganked... will try another run with the command line of

lazbuild.exe --build-ide=" -vut" --build-mode="debug ide"

note the space in the --build-ide portion... report in next post...

More information about the Lazarus mailing list