From: Pierre Neidhardt <mail@ambrevar.xyz>
To: 47496@debbugs.gnu.org
Subject: bug#47496: Very slow `guix environment -l nyxt/build-scripts/guix.scm
Date: Tue, 30 Mar 2021 12:02:26 +0200 [thread overview]
Message-ID: <87tuotez7x.fsf@ambrevar.xyz> (raw)
[-- Attachment #1: Type: text/plain, Size: 2923 bytes --]
Nyxt provides a "guix.scm" to build Nyxt locally:
https://github.com/atlas-engineer/nyxt/blob/3239b10d816861d329dce10863cb84f9d0bd76ed/build-scripts/guix.scm
A few weeks ago (not sure exactly when and why), `guix environment -l
guix.scm` started being extremely slow.
By this, I mean that
--8<---------------cut here---------------start------------->8---
$ guix environment -v 99 --pure --load=build-scripts/guix.scm
--8<---------------cut here---------------end--------------->8---
hangs for minutes, maybe hours before it proceeds.
It does not display anything, not even with "-v 99".
In one occurrence, it even hung completely after downloading a few substitutes:
--8<---------------cut here---------------start------------->8---
$ guix environment -v 99 --pure --load=build-scripts/guix.scm
13.0 MB will be downloaded
downloading from https://ci.guix.gnu.org/nar/lzip/c3755727p11afak5azj52xv4hv9jy0wj-libselinux-3.0-python ...
libselinux-3.0-python 141KiB 1.1MiB/s 00:00 [##################] 100.0%
downloading from https://ci.guix.gnu.org/nar/lzip/qlyzqdx6i50d3rfz6hapf53gpjc43n7c-python-3.8.2-tk ...
python-3.8.2-tk 30KiB 7.4MiB/s 00:00 [##################] 100.0%
15.3 MB will be downloaded
downloading from https://ci.guix.gnu.org/nar/lzip/v2kdcv8d5dxsbb7s73nj020jry78mcvw-glib-2.62.6 ...
glib-2.62.6 2.4MiB 1.7MiB/s 00:01 [##################] 100.0%
downloading from https://ci.guix.gnu.org/nar/lzip/s5dlqhxqa36vax72mx341lhlrz7b1mpz-python2-2.7.17 ...
python2-2.7.17 9.5MiB 4.6MiB/s 00:02 [##################] 100.0%
downloading from https://ci.guix.gnu.org/nar/gzip/d1n7p65d3k8ddj0pmydgrsbk26xv5808-glib-2.62.6-bin ...
glib-2.62.6-bin 149KiB 2.5MiB/s 00:00 [##################] 100.0%
downloading from https://ci.guix.gnu.org/nar/lzip/wk4k3cnygif6is42iq5wgp1yihr5abv5-python2-2.7.17-tk ...
python2-2.7.17-tk 28KiB 5.9MiB/s 00:00 [##################] 100.0%
downloading from https://ci.guix.gnu.org/nar/lzip/rhwgqqg43jhwb4hzpzljp4b1ax9i0786-serf-1.3.9 ...
serf-1.3.9 78KiB 5.5MiB/s 00:00 [##################] 100.0%
downloading from https://ci.guix.gnu.org/nar/lzip/9y6v4zy10pcanivd05chfryc2nsxnian-subversion-1.14.1 ...
subversion-1.14.1 2.5MiB 8.3MiB/s 00:00 [##################] 100.0%
--8<---------------cut here---------------end--------------->8---
(That's the full output, it hung there.)
Something must be wrong, because I found a workaround that's fishy: if I
comment out some inputs from the guix.scm and build the environment,
then it works. Then I uncomment the commented inputs and this time the
environment builds in a few seconds.
Any idea?
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]
next reply other threads:[~2021-03-30 10:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-30 10:02 Pierre Neidhardt [this message]
2021-04-02 7:43 ` bug#47496: Very slow `guix environment -l nyxt/build-scripts/guix.scm Ludovic Courtès
2021-04-02 8:14 ` Pierre Neidhardt
2021-04-03 18:42 ` Pierre Neidhardt
2021-04-04 2:08 ` Bengt Richter
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=87tuotez7x.fsf@ambrevar.xyz \
--to=mail@ambrevar.xyz \
--cc=47496@debbugs.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.
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).