[MacPorts] #71668: libffi @3.4.6; Build Failure
MacPorts
noreply at macports.org
Sun Dec 29 07:56:32 UTC 2024
#71668: libffi @3.4.6; Build Failure
-----------------------+-----------------------
Reporter: hardincj | Owner: fhgwright
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: libffi |
-----------------------+-----------------------
Comment (by jmroot):
Replying to [comment:7 ryandesign]:
> `build_arch` isn't `x86_64` in this ticket; it's `arm64`, but for some
reason the libffi build is detecting an x86_64 system, and the reason I
have posited, which we are still waiting to hear back from the user to
confirm but which has been the cause of similar problems in at least two
other tickets, is that they may be using an x86_64 terminal and/or shell,
and my suggested solution for the user would be to use an arm64 terminal
and shell.
And I'm saying that it's very difficult for that to happen the way it used
to, because base will always try to ensure that it is not running under
Rosetta if build_arch is `arm64`. And indeed this indicates that base is
running natively:
{{{
:debug:sysinfo macOS 15.2 (darwin/24.2.0) arch arm
}}}
The terminal's arch shouldn't have any effect, but if `/bin/sh` or
`sandbox-exec` are somehow x86_64 only that could explain the observed
symptom.
--
Ticket URL: <https://trac.macports.org/ticket/71668#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list