From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timothy Sample Subject: bug#37361: GHCI fails to run for ghc@8.6.5 Date: Mon, 09 Sep 2019 22:09:19 -0400 Message-ID: <87blvsx5ps.fsf@ngyro.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57274) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7VbZ-0001Xm-3P for bug-guix@gnu.org; Mon, 09 Sep 2019 22:10:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7VbY-0006BX-1z for bug-guix@gnu.org; Mon, 09 Sep 2019 22:10:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60191) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i7VbW-0006AL-69 for bug-guix@gnu.org; Mon, 09 Sep 2019 22:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i7VbW-0004M5-0P for bug-guix@gnu.org; Mon, 09 Sep 2019 22:10:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Jacob MacDonald's message of "Mon, 9 Sep 2019 15:37:24 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Jacob MacDonald Cc: 37361@debbugs.gnu.org Hi Jacob, Jacob MacDonald 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=E2=80=99s fixed? Thanks! -- Tim