Package Details: matterhorn 50200.17.0-1

Git Clone URL: https://aur.archlinux.org/matterhorn.git (read-only, click to copy)
Package Base: matterhorn
Description: A terminal-based chat client for MatterMost
Upstream URL: https://github.com/matterhorn-chat/matterhorn
Licenses: BSD
Submitter: amaloz
Maintainer: alerque (amaloz)
Last Packager: alerque
Votes: 10
Popularity: 0.50
First Submitted: 2017-05-31 16:55 (UTC)
Last Updated: 2022-06-24 20:13 (UTC)

Latest Comments

alerque commented on 2022-08-08 13:13 (UTC)

@zobi8225 You will need to rebuild this any time you update other haskell packages on your system.

zobi8225 commented on 2022-07-08 07:13 (UTC)

Same problem :

matterhorn: error while loading shared libraries: libHSmatterhorn-50200.17.0-inplace-ghc9.0.2.so: cannot open shared object file: No such file or directory

VannTen commented on 2020-12-19 16:30 (UTC)

I was already doing this.

I think I found the root cause though : I build aur packages in a clean chroot, and the PKGBUILD built haskell-dependencies that are in the official repositories (like xdg-basedir), Since ghc is not determinist, the official version was not the same than the one built during matterhorn build, hence the error.

I fixed this using arch-hs to generate another PKGBUILD, which correctly list dependencies and generate PKGBUILD for those not present in the arch repos. The downside is that you have to build those in order, but it works great.

alerque commented on 2020-12-19 12:13 (UTC)

@VannTen First, update your base system so that all Haskell packages are fresh (they get rebuilds often daily). Then actually rebuild this, not just reinstall it. Don't rely on makepkg or yay to do it for you, force it (e.g. with makepkg -Cf or yay --aur --rebuild -S matterharn).

VannTen commented on 2020-12-10 16:10 (UTC)

I get matterhorn: error while loading shared libraries: libHSxdg-basedir-0.2.2-8ecb76da6be77d73b9461eff4f8ad8ead6925c6836da9fc507f05fc3db6963a5-ghc8.10.2.so: cannot open shared object file: No such file or directory when trying to launch matterhorn after building it in a clean chroot.

I thought it was a dependencies mismatch, so I tried to bump the version (latest is 50200.11.0) but I get another error : matterhorn: error while loading shared libraries: libHSmatterhorn-50200.11.0-inplace-ghc8.10.2.so: cannot open shared object file: No such file or directory Which seems like a internal lib. Do you see the same result, or is it my system ?

balrog4k commented on 2020-06-03 13:49 (UTC)

Hi, package is broken now?

Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: matterhorn-50200.8.0 (user goal)
[__1] next goal: brick (dependency of matterhorn)
[__1] rejecting: brick-0.54 (conflict: matterhorn => brick>=0.52.1 && <0.53)
[__1] skipping: brick-0.53 (has the same characteristics that caused the
previous version to fail: excluded by constraint '>=0.52.1 && <0.53' from
'matterhorn')
[__1] trying: brick-0.52.1
[__2] next goal: base (dependency of matterhorn)
[__2] rejecting: base-4.14.0.0/installed-4.14.0.0 (conflict: brick =>
base<=4.13.0.0)
[__2] skipping: base-4.14.0.0 (has the same characteristics that caused the
previous version to fail: excluded by constraint '<=4.13.0.0' from 'brick')
[__2] rejecting: base-4.13.0.0, 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, brick, matterhorn)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: brick, base, matterhorn

==> ERROR: A failure occurred in build().
    Aborting...

alerque commented on 2020-04-27 17:14 (UTC)

@sachaz That doesn't sound like an error after building, that sounds like an error after building, then updating your system's Haskell packages. You need to recompile this after any changes to it's dependencies.

sachaz commented on 2020-04-27 11:53 (UTC)

Arch 5.6.6-arch1-1 matterhorn 50200.8.0-3

After building when I'm launching matterhorn i got:

matterhorn: error while loading shared libraries: libHSzlib-0.6.2.1-CYgtdz0O92NHvS2vBB2HG4-ghc8.8.3.so: cannot open shared object file: No such file or directory

amaloz commented on 2020-04-02 18:03 (UTC)

ah, yes, I was too quick. Hopefully now...

alerque commented on 2020-04-02 17:33 (UTC)

Hey again ... your last commit message suggests you meant to fix the provides line, but it's still there ;-) It should be deleted entirely as it is just the pkgname.

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

You can drop all the conflicts/provides lines from this package. See the wiki guidelines but in short they ask you not to provide anything that is identical to the package name, and the conflicts are resolved from the other packages.

kerl commented on 2020-03-24 09:34 (UTC)

It worked thanks! I'll think about checking the version next time ^^

amaloz commented on 2020-03-23 20:52 (UTC)

Fixed. Thanks for the heads up!

clydedroid commented on 2020-03-23 20:39 (UTC)

kern, I had the same issue as you, and was able to resolve by updating the PKGBUILD to point at the newest version, 50200.7.0. Hope that helps!

kerl commented on 2020-03-23 17:06 (UTC)

Hi, I'm having some trouble building matterhorn. Cabal complains about not being able to resolve some dependencies:

==> Starting build()...
Config file path source is default config file.
Config file /home/martin/.cabal/config not found.
Writing default configuration to /home/martin/.cabal/config
Downloading the latest package list from hackage.haskell.org
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] next goal: matterhorn (user goal)
[__0] rejecting: matterhorn-50200.7.0 (constraint from user target requires
==50200.6.0)
[__0] trying: matterhorn-50200.6.0
[__1] next goal: time (dependency of matterhorn)
[__1] rejecting: time-1.9.3/installed-1.9..., time-1.10, time-1.9.3,
time-1.9.2, time-1.9.1, time-1.9 (conflict: matterhorn => time>=1.6 && <1.9)
[__1] trying: time-1.8.0.4
[__2] next goal: base (dependency of matterhorn)
[__2] rejecting: base-4.13.0.0/installed-4.1... (conflict: time => base>=4.7
&& <4.13)
[__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, time)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: matterhorn, base, time


==> ERROR: A failure occurred in build().
    Aborting...
Error making: matterhorn

I'm not sure I understand where this issue comes from. If that helps: I'm not using haskell myself and it seems that none of the AUR packages I have depend on haskell either so I guess the only haskell libraries I have on my system should be installed by pacman from the official repositories as dependencies for other packages. Am I the only one facing this issue? Is there something wrong with my haskell setup? Thanks!

amaloz commented on 2019-12-02 18:58 (UTC)

I integrated in your changes and pushed. Thanks!

I agree that it's still not perfect; for example, build still requires downloading packages.

ekkelett commented on 2019-11-12 09:22 (UTC) (edited on 2019-11-12 09:40 (UTC) by ekkelett)

A recommendation here is to remove the ghc8.2 requirement, and instead a) create a build using shared libraries with dynamic linking or b) depend on the ghc-static (IIRC) package to use static linking

This is possible in part due to the earlier releases that added support for GHC 8.6, which means that pegging this to 8.2 is no longer necessary.

Personally I've made the minor change in https://github.com/thor/PKGBUILDs/blob/master/matterhorn/PKGBUILD.

EDIT: That being said, I do not believe the package is out of date.

SECOND EDIT: To be fair, mine still has some glaring issues, such as all the linking ending up in my local Cabal store.

xored commented on 2019-10-26 08:39 (UTC) (edited on 2019-10-26 08:39 (UTC) by xored)

Cloning matterhorn build files...
Checking matterhorn dependencies...
Cloning ghc8.2 build files...
Checking ghc8.2 dependencies...
Preparing...
Resolving dependencies...
Checking inter-conflicts...
Running post-transaction hooks...
Checking keyring...
Checking integrity...
Failed to commit transaction:
invalid or corrupted package:

Manjaro KDE latest (18.x) Downloading the release from github works

amaloz commented on 2019-10-25 23:30 (UTC)

Not sure how to separate out the building from the downloading in cabal new-build, so I can fix this by moving everything to prepare().

As for the 'invalid or corrupt package', I'll need a little more context there, as I can't reproduce.

xored commented on 2019-10-25 23:12 (UTC)

I get 'invalid or corrupt package' during the installation.

matterhorn-bin is broken too, as commented

dreieck commented on 2019-10-01 09:43 (UTC)

Needs internet connetion during build(). Please make sure that build() does not need internet, by dealing with all download in the source-array and in prepare().

==> Starting build()...
Downloading the latest package list from hackage.haskell.org
[...]
Downloading  basement-0.0.11
[...]

amaloz commented on 2019-03-29 16:49 (UTC)

I think you need to install ghc8.2, which is available in the AUR.

jasondaigo commented on 2019-03-20 16:57 (UTC) (edited on 2019-03-20 16:57 (UTC) by jasondaigo)

i cannot build this or the other matterhorn packages currently

error: target not found: ghc8.2 ==> ERROR: 'pacman' failed to install missing dependencies. :: Unable to build ghc8.2 - makepkg exited with code: 8

amaloz commented on 2018-09-24 19:02 (UTC)

Hmm, I've run into things like this before with cabal and had to manually remove those packages that ghc-pkg check complains about. But I'm no cabal expert so there might be a better way that I'm unaware of.

In the worst case, you could try the matterhorn-bin package, which uses pre-built binaries so should work fine.

Ppjet6 commented on 2018-09-21 23:21 (UTC)

Hi there, thanks for the package!

I am unable to build, I get the following issue, any idea if there's anything I need to do?

Configuring library for timezone-olson-0.1.9..
Preprocessing library for timezone-olson-0.1.9..
Building library for timezone-olson-0.1.9..
[1 of 4] Compiling Data.Time.LocalTime.TimeZone.Olson.Types ( Data/Time/LocalTime/TimeZone/Olson/Types.hs, dist/build/Data/Time/LocalTime/TimeZone/Olson/Types.o )
[2 of 4] Compiling Data.Time.LocalTime.TimeZone.Olson.Render ( Data/Time/LocalTime/TimeZone/Olson/Render.hs, dist/build/Data/Time/LocalTime/TimeZone/Olson/Render.o )
[3 of 4] Compiling Data.Time.LocalTime.TimeZone.Olson.Parse ( Data/Time/LocalTime/TimeZone/Olson/Parse.hs, dist/build/Data/Time/LocalTime/TimeZone/Olson/Parse.o )

Data/Time/LocalTime/TimeZone/Olson/Parse.hs:50:1: error:
    Could not find module ‘Control.Exception.Extensible’
    There are files missing in the ‘extensible-exceptions-0.1.1.4’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
   |
50 | import Control.Exception.Extensible (try, throw, Exception, ErrorCall)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Failed to build timezone-olson-0.1.9 (which is required by
test:test_messages from matterhorn-40901.0.0 and exe:matterhorn from
matterhorn-40901.0.0).

Also I noticed cabal is using ~/.cache, I wonder if that's a cabal issue or if the package is missing some xdg magic.

amaloz commented on 2018-08-17 00:59 (UTC)

I've been unable to build generally without the static versions of ghc and cabal, so I've made those explicit makedepends requirements.

languitar commented on 2018-08-16 13:31 (UTC)

This lacks community/haskell-tasty-quickcheck as a build dependency

ohboy commented on 2018-08-15 07:35 (UTC)

I have following build failure with the latest version:

The program 'ghc' version >=6.11 is required but it could not be found

amaloz commented on 2018-08-14 16:02 (UTC)

Fixed. Let me know if you run into any issues with the source build. Thanks!

midgard commented on 2018-08-13 20:55 (UTC)

As this package provides a pre-built binary, please provide it as matterhorn-bin, and edit the PKGBUILD of this package to build from source. (Like matterhorn-git does.) Thank you!

oschoudhury commented on 2018-04-01 07:58 (UTC)

Thanks for the comment, I found the issue. I apparently installed ncurses5-compat-libs not from AUR but from the BlackArch repository and after a quick look at missing files and the AUR PKGBUILD I fixed it with

sudo ln -s /usr/lib/libncurses.so.5 /usr/lib/libtinfo.so.5

sudo ln -s /usr/lib/libncurses.so.5 /usr/lib/libtic.so.5

Hope this helps any other people with the same issue.

amaloz commented on 2018-03-28 21:25 (UTC)

/usr/lib/libtinfo.so.5 should be installed when installing ncurses5-compat-libs. matterhorn will then complain that "matterhorn: /usr/lib/libtinfo.so.5: no version information available (required by matterhorn)", but it'll still work.

oschoudhury commented on 2018-03-24 09:16 (UTC)

After installing the version 40800.0.1-1, and trying to run it I get the following error: matterhorn: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory Is there a dependency I am missing? If so, I can't figure out which.

marcelbuesing commented on 2018-01-01 17:10 (UTC)

==> Retrieving sources... -> Downloading ncurses-6.0-20170902.tgz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found ==> ERROR: Failure while downloading http://invisible-mirror.net/archives/ncurses/current/ncurses-6.0-20170902.tgz Aborting... ==> ERROR: Makepkg was unable to build ncurses5-compat-libs.

sajattack commented on 2017-12-24 03:57 (UTC)

matterhorn: /usr/lib/libtinfo.so.5: no version information available (required by matterhorn)

amaloz commented on 2017-07-19 16:56 (UTC)

Not sure I follow. The libtinfo package installs v6.

cybertron commented on 2017-07-18 09:21 (UTC)

looks for libtinfo 5 but 6 is actual