GNU bug report logs - #36972
ghc-8.6.5 won't complete its build phase

Previous Next

Package: guix;

Reported by: Brian Leung <bkleung89 <at> gmail.com>

Date: Thu, 8 Aug 2019 09:08:01 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 36972 in the body.
You can then email your comments to 36972 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#36972; Package guix. (Thu, 08 Aug 2019 09:08:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brian Leung <bkleung89 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 08 Aug 2019 09:08:02 GMT) Full text and rfc822 format available.

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

From: Brian Leung <bkleung89 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: ghc-8.6.5 won't complete its build phase
Date: Thu, 8 Aug 2019 11:06:29 +0200
[Message part 1 (text/plain, inline)]
Upon upgrading with `guix upgrade`, ghc-8.6.5 is downloaded, but the build
phase seems to get stuck at 100%.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36972; Package guix. (Fri, 09 Aug 2019 00:57:01 GMT) Full text and rfc822 format available.

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

From: Timothy Sample <samplet <at> ngyro.com>
To: Brian Leung <bkleung89 <at> gmail.com>
Cc: 36972 <at> debbugs.gnu.org
Subject: Re: bug#36972: ghc-8.6.5 won't complete its build phase
Date: Thu, 08 Aug 2019 20:56:18 -0400
Hi Brian,

Brian Leung <bkleung89 <at> gmail.com> writes:

> Upon upgrading with `guix upgrade`, ghc-8.6.5 is downloaded, but the
> build phase seems to get stuck at 100%.

It looks like everything went fine on the CI server, and I built it
before I committed it.  Is it possible it was running the tests?  They
take much, much longer than building the compiler.  It took the CI
server over five hours to build the whole derivation.  How long did you
wait?


-- Tim




Reply sent to Timothy Sample <samplet <at> ngyro.com>:
You have taken responsibility. (Sat, 10 Aug 2019 01:27:02 GMT) Full text and rfc822 format available.

Notification sent to Brian Leung <bkleung89 <at> gmail.com>:
bug acknowledged by developer. (Sat, 10 Aug 2019 01:27:02 GMT) Full text and rfc822 format available.

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

From: Timothy Sample <samplet <at> ngyro.com>
To: Brian Leung <bkleung89 <at> gmail.com>
Cc: 36972-done <at> debbugs.gnu.org
Subject: Re: bug#36972: ghc-8.6.5 won't complete its build phase
Date: Fri, 09 Aug 2019 21:26:14 -0400
Hi Brian,

Brian Leung <bkleung89 <at> gmail.com> 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’s 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’ll
be able to fix it.  For that reason, I’m opting to close this bug now.
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’s Haskell packages is 8.4.3,
but the newest version is 8.6.5.  When you tell Guix that you want “ghc”
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’s
default compiler, if you install “gcc-toolchain”, you’ll get version 9.
This all happens based on the “name” fields of the packages rather than
the Guile variables used to refer to them.  Hence the “ghc” variable
name is only meaningful insofar as it’s what the Haskell build system
uses as its default compiler.


-- Tim




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

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

Previous Next


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