[Solved] Lazarus Trunk & macOS Sequoia lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- madref · 2024-11-20 08:00 Has anyone successfully installed Lazarus Trunk on macOS Sequoia? If so how did you do it? I am using a 2,7 GHz Quad-Core Intel Core i7 processor on a MacBook Pro from  2016 ---------------------------------------------------------------------- TRon · 2024-11-20 13:56 Using trunk can always be a hit or a miss so you mileage may vary. By far the easiest method (as in you do not have to do a lot of technical details) is by using FPCUpdeluxe (wiki / github) For your specific use case you can use the following download: https:/ /github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/v2.4.0e/fpc updeluxe-x86_64-darwin-cocoa.zip When using FPCUpdeluxe do not use a system wide (FPC?Laz) installation, instead use FPCUpDeluxe to control your (multiple) installations (*) If installing multiple versions of Lazarus make sure to understand Multiple Lazarus article. FPCUpdeluxe does take care of this for you but it is important to know that every individual Lazarus installation needs to use its own configuration. (*) edit: technically not necessary but it will avoid any issues regarding an already existing installation, especially FPC. This because Lazarus favours the system wide installed FPC compiler under certain conditions. ---------------------------------------------------------------------- madref · 2024-11-20 20:30 I Tried FPCupDeluxe, but ran into errors like on this thread and this thread. ---------------------------------------------------------------------- TRon · 2024-11-20 21:02 Quote from: madref on November 20, 2024, 09:30:30 pmI Tried FPCupDeluxe, but ran into errors like on this thread and this thread. Ah yes, one of the infamous mac issues. Don't read the following as a direct response to your reply rather a generic one for those reading this thread. With regards to the first thread: As I wrote before on that subject: is the error/issue reported somewhere ? (I know the answer to that, and if the reader knows as well than how is this ever going to be resolved ?) With regards to the second thread: has someone already tried the pre- release version of FPCUpDeluxe  and does the same error occur ? FPCUpDeluxe has a repository where issues can be reported and there is a dedicated FPCUpDeluxe thread here on the forum. fwiw: We can't expect Don Alfredo or other developers to pick up on every thread that comes along cross fingers and hope everything will automagically be resolved. Normally I would report such a thing myself but I do not own the hardware so can't test, therefor can't analyze and as a result am unable to gather the necessary details that are required to make such a report. To get back to your specific issue madref, how good are your skills with regard to using a command-line and issuing command (e.g. are you confident enough) ? see also wiki (do note that this requires an already existing and working/configured installation of the FPC compiler, and in case experimenting without w heads up: don't forget about the multiple lazarus versions and its configuration. If you forget to do that step you are able to wreck your existing Lazarus configuration e.g. make sure to backup and also do not issue a make install, rather after the make commands copy the lazarus (source) directory somewhere where you have enough access rights). ---------------------------------------------------------------------- madref · 2024-11-20 21:36 I don't feel that confident. But don't worry I am installing on a fresh macOS Sequoia ---------------------------------------------------------------------- TRon · 2024-11-20 22:01 @madref: Do what you are most comfortable with. In case using fpcupdeluxe, please try to press setup+ before installation and check the verbose checkbox, and when you encounter an error save the log file (use the menu() and attach that log to a message so that we are able to have a look at it. ---------------------------------------------------------------------- madref · 2024-11-25 19:39 did as you suggested.....but again the same result. Pressed the [Email] button in FPCupDeluxe (2.4.0f) and mail was send to a gmail account ---------------------------------------------------------------------- TRon · 2024-11-25 20:21 Quote from: madref on November 25, 2024, 08:39:27 pmdid as you suggested.....but again the same result. That is why I asked to save the log to a file and attach it to a post QuotePressed the [Email] button in FPCupDeluxe (2.4.0f) and mail was send to a gmail account Note that Don Alfredo has other things on his plate as well so be advised that it might take a while for a response. ---------------------------------------------------------------------- DonAlfredo · 2024-11-25 21:53 True. But at the moment just a short holiday. Bugreports (with much detail) are very welcome on Github ! ---------------------------------------------------------------------- carl_caulkett · 2024-11-25 22:16 Quote from: madref on November 20, 2024, 09:00:48 amHas anyone successfully installed Lazarus Trunk on macOS Sequoia? If so how did you do it? I am using a 2,7 GHz Quad-Core Intel Core i7 processor on a MacBook Pro from  2016 Not quite the same thing but I had Lazarus 3.99 aka 4.99 + FPC 3.1.1 running on macOS 14.6.1 Somona and I successfully upgraded my macOS to 15.1.1 Sequoia with no apparent problems in running Lazarus on the new OS. I haven't yet tried to install any new Lazarus/FPC related things yet... UPDATE: The reason I posted this is that it suggests that there is nothing wrong with the process of running Lazarus with macOS 15 Sequoia, just that maybe the install procedure needs some attention. ---------------------------------------------------------------------- madref · 2024-11-25 23:26 Tried it again..... same result.... but now I did save the log-files [Removed attachment] ---------------------------------------------------------------------- DonAlfredo · 2024-11-26 00:04 The error is not related to fpcupdeluxe, so it seems. Search for: "private labels cannot appear between". Its a CLANG-thing. ---------------------------------------------------------------------- madref · 2024-11-26 00:12 eeuuuhhhhh a what? And how to resolve this? ---------------------------------------------------------------------- TRon · 2024-11-26 00:20 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. ---------------------------------------------------------------------- DonAlfredo · 2024-11-26 00:23 You might be correct. I am 8000 miles from home and try to make a best guess without much proof or testing. ---------------------------------------------------------------------- TRon · 2024-11-26 00:38 Quote from: DonAlfredo on November 26, 2024, 01:23:11 amYou 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 ? ---------------------------------------------------------------------- madref · 2024-11-26 10:23 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 ---------------------------------------------------------------------- madref · 2024-11-26 11:02 Quote from: TRon on November 26, 2024, 01:20:14 amHi 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 ---------------------------------------------------------------------- TRon · 2024-11-26 11:41 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 ) ? ---------------------------------------------------------------------- madref · 2024-11-26 20:39 Yes plenty of it See attachments And I updated to Xcode 16.1 ---------------------------------------------------------------------- JdeHaan · 2024-11-26 21:03 Also for me, after upgrading to Sequoia, FPCUpdeluxe fails to complete, see last part where it goes wrong. Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i        Compiling univint/src/MacOSAll.pas  $000000010C5E31AF  $000000010C5D2932  $000000010C5D3044  $000000010C5238E6  $000000010C54701C  $00007FF816BDC2CDmake[1]: *** [packages_smart] Error 2make: *** [build-stamp.x86_64-darwin] Error 2[ 58%] Compiled package univintThe installer encountered the following error:Error inside worker thread for package rtl-objpas: (10/12) Failed compiling: rtl-objpas: Compilation of "BuildUnit_rtl_objpas.pp" failed fpcupdeluxe: ERROR: FPC Native Installer (BuildModuleCustom: 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 FPCSequencer (Only): Failure running fpcupdeluxe: error executing sequence Only and in the bottom window this error msg appears: Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Start of compile error summary.rtl-objpas/units/x86_64-darwin/rtti.s:14:1: error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairsStart of compile error summary.rtl- objpas/units/x86_64-darwin/rtti.s:8:1: error: previous .cfi_startproc was hereStart of compile error summary.rtti.pp(7946) Error: Error while assembling exitcode 1Start of compile error summary.rtti.pp(7946) Fatal: There were 2 errors compiling module, stoppingrtti.pp(7946) Error: Error while assembling exitcode 1Start of compile error summary.Fatal: Compilation abortedrtti.pp(7946) Fatal: There were 2 errors compiling module, stoppingStart of compile error summary.Start of compile error summary.ERROR: FPC Native Installer (BuildModuleCustom: FPC): Error running /usr/bin/make for FPC failed with exit code 512. Details: .  MacOS 15.1.1 on Intel I-7 (2019) ---------------------------------------------------------------------- TRon · 2024-11-26 21:24 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). ---------------------------------------------------------------------- JdeHaan · 2024-11-27 19:44 Done! https://gitlab.com/freepascal.org/fpc/source/-/issues/41045 Hope it's correct and understandable.... my first bug report! ---------------------------------------------------------------------- madref · 2024-11-27 21:55 This is the original report and actions already taken.... but still not solved https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/887 ---------------------------------------------------------------------- TRon · 2024-11-28 02:18 Quote from: JdeHaan on November 27, 2024, 08:44:35 pmDone! Thank you very much. QuoteHope 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. ---------------------------------------------------------------------- rca · 2025-02-28 13:29 It has been fixed in the FPC trunk. https://gitlab.com/freepascal.org/fpc/source/- /commit/e749c81040070d3e8cb0c070e6e63f2f9b54fef4 ---------------------------------------------------------------------- madref · 2025-03-01 08:33 Thanks ---------------------------------------------------------------------- rca · 2025-03-02 18:02 Thanks to the entire FPC team, especially Pierre Muller who fixed it. I only realized in my tests that they had solved it.