Opened 4 years ago

Closed 13 months ago

Last modified 12 months ago

#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)

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

comment:2 Changed 3 years ago by ShadSterling (Shad Sterling)

Cc: ShadSterling added

comment:3 Changed 13 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

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 Changed 13 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.

Version 0, edited 13 months ago by kamischi (Karl-Michael Schindler) (next)

comment:5 in reply to:  4 Changed 12 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.

Note: See TracTickets for help on using tickets.