[Lazarus] Error building Lazarus Trunk

Wayne Sherman wsherman at gmail.com
Sun Jan 1 02:29:57 CET 2023


System Xubuntu 20.04 64-bit with latest updates

lazarus_2_2_4 (latest stable) builds successfully, but I am getting an
error trying to build Lazarus trunk.  The same error happens with both
fpc stable and fpc trunk.

Running this:

git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git
2022-12-31_lazarus_trunk
cd ./2022-12-31_lazarus_trunk

make distclean [ok]
make lazbuild  [ok]
make bigide [ok]

make useride  [fails]
./lazbuild --lazarusdir=. --build-ide=  [fails]

Build messages:
Hint: (lazarus) Missing state file of DebuggerIntf 0.1:
/home/wsherman/2022-12-31_lazarus_trunk/components/debuggerintf/lib/x86_64-linux/DebuggerIntf.compiled
An unhandled exception occurred at $00000000009B6FB0:
EAccessViolation: Access violation
  $00000000009B6FB0  DOCALLPACKAGEBUILDINGHANDLER,  line 774 of lazideintf.pas
  $00000000005AFCAA  COMPILEPACKAGE,  line 4265 of ../packager/packagesystem.pas
  $00000000005AE928  COMPILEREQUIREDPACKAGES,  line 3972 of
../packager/packagesystem.pas
  $000000000040366A  COMPILEAUTOINSTALLPACKAGES,  line 683 of lazbuild.lpr
  $00000000004032A9  BUILDLAZARUSIDE,  line 621 of lazbuild.lpr
  $000000000040817F  RUN,  line 1503 of lazbuild.lpr
  $000000000040AA09  main,  line 1879 of lazbuild.lpr

There appears to be two problems:
1) Some state is not as lazbuild expects.
2) lazbuild should not generate an access violation.

Can anyone confirm this issue?


More information about the lazarus mailing list