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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37361 in the body.
You can then email your comments to 37361 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#37361; Package guix. (Mon, 09 Sep 2019 20:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jacob MacDonald <jaccarmac <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 09 Sep 2019 20:38:02 GMT) Full text and rfc822 format available.

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.




Information forwarded to bug-guix <at> gnu.org:
bug#37361; Package guix. (Tue, 10 Sep 2019 02:10:01 GMT) Full text and rfc822 format available.

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

From: Timothy Sample <samplet <at> ngyro.com>
To: Jacob MacDonald <jaccarmac <at> gmail.com>
Cc: 37361 <at> debbugs.gnu.org
Subject: Re: bug#37361: GHCI fails to run for ghc <at> 8.6.5
Date: Mon, 09 Sep 2019 22:09:19 -0400
Hi Jacob,

Jacob MacDonald <jaccarmac <at> gmail.com> writes:

> 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)
>       | ^

I believe this should be fixed by 83aa656217.  I made a mistake when
refactoring the GHC 8.6 package definition, and it was not setting its
search paths correctly.

Can you try again and confirm that it’s fixed?

Thanks!


-- Tim




Information forwarded to bug-guix <at> gnu.org:
bug#37361; Package guix. (Tue, 10 Sep 2019 02:34:01 GMT) Full text and rfc822 format available.

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

From: Jacob MacDonald <jaccarmac <at> gmail.com>
To: Timothy Sample <samplet <at> ngyro.com>
Cc: 37361 <at> debbugs.gnu.org
Subject: Re: bug#37361: GHCI fails to run for ghc <at> 8.6.5
Date: Mon, 9 Sep 2019 21:33:11 -0500
> I believe this should be fixed by 83aa656217.

That does indeed fix both bugs. In my specific case I'm still running
into an issue with dependency shadowing, but it seems like a separate
issue and I'll open a new one if it's not on my side.

Thanks.




Reply sent to Timothy Sample <samplet <at> ngyro.com>:
You have taken responsibility. (Tue, 10 Sep 2019 04:59:02 GMT) Full text and rfc822 format available.

Notification sent to Jacob MacDonald <jaccarmac <at> gmail.com>:
bug acknowledged by developer. (Tue, 10 Sep 2019 04:59:02 GMT) Full text and rfc822 format available.

Message #16 received at 37361-done <at> debbugs.gnu.org (full text, mbox):

From: Timothy Sample <samplet <at> ngyro.com>
To: Jacob MacDonald <jaccarmac <at> gmail.com>
Cc: 37361-done <at> debbugs.gnu.org
Subject: Re: bug#37361: GHCI fails to run for ghc <at> 8.6.5
Date: Tue, 10 Sep 2019 00:58:47 -0400
Hi Jacob,

Jacob MacDonald <jaccarmac <at> gmail.com> writes:

>> I believe this should be fixed by 83aa656217.
>
> That does indeed fix both bugs. In my specific case I'm still running
> into an issue with dependency shadowing, but it seems like a separate
> issue and I'll open a new one if it's not on my side.
>
> Thanks.

Thanks for checking so quickly.  :)


-- Tim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 08 Oct 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 202 days ago.

Previous Next


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