Package Details: matterhorn-git 50200.11.0-1

Git Clone URL: https://aur.archlinux.org/matterhorn-git.git (read-only, click to copy)
Package Base: matterhorn-git
Description: A terminal-based chat client for MatterMost
Upstream URL: https://github.com/matterhorn-chat/matterhorn
Licenses: BSD
Conflicts: matterhorn
Provides: matterhorn
Submitter: amaloz
Maintainer: None
Last Packager: amaloz
Votes: 2
Popularity: 0.000000
First Submitted: 2017-04-20 23:32 (UTC)
Last Updated: 2020-10-22 15:31 (UTC)

Latest Comments

<deleted-account> commented on 2021-11-30 20:41 (UTC)

This package fails to build with the current versions of cabal-install and ghc from official repos:

Warning: Unknown/unsupported 'ghc' version detected (Cabal 2.2.0.1 supports 'ghc' version < 8.5): /usr/bin/ghc is version 9.0.1

rageltman commented on 2021-01-15 01:20 (UTC)

The package is missing dependencies to build (ssh for git), and rather importantly its trying to perform network access in the build() step instead of prepare() which will break in environments which isolate the build step itself from the network.

[2021-01-14T21:15:20.127Z] ==> Starting build()...
[2021-01-14T21:15:20.127Z] Submodule 'submodules/mattermost-api' (git@github.com:matterhorn-chat/mattermost-api.git) registered for path 'submodules/mattermost-api'
[2021-01-14T21:15:20.127Z] Submodule 'submodules/mattermost-api-qc' (git@github.com:matterhorn-chat/mattermost-api-qc.git) registered for path 'submodules/mattermost-api-qc'
[2021-01-14T21:15:20.127Z] Cloning into '/build/matterhorn-git/src/matterhorn/submodules/mattermost-api'...
[2021-01-14T21:15:20.127Z] error: cannot run ssh: No such file or directory
[2021-01-14T21:15:20.127Z] fatal: unable to fork
[2021-01-14T21:15:20.127Z] fatal: clone of 'git@github.com:matterhorn-chat/mattermost-api.git' into submodule path '/build/matterhorn-git/src/matterhorn/submodules/mattermost-api' failed
[2021-01-14T21:15:20.127Z] Failed to clone 'submodules/mattermost-api'. Retry scheduled
[2021-01-14T21:15:20.127Z] Cloning into '/build/matterhorn-git/src/matterhorn/submodules/mattermost-api-qc'...
[2021-01-14T21:15:20.127Z] error: cannot run ssh: No such file or directory
[2021-01-14T21:15:20.127Z] fatal: unable to fork
[2021-01-14T21:15:20.127Z] fatal: clone of 'git@github.com:matterhorn-chat/mattermost-api-qc.git' into submodule path '/build/matterhorn-git/src/matterhorn/submodules/mattermost-api-qc' failed
[2021-01-14T21:15:20.127Z] Failed to clone 'submodules/mattermost-api-qc'. Retry scheduled
[2021-01-14T21:15:20.127Z] Cloning into '/build/matterhorn-git/src/matterhorn/submodules/mattermost-api'...
[2021-01-14T21:15:20.127Z] error: cannot run ssh: No such file or directory
[2021-01-14T21:15:20.127Z] fatal: unable to fork
[2021-01-14T21:15:20.127Z] fatal: clone of 'git@github.com:matterhorn-chat/mattermost-api.git' into submodule path '/build/matterhorn-git/src/matterhorn/submodules/mattermost-api' failed
[2021-01-14T21:15:20.127Z] Failed to clone 'submodules/mattermost-api' a second time, aborting
[2021-01-14T21:15:20.127Z] ==> ERROR: A failure occurred in build().
[2021-01-14T21:15:20.127Z]     Aborting...
script returned exit code 255

alerque commented on 2020-04-02 09:15 (UTC)

See the wiki guidelines but you only need to conflict with "matterhorn" here, the fact that the -bin package also conflicts with the same thing will be enough to resolve that it would also conflict with this. Also the provides line here is wrong, it needs to provide matterhorn not matterhorn-git.

amaloz commented on 2018-11-26 21:32 (UTC)

I hopefully fixed it. The build wasn't working with the latest ghc. I've found that it works with ghc8.0, but likely works with ghc8.2 as well (although I didn't test that).

gajdosm commented on 2018-11-21 10:52 (UTC)

Hey gyus, build fails:

Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: matterhorn-50200.0.0 (user goal)
[__1] next goal: stm (dependency of matterhorn)
[__1] rejecting: stm-2.5.0.0/installed-2.5..., stm-2.5.0.0 (conflict:
matterhorn => stm>=2.4 && <2.5)
[__1] trying: stm-2.4.5.1
[__2] next goal: base (dependency of matterhorn)
[__2] rejecting: base-4.12.0.0/installed-4.1... (conflict: stm => base>=4.3 &&
<4.12)
[__2] rejecting: base-4.12.0.0, base-4.11.1.0, base-4.11.0.0, base-4.10.1.0,
base-4.10.0.0, base-4.9.1.0, base-4.9.0.0, base-4.8.2.0, base-4.8.1.0,
base-4.8.0.0, base-4.7.0.2, base-4.7.0.1, base-4.7.0.0, base-4.6.0.1,
base-4.6.0.0, base-4.5.1.0, base-4.5.0.0, base-4.4.1.0, base-4.4.0.0,
base-4.3.1.0, base-4.3.0.0, base-4.2.0.2, base-4.2.0.1, base-4.2.0.0,
base-4.1.0.0, base-4.0.0.0, base-3.0.3.2, base-3.0.3.1 (constraint from
non-upgradeable package requires installed instance)
[__2] fail (backjumping, conflict set: base, matterhorn, stm)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: matterhorn, base, stm
Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.

As I don't know cabal, I'm not sure how to deal with this. Can you help?

amaloz commented on 2017-05-31 16:29 (UTC) (edited on 2017-05-31 17:37 (UTC) by amaloz)

Thanks. I added ghc and happy (pretty-show is built locally in the cabal sandbox).

Midov commented on 2017-05-20 07:50 (UTC) (edited on 2017-05-20 08:19 (UTC) by Midov)

Hi, Matterhorn wont build without ghc and haskell-pretty-show packages. I think you should add it to makedeps.