From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 20 07:08:04 2021 Received: (at submit) by debbugs.gnu.org; 20 Jun 2021 11:08:05 +0000 Received: from localhost ([127.0.0.1]:33148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luvJ6-00074e-Hk for submit@debbugs.gnu.org; Sun, 20 Jun 2021 07:08:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:38872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luvJ4-00074V-EX for submit@debbugs.gnu.org; Sun, 20 Jun 2021 07:08:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luvJ4-0004Uv-9Q for bug-guix@gnu.org; Sun, 20 Jun 2021 07:08:02 -0400 Received: from andre.telenet-ops.be ([2a02:1800:120:4::f00:15]:44914) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luvIx-0001NK-RZ for bug-guix@gnu.org; Sun, 20 Jun 2021 07:08:01 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by andre.telenet-ops.be with bizsmtp id KP7r250090mfAB401P7rgq; Sun, 20 Jun 2021 13:07:51 +0200 Message-ID: <1fa57b9edcd62f9bea334688da9c4f009507b268.camel@telenet.be> Subject: guix substitute: backtrace when the network is disabled during substitution From: Maxime Devos To: bug-guix@gnu.org Date: Sun, 20 Jun 2021 13:07:34 +0200 In-Reply-To: <87wnr05tfz.fsf@gnu.org> References: <87bl8hvhgx.fsf@gmail.com> <87wnr05tfz.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-tO7Pa+hItpXUGc+pu4hF" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1624187271; bh=Kc8iARcA6N+YeeDi6Po1iTIMwyl+V8e2g0iQqIVJf/s=; h=Subject:From:To:Date:In-Reply-To:References; b=lLw4ejX7sO+TMHiMaV+Flb8z0tVB9dVYR3MFubp2EeqXrKqXiMKrwrANXuMNByCyj oXmtmTXIde8Bmms/Rhnw754Cxqk77OA0j0/AwTkzcFwfVFwBLbCRAryyW6QdD/Vewr x9XN2iAj+NPTobHi98EkDCpYnBjE3ZxEquQkCu3swbnALHGISkyMVjg9g6ANRdNdX5 Vppq+4kiaDYmxVIaWuNqEjGn/i0gX3d95VkFD5s8+mSQLXRV+FTGd74G8yZrx/A5Mi cK1jVUkzHraDH1hW5YGXYZWBpzil4xEfS3kLgFcKH+ypT+7AhOmVd6JwdU7v0nAvde W8bvZTlgWochw== Received-SPF: pass client-ip=2a02:1800:120:4::f00:15; envelope-from=maximedevos@telenet.be; helo=andre.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) --=-tO7Pa+hItpXUGc+pu4hF Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Debbugs-CC: ludo@gnu.org 48903@debbugs.gnu.org maxim.cournoyer@gmail.com tags: + substituter Ludovic Court=C3=A8s schreef op vr 11-06-2021 om 17:09 [+0200]: > Hi Maxim{,e}! >=20 > Maxime Devos skribis: >=20 > > > 122.8 MB will be downloaded > > > libreoffice-6.4.7.2 117.1MiB 344Ki= B/s 03:04 [######### ] 52.7%guix substitute: error: TLS error in p= rocedure 'read_from_session_record_port': Error decoding the received TLS p= acket. > > > substitution of /gnu/store/44h13hn5zssfppz67vydxcf95qsc8qfw-libreoffi= ce-6.4.7.2 failed > > > guix package: error: some substitutes for the outputs of derivation `= /gnu/store/9f8sffldy39mprihx6xgrs7hys9j75jm-libreoffice-6.4.7.2.drv' failed= (usually happens due to networking issues); try `--fallback' to build deri= vation from source > > > --8<---------------cut here---------------end--------------->8--- > > >=20 > >=20 > > I often have the same problem when I do "guix package -u". > > (Same error message, same package libreoffice, same derivation) > > (Usually libreoffice, sometimes with other packages as well.) >=20 > As a first step, can you reproduce the bug like this: >=20 > while echo substitute /gnu/store/44h13hn5zssfppz67vydxcf95qsc8qfw-libre= office-6.4.7.2 /tmp/t | guix substitute --substitute ; do chmod -R +w /tmp/= t && rm -rf /tmp/t; done >=20 > ? I cannot reproduce either, with $ guix describe Generatie 97 23:40:15 19 jun 2021 (huidig) guix 3aabe51 bewaarplaats-URL: https://git.savannah.gnu.org/git/guix.git tak: master commit: 3aabe51e8c09b9a2a87c03c40e3cc0f90d531bfd nonguix d81564f bewaarplaats-URL: https://gitlab.com/nonguix/nonguix tak: master commit: d81564f21e7d8800e6f6187fe2e1f6476e06bc30 so I wondered whether it is a networking issue, so I disabled & re-enabled wireless networking during the substitution and encountered a (to my knowledge) previously-unknown backtrace: $ while (echo substitute /gnu/store/44h13hn5zssfppz67vydxcf95qsc8qfw-libreo= ffice-6.4.7.2 /tmp/t && echo substitute /gnu/store/j0j7z6ckarjs9yi77sncszbm= dgy38s70-guix-1.3.0-4.4985a42 /tmp/u) | guix substitute --substitute ; do chmod -R +w /tmp/t && rm -rf /tmp/t && chmod -= R +w /tmp/u && rm -rf /tmp/u ; done http://ci.guix.gnu.org/nar/lzip/44h13hn5zssfppz67vydxcf95qsc8qfw-libreoffic= e-6.4.7.2 aan het binnenhalen ... libreoffice-6.4.7.2 117.1MiB 1.7MiB/s 01:08 [##################] 1= 00.0% http://ci.guix.gnu.org/nar/lzip/j0j7z6ckarjs9yi77sncszbmdgy38s70-guix-1.3.0= -4.4985a42 aan het binnenhalen ... guix-1.3.0-4.4985a42 36.1MiB 223KiB/s 01:53 [############ ] 6= 7.9%Backtrace: In guix/serialization.scm: 468:33 19 (read "/tmp/u/share/guile/site/3.0" _) 468:33 18 (read "/tmp/u/share/guile/site/3.0/gnu" _) 468:33 17 (read "/tmp/u/share/guile/site/3.0/gnu/packages" _) 442:24 16 (read "/tmp/u/share/guile/site/3.0/gnu/packages/crates=E2=80= =A6" =E2=80=A6) 525:24 15 (_ "/tmp/u/share/guile/site/3.0/gnu/packages/crates-io=E2=80= =A6" =E2=80=A6) In ice-9/ports.scm: 433:17 14 (call-with-output-file _ _ #:binary _ #:encoding _) In guix/serialization.scm: 247:20 13 (dump # # =E2=80=A6) In unknown file: 12 (get-bytevector-n! # # 0 #) In gcrypt/hash.scm: 223:13 11 (read! #vu8(32 32 40 97 114 103 117 109 101 110 116 # =E2=80= =A6) =E2=80=A6) In unknown file: 10 (get-bytevector-n! # # 0 #) In lzlib.scm: 501:4 9 (lzread! # # =E2=80=A6) In unknown file: 8 (get-bytevector-n # 65537) In guix/progress.scm: 368:31 7 (read! _ _ _) In unknown file: 6 (get-bytevector-n! # # 0 #) In web/response.scm: 95:2 5 (read! _ _ _) In ice-9/boot-9.scm: 1685:16 4 (raise-exception _ #:continuable? _) 1685:16 3 (raise-exception _ #:continuable? _) 1780:13 2 (_ #<&compound-exception components: (#<&error> #<&irri=E2=80= =A6>) 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Throw to key `bad-response' with args `("EOF while reading response body: ~= a bytes of ~a" (26017808 37842870))'. This seems like a separate issue from #48903 though, so I opened a new bug report. Greetings, Maxime. --=-tO7Pa+hItpXUGc+pu4hF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYM8heBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qrFAP9FxwTW6dNL8SA2IbZIiCmPbvCb NocaTz3OnZMQiWWh+QEAoLRwuN7YppeSdBTBXw9Srco+cLG/RLYO7OFufqno0go= =qRxg -----END PGP SIGNATURE----- --=-tO7Pa+hItpXUGc+pu4hF--