#62002 closed defect (fixed)
fpc @3.2.0: Compiler .../ppcx64 not found. Stop.
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | kamischi (Karl-Michael Schindler) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.99 |
Keywords: | Cc: | ShadSterling (Shad Sterling) | |
Port: | fpc |
Description
I'm on High Sierra an fpc does not build:
DEBUG: PP='/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_lang_fpc/fpc/work/ppcx64' DEBUG: PREFIX='/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_lang_fpc/fpc/work/destroot/opt/local/libexec/fpc' Executing: cd "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_lang_fpc/fpc/work/fpcbuild-3.2.0/fpcsrc" && /usr/bin/make -w all OPT="-ap -v0 -XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" DEBUG: system: cd "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_lang_fpc/fpc/work/fpcbuild-3.2.0/fpcsrc" && /usr/bin/make -w all OPT="-ap -v0 -XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" make: Entering directory `/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_lang_fpc/fpc/work/fpcbuild-3.2.0/fpcsrc' Makefile:135: *** Compiler /opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_lang_fpc/fpc/work/ppcx64 not found. Stop. make: Leaving directory `/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_lang_fpc/fpc/work/fpcbuild-3.2.0/fpcsrc' Command failed: cd "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_lang_fpc/fpc/work/fpcbuild-3.2.0/fpcsrc" && /usr/bin/make -w all OPT="-ap -v0 -XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
Change History (5)
comment:1 Changed 4 years ago by kamischi (Karl-Michael Schindler)
comment:2 Changed 3 years ago by ShadSterling (Shad Sterling)
Cc: | ShadSterling added |
---|
comment:3 Changed 15 months ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
fpc has been updated several times since this ticket, and the current version builds on high sierra:
http://packages.macports.org/fpc/fpc-3.2.2_1.darwin_17.x86_64.tbz2
comment:4 follow-up: 5 Changed 15 months ago by kamischi (Karl-Michael Schindler)
Nice.
The other issue with ppcx64 is that it is a x86_64 binary, which works with Rosetta, which I guess is not present on the macOS 13 arm buildbot, whereas I have it on my 13 arm. That's how I missed the issue in the first place. The resolution I envisage is along the lines of the powerpc enabling pull request, i.e. downloading the disk image with the arm compiler and extract the arm binary from it.
I am a bit busy with work at the moment. But I picked up the topic of fpc, including the failures on not so old systems. A new version is also within reach, which is another incentive for me to work on focus issues.
Thanks for closing. I am happy to contribute my 2 cents to a project I benefitted from - Michael.
comment:5 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to kamischi:
The other issue with ppcx64 is that it is a x86_64 binary, which works with Rosetta, which I guess is not present on the macOS 13 arm buildbot, whereas I have it on my 13 arm. That's how I missed the issue in the first place. The resolution I envisage is along the lines of the powerpc enabling pull request, i.e. downloading the disk image with the arm compiler and extract the arm binary from it.
Doesn't sound related to this ticket. If there are remaining tasks to be done for this port, please file a new ticket.
Thanks for pointing out the absence of Rosetta on the macOS 13 arm64 buildbot worker. This was unintentional and it has been corrected. Rosetta was already installed on the macOS 11 and 12 arm64 buildbot workers.
The bootstrap compiler is missing. Did the download succeed? from ftp://ftp.freepascal.org/fpc/dist/3.0.4/bootstrap/x86_64-macosx-10.9-ppcx64.tar.bz2