Lazarus

Installation => macOS / Mac OS X => Topic started by: zoltanleo on September 21, 2022, 11:32:38 pm

Title: (Solved) Lazarus trunk build error
Post by: zoltanleo 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?
Title: Re: Lazarus trunk build error
Post by: dseligo 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.
Title: Re: Lazarus trunk build error
Post by: Jonas Maebe 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.
Title: Re: Lazarus trunk build error
Post by: zoltanleo 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. :)
TinyPortal © 2005-2018