[Lazarus] Building Lazarus: apparent errors with lazloggerbase?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Sep 8 10:44:31 CEST 2014


On Mon, 08 Sep 2014 10:12:19 +0200
Reinier Olislagers <reinierolislagers at gmail.com> wrote:

> 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 ;) )

The above output is about *reading* the empty file.
Something created the empty file before that.
For example if your disk is full, this can happen. But then again, you
should have seen a write error.


> > lazbuild -B should repair a broken state file (by ignoring it). Does
> > that work?
> Did
> ./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
> pascalscript 0.0.0.1:
> /home/pascaldev/trunk/lazarus/components/PascalScript/Source/lib/x86_64-linux/pascalscript.compiled
> 
>   $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
> "/home/pascaldev/trunk/lazarus/components/rx/lib/x86_64-linux/rx.compiled"
> of package rx 1.0.
> Error: In
> 'file:///home/pascaldev/trunk/lazarus/components/rx/lib/x86_64-linux/rx.compiled'
> (line 1 pos 1): Root element is missing
> lazbuild is non interactive, aborting now.

Fixed.

Mattias




More information about the Lazarus mailing list