Recent

Author Topic: Lazarus Trunk & macOS Sequoia  (Read 2680 times)

TRon

  • Hero Member
  • *****
  • Posts: 3787
Re: Lazarus Trunk & macOS Sequoia
« Reply #15 on: November 26, 2024, 01:38:01 am »
You might be correct. I am 8000 miles from home and try to make a best guess without much proof or testing.
Shouldn't you be enjoying your holiday ?  ;D
I do not have to remember anything anymore thanks to total-recall.

madref

  • Hero Member
  • *****
  • Posts: 1085
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Lazarus Trunk & macOS Sequoia
« Reply #16 on: November 26, 2024, 11:23:03 am »
This is the last part of the log-file:
Code: [Select]

Assembling rtti
rtti.pp(4361) Error: Error while assembling exitcode 1
rtti.pp(4361) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
rtl-objpas/units/x86_64-darwin/rtti.s:12:1: error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs
_$RTTI$_Lj102:
^
rtl-objpas/units/x86_64-darwin/rtti.s:6:1: error: previous .cfi_startproc was here
.cfi_startproc
^
The installer encountered the following error:
Compilation of "BuildUnit_rtl_objpas.pp" failed


fpcupdeluxe: ERROR: FPC Native Installer (BuildModule: FPC): Error running /usr/bin/make for FPC failed with exit code 512
. Details: .




ERROR: Fpcupdeluxe fatal error !
Sequencer (FPC): Failure running fpcupdeluxe: error executing sequence FPC
Sequencer (Default): Failure running fpcupdeluxe: error executing sequence Default


Same error
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Main Platform:
--------------
Mac OS X Sonoma 14.7
Lazarus 3.99 (Lazarus 3.99 (rev main_3_99-2668-g6b352d830e) FPC 3.3.1 x86_64-darwin-cocoa)

Windows 10 Pro
Lazarus 3.99 (rev cbfd80ce39)

madref

  • Hero Member
  • *****
  • Posts: 1085
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Lazarus Trunk & macOS Sequoia
« Reply #17 on: November 26, 2024, 12:02:18 pm »
Hi Don,

I am far from arguing with the Don but are you sure (perhaps you have more intel).

From the log (the part that I was able to decipher from a word document !?!?) it looked like either a  GNU jobs issue or a bug in FPC trunk.

@madref:
Can you try again but then with FPC 3.2.2 instead of 3.3.1 (trunk/main) and in setup+ uncheck the Use Jobs for GNU make option  ?

It can't hurt to try even if Don is correct (it will of course cost time for another attempt).

Oh, and please when posting logs use the log's original form (ASCII) instead of word.
I tried to install the stable version with FPCupDeluxe but also got an error
I saved the logfile but its to big as a txt file.
This is the last part of it:
Code: [Select]
       Compiling univint/src/xattr.pas
       Compiling univint/src/GPCStrings.pas
       Compiling univint/src/MacOSAll.pas
[ 62%] Compiled package univint
make[2]: *** [smart] Error 1
make[1]: *** [packages_smart] Error 2
make: *** [build-stamp.x86_64-darwin] Error 2
The installer encountered the following error:
Error inside worker thread for package rtl-objpas: Compilation of "BuildUnit_rtl_objpas.pp" failed


fpcupdeluxe: ERROR: FPC Native Installer (BuildModule: FPC): Error running /usr/bin/make for FPC failed with exit code 512
. Details: .




ERROR: Fpcupdeluxe fatal error !
Sequencer (FPC): Failure running fpcupdeluxe: error executing sequence FPC
Sequencer (Default): Failure running fpcupdeluxe: error executing sequence Default

You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Main Platform:
--------------
Mac OS X Sonoma 14.7
Lazarus 3.99 (Lazarus 3.99 (rev main_3_99-2668-g6b352d830e) FPC 3.3.1 x86_64-darwin-cocoa)

Windows 10 Pro
Lazarus 3.99 (rev cbfd80ce39)

TRon

  • Hero Member
  • *****
  • Posts: 3787
Re: Lazarus Trunk & macOS Sequoia
« Reply #18 on: November 26, 2024, 12:41:20 pm »
Thank you madref.

You can use an archiver to f.e. zip the .txt file so that the resulting file can be attached to a post (indeed posting the whole log inside a message usually does not fit).

Strange, the error still seem to suggest running multiple threads and choking on it.

I know it is perhaps a dumb question (but need to ask in order to rule out) but do you have enough free memory and disk-space (or perhaps a corrupted file-system or using an remote/external drive or share ) ?
I do not have to remember anything anymore thanks to total-recall.

madref

  • Hero Member
  • *****
  • Posts: 1085
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Lazarus Trunk & macOS Sequoia
« Reply #19 on: November 26, 2024, 09:39:38 pm »
Yes plenty of it
See attachments


And I updated to Xcode 16.1

« Last Edit: November 26, 2024, 09:42:17 pm by madref »
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Main Platform:
--------------
Mac OS X Sonoma 14.7
Lazarus 3.99 (Lazarus 3.99 (rev main_3_99-2668-g6b352d830e) FPC 3.3.1 x86_64-darwin-cocoa)

Windows 10 Pro
Lazarus 3.99 (rev cbfd80ce39)

JdeHaan

  • Full Member
  • ***
  • Posts: 153
Re: Lazarus Trunk & macOS Sequoia
« Reply #20 on: November 26, 2024, 10:03:52 pm »
Also for me, after upgrading to Sequoia, FPCUpdeluxe fails to complete, see last part where it goes wrong.

Code: Text  [Select][+][-]
  1.        Compiling univint/src/MacOSAll.pas
  2.   $000000010C5E31AF
  3.   $000000010C5D2932
  4.   $000000010C5D3044
  5.   $000000010C5238E6
  6.   $000000010C54701C
  7.   $00007FF816BDC2CD
  8. make[1]: *** [packages_smart] Error 2
  9. make: *** [build-stamp.x86_64-darwin] Error 2
  10. [ 58%] Compiled package univint
  11. The installer encountered the following error:
  12. Error inside worker thread for package rtl-objpas: (10/12) Failed compiling: rtl-objpas: Compilation of "BuildUnit_rtl_objpas.pp" failed
  13.  
  14. fpcupdeluxe: ERROR: FPC Native Installer (BuildModuleCustom: FPC): Error running /usr/bin/make for FPC failed with exit code 512
  15. . Details: .
  16.  
  17.  
  18. ERROR: Fpcupdeluxe fatal error !
  19. Sequencer (FPC): Failure running fpcupdeluxe: error executing sequence FPC
  20. Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only

and in the bottom window this error msg appears:

Code: Text  [Select][+][-]
  1. Start of compile error summary.
  2. rtl-objpas/units/x86_64-darwin/rtti.s:14:1: error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs
  3. Start of compile error summary.
  4. rtl-objpas/units/x86_64-darwin/rtti.s:8:1: error: previous .cfi_startproc was here
  5. Start of compile error summary.
  6. rtti.pp(7946) Error: Error while assembling exitcode 1
  7. Start of compile error summary.
  8. rtti.pp(7946) Fatal: There were 2 errors compiling module, stopping
  9. rtti.pp(7946) Error: Error while assembling exitcode 1
  10. Start of compile error summary.
  11. Fatal: Compilation aborted
  12. rtti.pp(7946) Fatal: There were 2 errors compiling module, stopping
  13. Start of compile error summary.
  14. Start of compile error summary.
  15. ERROR: FPC Native Installer (BuildModuleCustom: FPC): Error running /usr/bin/make for FPC failed with exit code 512
  16. . Details: .
  17.  


MacOS 15.1.1 on Intel I-7 (2019)

TRon

  • Hero Member
  • *****
  • Posts: 3787
Re: Lazarus Trunk & macOS Sequoia
« Reply #21 on: November 26, 2024, 10:24:02 pm »
Excellent, thank you JdeHaan.

Is that with selecting FPC 3.2.2 or .. ?

Please report this issue in the FPC bugtracker (see link at left side). Make sure to mention which FPC version you were trying to build together with the version of macos (and xcode) for which this was attempted and post the error-logs (especially the second part).

There is a mention of an rtti build error (error 41043) with delphi rtti enabled but it seems there is more to this issue.

I am not 100% sure if they are related though (the result of the report differs).
« Last Edit: November 26, 2024, 10:48:27 pm by TRon »
I do not have to remember anything anymore thanks to total-recall.

JdeHaan

  • Full Member
  • ***
  • Posts: 153
Re: Lazarus Trunk & macOS Sequoia
« Reply #22 on: November 27, 2024, 08:44:35 pm »
Done!

https://gitlab.com/freepascal.org/fpc/source/-/issues/41045

Hope it's correct and understandable.... my first bug report!

madref

  • Hero Member
  • *****
  • Posts: 1085
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Lazarus Trunk & macOS Sequoia
« Reply #23 on: November 27, 2024, 10:55:56 pm »
This is the original report and actions already taken.... but still not solved


https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/887
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Main Platform:
--------------
Mac OS X Sonoma 14.7
Lazarus 3.99 (Lazarus 3.99 (rev main_3_99-2668-g6b352d830e) FPC 3.3.1 x86_64-darwin-cocoa)

Windows 10 Pro
Lazarus 3.99 (rev cbfd80ce39)

TRon

  • Hero Member
  • *****
  • Posts: 3787
Re: Lazarus Trunk & macOS Sequoia
« Reply #24 on: November 28, 2024, 03:18:21 am »
Done!
Thank you very much.

Quote
Hope it's correct and understandable.... my first bug report!
👍

It's perfect. In case there are further questions it will (usually) be asked in the bug-tracker.

Sorry to say that I've missed the merge-request that madref referred to. That would have saved you the trouble of making a report.

And Don was right. Seems like a c-lang related issue.

@madref: Thank you for the link.
I do not have to remember anything anymore thanks to total-recall.

 

TinyPortal © 2005-2018