[MacPorts] #68185: rust: source build fails when running under rosetta 2

MacPorts noreply at macports.org
Sun Oct 8 14:16:19 UTC 2023


#68185: rust: source build fails when running under rosetta 2
---------------------+--------------------
  Reporter:  lukaso  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  rust    |
---------------------+--------------------

Comment (by lukaso):

 If we want to work around this, this command will detect (return 1) if
 running under rosetta 2: `sysctl -n sysctl.proc_translated`.

 I'm not sure how to do an if based on running a command in a Portfile or
 I'd give it a go.

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


More information about the macports-tickets mailing list