From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 30 06:02:44 2021 Received: (at submit) by debbugs.gnu.org; 30 Mar 2021 10:02:44 +0000 Received: from localhost ([127.0.0.1]:50442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRBCu-0006fM-2D for submit@debbugs.gnu.org; Tue, 30 Mar 2021 06:02:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:36734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRBCp-0006fA-MF for submit@debbugs.gnu.org; Tue, 30 Mar 2021 06:02:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRBCo-0000hn-6k for bug-guix@gnu.org; Tue, 30 Mar 2021 06:02:39 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:40991) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRBCj-0003cL-Ba for bug-guix@gnu.org; Tue, 30 Mar 2021 06:02:37 -0400 X-Originating-IP: 92.169.147.163 Received: from bababa (lfbn-idf2-1-1335-163.w92-169.abo.wanadoo.fr [92.169.147.163]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 4D79BE000F for ; Tue, 30 Mar 2021 10:02:26 +0000 (UTC) From: Pierre Neidhardt To: bug-guix@gnu.org Subject: Very slow `guix environment -l nyxt/build-scripts/guix.scm Date: Tue, 30 Mar 2021 12:02:26 +0200 Message-ID: <87tuotez7x.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.196; envelope-from=mail@ambrevar.xyz; helo=relay4-d.mail.gandi.net X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.001, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Nyxt provides a "guix.scm" to build Nyxt locally: https://github.com/atlas-engineer/nyxt/blob/3239b10d816861d329dce10863cb84f= 9d0bd76ed/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 =2D-8<---------------cut here---------------start------------->8--- $ guix environment -v 99 --pure --load=3Dbuild-scripts/guix.scm=20 =2D-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 substitu= tes: =2D-8<---------------cut here---------------start------------->8--- $ guix environment -v 99 --pure --load=3Dbuild-scripts/guix.scm=20 13.0 MB will be downloaded downloading from https://ci.guix.gnu.org/nar/lzip/c3755727p11afak5azj52xv4h= v9jy0wj-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/qlyzqdx6i50d3rfz6hapf53gp= jc43n7c-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/v2kdcv8d5dxsbb7s73nj020jr= y78mcvw-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/s5dlqhxqa36vax72mx341lhlr= z7b1mpz-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/d1n7p65d3k8ddj0pmydgrsbk2= 6xv5808-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/wk4k3cnygif6is42iq5wgp1yi= hr5abv5-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/rhwgqqg43jhwb4hzpzljp4b1a= x9i0786-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/9y6v4zy10pcanivd05chfryc2= nsxnian-subversion-1.14.1 ... subversion-1.14.1 2.5MiB 8.3MiB/s 00:00 [#######= ###########] 100.0% =2D-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? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAmBi9zISHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/rhEH/0PDp2otzpUp7L4y9KiUQDcxVYoxpF64 1M07KmuAAZfFKwSvB55R09WlqLqE89rbt22sDnlvFf9CvCsVooSk87dEDgW3uD87 TU1ufO1VluuSiYtgk9VeIfbdZpKdmX9ERIt6qdJd1XpGfNDGuclqopXDhh4zp3Cf agCxurY2tHP5aI9prXGucfJUcLCgoL/B776S/FLKDJ66RqwnhDkImnkSklBuNNs1 JsgucQshaSi9n5v0oSWUhEfvKT0+D5DihI5nZhgkIoGPMsFrO+J4EofTOf6JV2Ep zkScr1mLiv8nj/JNwD08Bzs0qICHLY1jCYewgYYINRdhx3XkWiMysQg= =CHPn -----END PGP SIGNATURE----- --=-=-=--