unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Brian Woodcox <bw@inskydata.com>
Cc: help-guix@gnu.org
Subject: Re: *** TRYING TO INSTALL GUIXSD v0.15.0 FOR DAYS ***
Date: Wed, 31 Oct 2018 21:35:31 -0400	[thread overview]
Message-ID: <87o9b97f5t.fsf@netris.org> (raw)
In-Reply-To: <E90904B8-FF10-488E-96C3-9C54D22EF510@inskydata.com> (Brian Woodcox's message of "Wed, 31 Oct 2018 14:50:34 -0600")

Hi Brian,

Brian Woodcox <bw@inskydata.com> writes:

> This is what is displaced on the screen when the hang occurs:
>
> …
> make  check-TESTS
> make[3]: Entering directory ‘/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3’
> Testing /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/meta/guile …
> with GUILE_LOAD_PATH=/tmp/guix-guild-guile-2.2.3.drv-0/guile-2.2.3/test-suite

Thanks.  These last messages were printed by the 'check-guile' script,
just before it passes control to test-suite/guile-test, which runs the
tests in test-suite/tests/*.test.  I guess it's getting stuck during the
initialization of 'guile-test', because it prints a message before
running each test.

At this point, I see a few possible next steps, from easy to harder:

(1) You could wait until hydra.gnu.org comes back online, which I expect
to happen sometime next week.  Hydra has a full set of substitutes for
0.15.0, so you shouldn't need to build Guile at that point.

(2) You could try QEMU instead.  I suspect that Guix has seen far more
testing under QEMU than VirtualBox, because QEMU is in Guix and not
VirtualBox.  If it fails in QEMU, then we will have a test case that
Guix developers can try to reproduce on their own systems.

(3) If you felt like getting your hands dirty and digging deeper to
investigate this problem and find its source, read on:

You could try the same build with "--keep-failed" added to the Guix
command line, and interrupt it after it gets stuck.  At that point, you
should have write access to /tmp/guix-guild-guile-2.2.3.drv-0, and you
can enter that directory and try various experiments.

/tmp/guix-guild-guile-2.2.3.drv-0/environment-variables will contain the
environment variable settings that were passed to the top-level build
commands, including "make check".  In that directory, run:

  env -i `which bash`

or a similar command to clear the environment, and then "source
environment-variables" to load the environment settings.  Then 'cd' into
the guile source directory and run ./check-guile.

Hopefully it will get stuck here as well.  If so, you could use GDB to
attach to the stuck guile process and obtain a backtrace.  It might also
be useful to see the output of "strace -f ./check-guile".

There are many other things that could be tried at this point, such as
removing the "--debug" flag passed to guile at the end of 'check-guile',
inserting debugging print statements at various points in the
'guile-test' script, etc.

Hopefully one of these options is workable.  Sorry for the bother.

     Regards,
       Mark

  parent reply	other threads:[~2018-11-01  1:36 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-31 15:42 *** TRYING TO INSTALL GUIXSD v0.15.0 FOR DAYS *** Brian Woodcox
2018-10-31 17:41 ` Leo Famulari
2018-10-31 18:23   ` Brian Woodcox
2018-10-31 18:35 ` Mark H Weaver
2018-10-31 18:47   ` Brian Woodcox
2018-11-01  7:35     ` Mark H Weaver
2018-10-31 20:50   ` Brian Woodcox
2018-10-31 21:54     ` George Clemmer
2018-10-31 22:30       ` Brian Woodcox
2018-10-31 23:44         ` George Clemmer
2018-11-01  2:33           ` Mark H Weaver
2018-11-01  3:35             ` George Clemmer
2018-10-31 22:47       ` Mark H Weaver
2018-10-31 23:57         ` George Clemmer
2018-11-01  0:09           ` George Clemmer
2018-11-06 15:27             ` swedebugia
2018-11-06 18:24               ` George Clemmer
2018-11-07 11:40                 ` swedebugia
2018-11-07 13:01                   ` George Clemmer
2018-11-07 15:16         ` Christopher Lemmer Webber
2018-11-01  1:35     ` Mark H Weaver [this message]
2018-11-01  2:58       ` Brian Woodcox
2018-11-06  5:14       ` Mark H Weaver
2018-11-06 17:08         ` Brian Woodcox
2018-11-06 23:22           ` Brian Woodcox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9b97f5t.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=bw@inskydata.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).