unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36972: ghc-8.6.5 won't complete its build phase
@ 2019-08-08  9:06 Brian Leung
  2019-08-09  0:56 ` Timothy Sample
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Leung @ 2019-08-08  9:06 UTC (permalink / raw)
  To: 36972

[-- Attachment #1: Type: text/plain, Size: 109 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 134 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#36972: ghc-8.6.5 won't complete its build phase
  2019-08-08  9:06 bug#36972: ghc-8.6.5 won't complete its build phase Brian Leung
@ 2019-08-09  0:56 ` Timothy Sample
       [not found]   ` <CAAc=MExh786j=rZ3oQria7g=91o6_-hCK1VKhxB=Q+_Kw8y3LA@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Timothy Sample @ 2019-08-09  0:56 UTC (permalink / raw)
  To: Brian Leung; +Cc: 36972

Hi Brian,

Brian Leung <bkleung89@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#36972: ghc-8.6.5 won't complete its build phase
       [not found]   ` <CAAc=MExh786j=rZ3oQria7g=91o6_-hCK1VKhxB=Q+_Kw8y3LA@mail.gmail.com>
@ 2019-08-10  1:26     ` Timothy Sample
  0 siblings, 0 replies; 3+ messages in thread
From: Timothy Sample @ 2019-08-10  1:26 UTC (permalink / raw)
  To: Brian Leung; +Cc: 36972-done

Hi Brian,

Brian Leung <bkleung89@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-10  1:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-08  9:06 bug#36972: ghc-8.6.5 won't complete its build phase Brian Leung
2019-08-09  0:56 ` Timothy Sample
     [not found]   ` <CAAc=MExh786j=rZ3oQria7g=91o6_-hCK1VKhxB=Q+_Kw8y3LA@mail.gmail.com>
2019-08-10  1:26     ` 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).