From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timothy Sample Subject: bug#36972: ghc-8.6.5 won't complete its build phase Date: Fri, 09 Aug 2019 21:26:14 -0400 Message-ID: <87wofllsjt.fsf@ngyro.com> References: <87mugjma19.fsf@ngyro.com> 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]:46224) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwG9v-0006lg-P5 for bug-guix@gnu.org; Fri, 09 Aug 2019 21:27:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hwG9u-0004vM-Ot for bug-guix@gnu.org; Fri, 09 Aug 2019 21:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34526) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hwG9u-0004vA-Ih for bug-guix@gnu.org; Fri, 09 Aug 2019 21:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hwG9u-0002s9-Di for bug-guix@gnu.org; Fri, 09 Aug 2019 21:27:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: (Brian Leung's message of "Fri, 9 Aug 2019 10:11:05 +0200") 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: Brian Leung Cc: 36972-done@debbugs.gnu.org Hi Brian, Brian Leung writes: > Hi Tim, > > Thanks for your response. I've tried upgrading again and everything > works fine. For whatever reason, when I tried upgrading last time, > there was no indication that the tests ever started running, not even > a couple of hours after the build phase appeared to reach 100%. That=E2=80=99s certainly odd. I would have expected it to indicate that it= had started the check phase. Without a way to reproduce this, I doubt we=E2=80= =99ll be able to fix it. For that reason, I=E2=80=99m opting to close this bug n= ow. However, if you notice anything like this again, we can always reopen it. > One last question: I notice from haskell.scm that "ghc" presently > refers to ghc-8, which refers to ghc-8.4. If this is the case (I guess > I'm probably wrong in my understanding), why did Guix choose to > upgrade my installation of 8.4 to 8.6 at all? The default GHC version for building Guix=E2=80=99s Haskell packages is 8.4= .3, but the newest version is 8.6.5. When you tell Guix that you want =E2=80= =9Cghc=E2=80=9D it finds the latest version, rather than the version it uses for other packages. This is the same as GCC. Even though Guix uses GCC 5 as it=E2= =80=99s default compiler, if you install =E2=80=9Cgcc-toolchain=E2=80=9D, you=E2=80= =99ll get version 9. This all happens based on the =E2=80=9Cname=E2=80=9D fields of the packages= rather than the Guile variables used to refer to them. Hence the =E2=80=9Cghc=E2=80=9D= variable name is only meaningful insofar as it=E2=80=99s what the Haskell build syst= em uses as its default compiler. -- Tim