[MacPorts] #66326: matterhorn @50200.15.0_1: Error: cabal: Ambiguous target 'matterhorn'

MacPorts noreply at macports.org
Tue Nov 22 22:50:46 UTC 2022


#66326: matterhorn @50200.15.0_1: Error: cabal: Ambiguous target 'matterhorn'
--------------------------+--------------------
  Reporter:  cooljeanius  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.8.0
Resolution:               |   Keywords:
      Port:  matterhorn   |
--------------------------+--------------------

Comment (by cardi):

 Thanks for the ticket---in summary, Matterhorn is currently not
 compileable with GHC 9.4.x (which is what MacPorts has) until upstream
 updates the client and API to use GHC 9.4.x.

 Updating `matterhorn` to the latest version has been a long work-in-
 progress.

 My understanding is that Matterhorn along with the [https://github.com
 /matterhorn-chat/mattermost-api mattermost-api] depends on and is built
 using GHC 8.x and has not been tested with GHC 9.x. Because Matterhorn and
 the `mattermost-api` specify strict versions of dependencies, I've found
 that bumping version numbers isn't straightforward as I'm constantly
 running into conflicts (e.g., a dependency at some version is compatible
 with GHC 9 but not 8, etc).

 That said, it does look like upstream is moving to GHC 9.4.x, so MacPorts
 can hopefully leverage those changes soon.

 Unfortunately it looks like building the current version of Matterhorn
 (50200.15.0) with GHC 9.4.x will be broken until then.

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


More information about the macports-tickets mailing list