[MacPorts] #61750: base prefers arch of terminal in use rather than machine arch when installing ports
MacPorts
noreply at macports.org
Thu Dec 17 17:17:27 UTC 2020
#61750: base prefers arch of terminal in use rather than machine arch when
installing ports
----------------------+----------------------
Reporter: raw-bin | Owner: (none)
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: base | Version:
Resolution: | Keywords:
Port: |
----------------------+----------------------
Comment (by jmroot):
So we pieced together in IRC that it is and isn't the terminal. User had a
universal base installed from the pkg, and ran it from a terminal emulator
that was x86_64 only. Being x86_64, this ran the x86_64 slice of the shell
which ran the x86_64 slice of the MacPorts tclsh. This naturally causes
tcl_platform to report x86_64. MacPorts is defaulting to building for the
arch it is running as, which can be unexpected if you don't realise that
your shell is running in Rosetta, but it's not really incorrect. Clang
behaves exactly the same way.
--
Ticket URL: <https://trac.macports.org/ticket/61750#comment:32>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list