[Lazarus] Building Lazarus: apparent errors with lazloggerbase?

Reinier Olislagers reinierolislagers at gmail.com
Mon Sep 8 10:12:19 CEST 2014

On 07/09/2014 20:14, Mattias Gaertner wrote:
> On Sun, 07 Sep 2014 15:44:42 +0200
> Reinier Olislagers <reinierolislagers at gmail.com> wrote:
>> Error: In
>> 'file:///home/pascaldev/trunk/lazarus/lcl/units/x86_64-linux/gtk2/LCL.compiled'
>> (line 1 pos 1): Root element is missing
> Why is your LCL.compiled empty?
Maybe because lazbuild crashes as the output above indicates? (I'm sure
you've considered that but as you know I'm not afraid of stating the
obvious or even the obviously wrong ;) )

> lazbuild -B should repair a broken state file (by ignoring it). Does
> that work?
./lazbuild -B --build-ide=-dKeepInstalledPackages
(as that should include the LCL as well, right?)
.... a whole lot of Missing state file lines such as the one below ...
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for

  $00000000006210B9 line 720 of lazloggerbase.pas
  $000000000047CD07 line 1414 of lclproc.pas
  $00000000004013BF line 322 of lazbuild.lpr
  $0000000000538AEA line 103 of idedialogs.pas
  $00000000005B9AFF line 2989 of ../packager/packagesystem.pas
  $00000000005BB485 line 3302 of ../packager/packagesystem.pas
  $00000000005BAF7D line 3192 of ../packager/packagesystem.pas
  $00000000005BF4AB line 3786 of ../packager/packagesystem.pas
  $00000000005BECDB line 3624 of ../packager/packagesystem.pas
ERROR: Error reading file
Unable to read state file
of package rx 1.0.
Error: In
(line 1 pos 1): Root element is missing
lazbuild is non interactive, aborting now.

More information about the Lazarus mailing list