[MacPorts] #64794: Cannot install ghc on arm

MacPorts noreply at macports.org
Thu Mar 10 23:57:51 UTC 2022


#64794: Cannot install ghc on arm
------------------------+--------------------
  Reporter:  essandess  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  ghc alex   |
------------------------+--------------------

Comment (by essandess):

 I'll try the same approach on some of the other stack+arm related tickets.

 What should the fix be when we're using `stack` on `arm` to build an
 `x86_64` binary, but there's an arm dependency that MacPorts chokes on?
 See, e.g. https://trac.macports.org/ticket/63944:

 {{{
 sudo port destroot adblock2privoxy
 Error: Cannot install adblock2privoxy for the arch 'x86_64' because
 Error: its dependency sf-pwgen is only installed for the arch 'arm64'
 Error: and does not have a universal variant.
 Error: Unable to execute port: architecture mismatch
 }}}

 I tried `depends_skip_archcheck-append sf-pwgen` but still get this error.

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


More information about the macports-tickets mailing list