* bug#37361: GHCI fails to run for ghc@8.6.5
@ 2019-09-09 20:37 Jacob MacDonald
2019-09-10 2:09 ` Timothy Sample
0 siblings, 1 reply; 4+ messages in thread
From: Jacob MacDonald @ 2019-09-09 20:37 UTC (permalink / raw)
To: 37361
To reproduce, just guix environment --ad-hoc ghc -- ghci. ghc@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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#37361: GHCI fails to run for ghc@8.6.5
2019-09-09 20:37 bug#37361: GHCI fails to run for ghc@8.6.5 Jacob MacDonald
@ 2019-09-10 2:09 ` Timothy Sample
2019-09-10 2:33 ` Jacob MacDonald
0 siblings, 1 reply; 4+ messages in thread
From: Timothy Sample @ 2019-09-10 2:09 UTC (permalink / raw)
To: Jacob MacDonald; +Cc: 37361
Hi Jacob,
Jacob MacDonald <jaccarmac@gmail.com> writes:
> To reproduce, just guix environment --ad-hoc ghc -- ghci. ghc@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#37361: GHCI fails to run for ghc@8.6.5
2019-09-10 2:09 ` Timothy Sample
@ 2019-09-10 2:33 ` Jacob MacDonald
2019-09-10 4:58 ` Timothy Sample
0 siblings, 1 reply; 4+ messages in thread
From: Jacob MacDonald @ 2019-09-10 2:33 UTC (permalink / raw)
To: Timothy Sample; +Cc: 37361
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#37361: GHCI fails to run for ghc@8.6.5
2019-09-10 2:33 ` Jacob MacDonald
@ 2019-09-10 4:58 ` Timothy Sample
0 siblings, 0 replies; 4+ messages in thread
From: Timothy Sample @ 2019-09-10 4:58 UTC (permalink / raw)
To: Jacob MacDonald; +Cc: 37361-done
Hi Jacob,
Jacob MacDonald <jaccarmac@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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-09-10 4:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-09 20:37 bug#37361: GHCI fails to run for ghc@8.6.5 Jacob MacDonald
2019-09-10 2:09 ` Timothy Sample
2019-09-10 2:33 ` Jacob MacDonald
2019-09-10 4:58 ` Timothy Sample
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).