Forum > General

[SOLVED] FPCUPDELUXE: Failed to build Lazarus fixes using FPC fixes.

(1/4) > >>

bee:
I’m trying to build latest Lazarus fixes (not trunk) using latest FPC fixes (not trunk) or Lazarus 2.0 fixes using FPC 3.2 fixes on Mac Mojave. But it failed while it should not.

Here’s some error messages from fpcUpDeluxe before it failed:


--- Code: Text  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---fpcupdeluxe: info: FPC native builder: Detected source version FPC: 3.2.0fpcupdeluxe: info: FPC native builder: Using FPC bootstrap compiler with version: 3.0.4fpcupdeluxe: info: Lazarus: WARNING: found modified files.fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus is at revision: 62558fpcupdeluxe: WARNING: LazarusNativeInstaller (GetModule: Lazarus): Going to patch Lazarus sources !!fpcupdeluxe: info: Lazarus native builder: Detected source version Lazarus: 2.0.7fpcupdeluxe: info: Lazarus native builder: Using FPC compiler with version: 3.2.0fpcupdeluxe: Start of compile error summary.<home>freepascal/lazarus/components/lazutils/dynhasharray.pp(173,5) Error: (4032) Can't assign values to const variablefpcupdeluxe: Start of compile error summary.<home>/freepascal/lazarus/components/lazutils/dynhasharray.pp(945,28) Error: (4032) Can't assign values to const variablefpcupdeluxe: Start of compile error summary.dynhasharray.pp(948) Fatal: (10026) There were 2 errors compiling module, stopping<home>/freepascal/lazarus/components/lazutils/dynhasharray.pp(945,28) Error: (4032) Can't assign values to const variablefpcupdeluxe: Start of compile error summary.Fatal: (1018) Compilation aborteddynhasharray.pp(948) Fatal: (10026) There were 2 errors compiling module, stoppingfpcupdeluxe: Start of compile error summary.Error: <home>/freepascal/fpc/bin/x86_64-darwin/ppcx64 returned an error exitcodefpcupdeluxe: Start of compile error summary.fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): make returned error code #512fpcupdeluxe: Done !!
Note: <home> is the folder of installation.

What’s wrong? Is there any way to achieve what I want using fpcupdeluxe?

Thank you.

Thaddy:

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---// unit DynHashArray// this code at line 173 should be in J+ mode, it is a assignable typed const.const{$push}{J+}  ItemMemManager: TDynHashArrayItemMemManager = nil;{$pop}

DonAlfredo:
I am still investigating this.
Up until now, I have to find the fix.

There were some recent changes that went into FPC fixes regarding cocoa.
Some of them did introduce changes that are not (yet) compatible with Lazarus.

I will inform you about any progress.

Thaddy:
See my proposed fix above.

DonAlfredo:
@Thaddy
Thanks !
But I am also getting other errors, that have to be investigated.
I will include your fix into the final patch !

Navigation

[0] Message Index

[#] Next page

Go to full version