[MacPorts] #71744: Macports no longer supports rosetta 2

MacPorts noreply at macports.org
Sat Jan 4 12:12:31 UTC 2025


#71744: Macports no longer supports rosetta 2
-------------------------+--------------------
  Reporter:  lukaso      |      Owner:  (none)
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:
Resolution:  worksforme  |   Keywords:
      Port:              |
-------------------------+--------------------

Comment (by jmroot):

 Replying to [comment:6 lukaso]:
 > > Running MacPorts natively and setting build_arch was always the way
 that cross-compiling for another architecture was intended to work.
 >
 > I think what you are saying here is that I should be able to build
 everything as x86_64 by setting `build_arch` to `x86_64`, right?

 Yes. If there are problems with doing that while running MacPorts
 natively, we'd like to fix them if possible, but we still let you run
 under Rosetta 2 in that specific case.

 > And do you think this would work with setting `SDKROOT` and
 `MACOSX_DEPLOYMENT_TARGET`? Is that preferable/likely to be better than
 what I'm doing, which is running in rosetta? (I'd have to change a bunch
 of code to try it, so asking before I embark on such an adventure.)

 Changing those is also not commonly tested, so who knows? But at the same
 time I don't know of any specific reason why that would work better under
 emulation.

-- 
Ticket URL: <https://trac.macports.org/ticket/71744#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list