Today I ran into the same error, so I made some tests... The fixes (1.4*) branch can be compiled with lazbuild and from the ide itself without error. Trunk (1.5) version of Lazarus IDE builds itself successfully with a lot of "duplicate unit" warnings (did not appear some days before). Trunk version of LazBuild generates the following output and fails: (the home path is replaced with ~ symbol to short this log)
---- BEGIN ---- SetPrimaryConfigPath NewValue="~/.lazarus_test" -> "~/.lazarus_test" primary config path: ~/.lazarus_test/ TFPCTargetConfigCache.NeedsUpdate TargetOS="" TargetCPU="" Options="" config file changed "~/.fpc.cfg" TFPCTargetConfigCache.Update ~/Projektek/fpcbuild/release/bin/fpc TargetOS= TargetCPU= CompilerOptions= ExtraOptions= PATH=~/Projektek/binutils/cross/bin/:~/Projektek/fpcbuild/release/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games RunTool ~/Projektek/fpcbuild/release/bin/fpc "-iWTOTP" RunTool ~/Projektek/fpcbuild/release/bin/fpc "-va" "compilertest.pas" TFPCTargetConfigCache.Update: has changed TBuildManager.SetBuildTarget Old=i386-linux-gtk2 New=i386-linux-gtk2 FPC=True LCL=False NOTE: Building Lazarus IDE with profile "Build IDE with Packages" TBuildManager.SetBuildTarget Old=i386-linux-gtk2 New=i386-linux-gtk2 FPC=True LCL=False TFPCTargetConfigCache.NeedsUpdate TargetOS="linux" TargetCPU="i386" Options="" config file changed "~/.fpc.cfg" TFPCTargetConfigCache.Update ~/Projektek/fpcbuild/release/bin/fpc TargetOS=linux TargetCPU=i386 CompilerOptions= ExtraOptions=-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg PATH=~/Projektek/binutils/cross/bin/:~/Projektek/fpcbuild/release/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games RunTool ~/Projektek/fpcbuild/release/bin/fpc "-iWTOTP" "-Pi386" "-Tlinux" "-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg" RunTool ~/Projektek/fpcbuild/release/bin/fpc "-va" "-Pi386" "-Tlinux" "-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg" "compilertest.pas" TFPCTargetConfigCache.Update: has changed TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for FCL 1.0.1: ~/Projektek/Lazarus-trunk/packager/units/i386-linux/FCL.compiled ---- SAME MESSAGES HERE FOR VARIOUS PACKAGES ---- TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for CodeTools 1.0.1: ~/Projektek/Lazarus-trunk/components/codetools/units/i386-linux/CodeTools.compiled TFPCTargetConfigCache.NeedsUpdate TargetOS="" TargetCPU="" Options="-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg" compiler file changed "~/Projektek/fpcbuild/release/bin/fpc" FileAge=1426260910 StoredAge=0 TFPCTargetConfigCache.Update ~/Projektek/fpcbuild/release/bin/fpc TargetOS= TargetCPU= CompilerOptions=-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg ExtraOptions=-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg PATH=~/Projektek/binutils/cross/bin/:~/Projektek/fpcbuild/release/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games RunTool ~/Projektek/fpcbuild/release/bin/fpc "-iWTOTP" "-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg" "-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg" RunTool ~/Projektek/fpcbuild/release/bin/fpc "-va" "-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg" "-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg" "compilertest.pas" TFPCTargetConfigCache.Update: has changed TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for laz_fpspreadsheet 1.5: ~/Projektek/lazarus-ccr/components/fpspreadsheet/lib/i386-linux/laz_fpspreadsheet.compiled ---- SAME MESSAGES HERE FOR VARIOUS PACKAGES ---- TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for LR_ZeosDB 0.2.2: ~/Projektek/Lazarus-trunk/components/lazreport/source/addons/ZeosDB/lib/i386-linux/LR_ZeosDB.compiled An unhandled exception occurred at $00000000: EAccessViolation: Access violation $00000000 $08049CAD $08049A0D $0804CA96 $0804E221 TFPCMsgFilePool.Destroy file still used: ~/Projektek/fpcbuild/fpcsrc/compiler/msg/errore.msg An unhandled exception occurred at $0850F42D: Exception: TFPCMsgFilePool.Destroy some files are still used $0850F42D $0805EF62 $08062416 $080600B4 $0804E221 ---- END ---- -- Gábor -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
