Recent

Author Topic: Lazarus dev branch (main) build failures on Intel since 19 Dec 2022  (Read 813 times)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2032
  • Former Delphi 1-7, 10.2 user
Code: [Select]
Target OS: Darwin for x86_64
Compiling alllclunits.pp
Compiling checklst.pas
Compiling lcltype.pp
lcltype.pp(1136,36) Note: Values in enumeration types have to be ascending
lcltype.pp(1430,36) Error: Identifier not found "LF_FULLFACESIZE"
lcltype.pp(1430,51) Error: Illegal expression
lcltype.pp(1431,32) Error: Identifier not found "LF_FACESIZE"
lcltype.pp(1431,43) Error: Illegal expression
lcltype.pp(2314,26) Error: Identifier not found "LF_FACESIZE"
lcltype.pp(2314,41) Error: Can't evaluate constant expression
lcltype.pp(2331,26) Error: Identifier not found "LF_FACESIZE"
lcltype.pp(2331,41) Error: Can't evaluate constant expression
lcltype.pp(2378,27) Error: Identifier not found "LF_FULLFACESIZE"
lcltype.pp(2378,46) Error: Can't evaluate constant expression
lcltype.pp(2379,24) Error: Identifier not found "LF_FACESIZE"
lcltype.pp(2379,39) Error: Can't evaluate constant expression
lcltype.pp(2384,27) Error: Identifier not found "LF_FULLFACESIZE"
lcltype.pp(2384,46) Error: Can't evaluate constant expression
lcltype.pp(2385,24) Error: Identifier not found "LF_FACESIZE"
lcltype.pp(2385,39) Error: Can't evaluate constant expression
lcltype.pp(2405,27) Error: Identifier not found "LF_FULLFACESIZE"
lcltype.pp(2405,46) Error: Can't evaluate constant expression
lcltype.pp(2406,24) Error: Identifier not found "LF_FACESIZE"
lcltype.pp(2406,39) Error: Can't evaluate constant expression
lcltype.pp(2407,25) Error: Identifier not found "LF_FACESIZE"
lcltype.pp(2407,40) Error: Can't evaluate constant expression
lcltype.pp(2412,27) Error: Identifier not found "LF_FULLFACESIZE"
lcltype.pp(2412,46) Error: Can't evaluate constant expression
lcltype.pp(2413,24) Error: Identifier not found "LF_FACESIZE"
lcltype.pp(2413,39) Error: Can't evaluate constant expression
lcltype.pp(2414,25) Error: Identifier not found "LF_FACESIZE"
lcltype.pp(2414,40) Error: Can't evaluate constant expression
lcltype.pp(2652,25) Error: String length is larger than array of char length
lcltype.pp(3010,1) Fatal: There were 29 errors compiling module, stopping
Fatal: Compilation aborted
make[1]: *** [alllclunits.ppu] Error 1
make: *** [lazbuild] Error 2
Failure: 0
Wed 11 Jan 2023 22:11:24 AEDT

My last successful automated daily build was 18 Dec 2022 (just noticed :). Curiously, the ARM64/aarch64 version builds without issues.

I deleted my main branch copy and used git to retrieve a fresh copy, but no luck.

Any ideas?

Hansaplast

  • Hero Member
  • *****
  • Posts: 688
  • Tweaking4All.com
    • Tweaking4All
Re: Lazarus dev branch (main) build failures on Intel since 19 Dec 2022
« Reply #1 on: January 11, 2023, 12:57:07 pm »
Running from trunk myself (using FPCUpDeluxe), compiled this version on Dec 27 2022 and did not see these errors.
Could this be compiler (FPC) related?


This is the version I'm running right now on an Intel Mac (Monterey):
Lazarus 2.3.0 (rev main-2_3-2562-geb59ad598f) FPC 3.3.1 x86_64-darwin-cocoa

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11769
  • FPC developer.
Re: Lazarus dev branch (main) build failures on Intel since 19 Dec 2022
« Reply #2 on: January 11, 2023, 01:11:22 pm »
Afaik some constants moved from Lazarus to FPC (system.uitypes).

A few commits later, lazarus was fixed so that it uses the lazarus constants for 3.2.x and the system.uitypes constants for fpc trunk.

Make sure your FPC and lazarus are up to date

ccrause

  • Hero Member
  • *****
  • Posts: 945
Re: Lazarus dev branch (main) build failures on Intel since 19 Dec 2022
« Reply #3 on: January 11, 2023, 01:29:21 pm »
Afaik some constants moved from Lazarus to FPC (system.uitypes).

A few commits later, lazarus was fixed so that it uses the lazarus constants for 3.2.x and the system.uitypes constants for fpc trunk.

Make sure your FPC and lazarus are up to date
Specifically after Lazarus commit f0e459f0 (22/12/2022) one should use FPC 3.3.1 after commit d1616cb0 (17/12/2022) - or the stable FPC 3.2.x series.
« Last Edit: January 11, 2023, 01:32:47 pm by ccrause »

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2032
  • Former Delphi 1-7, 10.2 user
Re: Lazarus dev branch (main) build failures on Intel since 19 Dec 2022
« Reply #4 on: January 19, 2023, 12:24:31 am »
Ah, that explains it. The Intel system has not been rebuilding the FPC dev branch  daily unlike the ARM system.

Thanks all!

 

TinyPortal © 2005-2018