GNU bug report logs - #37361
GHCI fails to run for ghc@8.6.5

Previous Next

Package: guix;

Reported by: Jacob MacDonald <jaccarmac <at> gmail.com>

Date: Mon, 9 Sep 2019 20:38:02 UTC

Severity: normal

Done: Timothy Sample <samplet <at> ngyro.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jacob MacDonald <jaccarmac <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: GHCI fails to run for ghc <at> 8.6.5
Date: Mon, 9 Sep 2019 15:37:24 -0500
To reproduce, just guix environment --ad-hoc ghc -- ghci. ghc <at> 8.4.3
works. Seems like this may be related to some Prelude changes upstream
(https://gitlab.haskell.org/ghc/ghc/issues/16563), but I'm not
familiar enough with GHC internals to really tell what's going on.
Interestingly, when I try to run plain old GHC on some source files
with 8.6.5 I get another seemingly unrelated error:

    Bad interface file:
/gnu/store/8v1sn5ns7r5n02aip0b0ypyyzb2y1i1a-ghc-8.4.3/lib/ghc-8.4.3/base-4.11.1.0/Prelude.hi
            mismatched interface file versions (wanted "8065", got "8043")
      |
    1 | import Test.Hspec        (Spec, it, shouldBe)
      | ^

Again, I'm afraid I'm not entirely familiar with GHC internals and the
function of interfaces files. Nevertheless, it seems not all is well
in Guix-Haskell-land.




This bug report was last modified 5 years and 251 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.