Package Details: ghc8.6-bin 8.6.5-3

Git Clone URL: https://aur.archlinux.org/ghc8.6-bin.git (read-only, click to copy)
Package Base: ghc8.6-bin
Description: Binary GHC 8.6 installed on /usr/bin/ghc-8.6
Upstream URL: http://www.haskell.org/ghc/
Licenses: BSD-3-Clause
Conflicts: ghc8.6
Provides: ghc8.6
Submitter: rudy.matela
Maintainer: rudy.matela
Last Packager: rudy.matela
Votes: 1
Popularity: 0.000000
First Submitted: 2021-04-09 21:07 (UTC)
Last Updated: 2024-02-01 12:04 (UTC)

Latest Comments

MarsSeed commented on 2024-01-31 18:06 (UTC)

Also, ncurses5-compat-libs (which carries libtinfo.so.5) seems to be needed in depends, not (just) as a makedepend.

The following binaries are linked to libtinfo.so.5:

usr/lib/ghc-8.6.5/bin/ghc
usr/lib/ghc-8.6.5/bin/ghc-pkg
usr/lib/ghc-8.6.5/bin/haddock
usr/lib/ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5-ghc8.6.5.so
usr/lib/ghc-8.6.5/haskeline-0.7.4.3/libHShaskeline-0.7.4.3-ghc8.6.5.so
usr/lib/ghc-8.6.5/terminfo-0.4.1.2/libHSterminfo-0.4.1.2-ghc8.6.5.so

rudy.matela commented on 2024-01-31 18:05 (UTC)

Yes, I noticed that earlier today, thanks for nothing this. :-)

I'll remove python2 from checkdepends throughout all pinned GHC packages, as it is not really needed. I already did this for 7.6, but I need to update the others. I'll do that over the next few days.

MarsSeed commented on 2024-01-31 18:03 (UTC)

Btw when it comes to check... Pls kindly remove the unused checkdepends=python2. :)

MarsSeed commented on 2024-01-31 18:02 (UTC)

You are right. Thank you for checking!

rudy.matela commented on 2024-01-31 17:33 (UTC)

This package is not broken. It still works out-of-the-box for me:

$ ls
hello.hs

$ cat hello.hs 
main = putStrLn "hello"

$ ghc-8.6 hello.hs 
[1 of 1] Compiling Main             ( hello.hs, hello.o )
Linking hello ...

$ ./hello 
hello

If you get a ghc: panic! error, it may be that you have .hi and .o files compiled with another version of GHC:

$ ghc -dynamic hello.hs 

$ ls
hello*  hello.hi  hello.hs  hello.o

$ ghc-8.6 hello.hs 
ghc: panic! (the 'impossible' happened)
  (GHC version 8.6.5 for x86_64-unknown-linux):
    Prelude.chr: bad argument: 10864333

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

In that case, you should first rm *.hi *.o before compiling:

$ rm -f *.hi *.o
$ ghc-8.6 hello.hs
[1 of 1] Compiling Main             ( hello.hs, hello.o )
Linking hello ...

@MarsSeed, you mention:

But this 2019 version is actually no longer needed.

I still maintain and use this package to test my programs and libraries for backwards compatibility. It can be useful to people that are interested in this, and to people that need to compile old programs that do not work with recent GHCs. I do not think this package should be deleted.

MarsSeed commented on 2024-01-28 21:35 (UTC)

Broken:

$ ghc-8.6 helloworld.hs
ghc: panic! (the 'impossible' happened)
  (GHC version 8.6.5 for x86_64-unknown-linux):
        Prelude.chr: bad argument: 2952790017

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

But this 2019 version is actually no longer needed.

(AUR/cardano-addresses is a very outdated orphan right now, but its latest release works with much newer ghc compilers.)