Recent

Author Topic: (Solved) Lazarus trunk build error  (Read 1109 times)

zoltanleo

  • Sr. Member
  • ****
  • Posts: 488
(Solved) Lazarus trunk build error
« on: September 21, 2022, 11:32:38 pm »
Hi folks

I'm having a trouble then I'm trying to build Lazarus trunk from source by fpcupdeluxe (I'm use hackintosh x86_64 on vmware). I'm getting the following error:
Code: Pascal  [Select][+][-]
  1. fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus was at revision/hash: main-0-gbcda2c2047
  2. fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus is now at revision/hash: main-0-gf73bf85730
  3. fpcupdeluxe: info: Lazarus native builder: Detected source version Lazarus: 2.3.0
  4. fpcupdeluxe: info: Lazarus native builder: Using FPC compiler with version: 3.3.1
  5.  
  6. <skiped>
  7.  
  8. (3104) Compiling ./cocoa/cocoadatepicker.pas
  9. /Users/admin/laz_dev_2/lazarus/lcl/interfaces/./cocoa/cocoaint.pas(550,100) Error: (1026) Compilation raised exception internally
  10. (3104) Compiling fpdbgdisasx86.pp
  11. An unhandled exception occurred at $000000010B97D83C:
  12. EAccessViolation: Access violation
  13.   $000000010B97D83C
  14.   $000000010BA0DEC2
  15. Fatal: (1018) Compilation aborted
  16. Error: /Users/admin/laz_dev_2/fpc/bin/x86_64-darwin/ppcx64 returned an error exitcode
  17. Error: (lazarus) Compile package LCL 2.3: stopped with exit code 1
  18. Error: (lazarus) Compile package fpdebug 1.0: terminated
  19. Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"
  20. Error: (lazarus) Building IDE: Compile AutoInstall Packages failed.
  21. make: *** [useride] Error 2
  22. fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: UserIDE): make returned exit status #512

Can anyone help me?
« Last Edit: September 22, 2022, 11:13:13 pm by zoltanleo »
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

dseligo

  • Hero Member
  • *****
  • Posts: 1221
Re: Lazarus trunk build error
« Reply #1 on: September 22, 2022, 09:24:10 am »
I had similar problem (with fpcupdeluxe, but also with rebuilding Lazarus) in virtual machines when using too little memory.
I haven't work with Vmware in a long time so I can't tell you exactly what to do in it, but try to increase memory available to virtual machine.

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1059
Re: Lazarus trunk build error
« Reply #2 on: September 22, 2022, 08:42:32 pm »
Try updating to the latest main sources. I fixed a compiler crash in https://gitlab.com/freepascal.org/fpc/source/-/commit/efbf5eaa01649749fc7f8adee03b63db407ec2a3 related to handling Objective-C protocols.

zoltanleo

  • Sr. Member
  • ****
  • Posts: 488
Re: Lazarus trunk build error
« Reply #3 on: September 22, 2022, 11:12:47 pm »
Try updating to the latest main sources. I fixed a compiler crash in https://gitlab.com/freepascal.org/fpc/source/-/commit/efbf5eaa01649749fc7f8adee03b63db407ec2a3 related to handling Objective-C protocols.
So the problem is solved.  Thanks a lot. :)
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

 

TinyPortal © 2005-2018