[MacPorts] #64794: Cannot install ghc on arm

MacPorts noreply at macports.org
Thu Mar 10 12:26:07 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):

 Replying to [comment:2 jmroot]:
 > This is because alex, like every port that includes the haskell_stack
 portgroup, sets `supported_archs     x86_64`. If alex's architecture
 doesn't matter to ghc, use `depends_skip_archcheck`. Or if alex only
 installs an executable, it could set `installs_libs no`.

 I added `installs_libs no` to the haskell_stack portgroup, uninstalled and
 reinstalled `alex`, but still encounter the error on arm:
 {{{
 --->  Computing dependencies for ghc
 Error: Cannot install ghc for the arch 'arm64' because
 Error: its dependency alex only supports the arch 'x86_64'.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 }}}

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


More information about the macports-tickets mailing list