Ludovic Courtès <ludo@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 49132) by debbugs.gnu.org; 22 Jun 2021 14:06:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 22 10:06:12 2021 Received: from localhost ([127.0.0.1]:39569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lvh2Z-0001kT-Ro for submit <at> debbugs.gnu.org; Tue, 22 Jun 2021 10:06:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1lvh2Z-0001kI-0b for 49132 <at> debbugs.gnu.org; Tue, 22 Jun 2021 10:06:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33604) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1lvh2T-0006rv-2c; Tue, 22 Jun 2021 10:06:05 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52858 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1lvh2S-0004Ki-RA; Tue, 22 Jun 2021 10:06:05 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Maxime Devos <maximedevos@HIDDEN> Subject: Re: bug#49132: guix substitute: backtrace when the network is disabled during substitution References: <87bl8hvhgx.fsf@HIDDEN> <bd60b06842be6645d2947e49b709ad358e9516bc.camel@HIDDEN> <87wnr05tfz.fsf@HIDDEN> <1fa57b9edcd62f9bea334688da9c4f009507b268.camel@HIDDEN> Date: Tue, 22 Jun 2021 16:06:02 +0200 In-Reply-To: <1fa57b9edcd62f9bea334688da9c4f009507b268.camel@HIDDEN> (Maxime Devos's message of "Sun, 20 Jun 2021 13:07:34 +0200") Message-ID: <87pmwe2dv9.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49132 Cc: 49132 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi, Maxime Devos <maximedevos@HIDDEN> skribis: > 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-libr= eoffice-6.4.7.2 /tmp/t && echo substitute /gnu/store/j0j7z6ckarjs9yi77sncsz= bmdgy38s70-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 [...] > In lzlib.scm: > 501:4 9 (lzread! #<lz-decoder 7f0d0b7d5ef0> #<input: string 7f=E2=80= =A6> =E2=80=A6) > In unknown file: > 8 (get-bytevector-n #<input: string 7f0d0b7d3e70> 65537) > In guix/progress.scm: > 368:31 7 (read! _ _ _) > In unknown file: > 6 (get-bytevector-n! #<input: string 7f0d0a15e4d0> # 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))'. Ah indeed, this is poorly handled. I=E2=80=99m not really sure how to address it. I/O ports are a nice abstra= ction as it allows you to transparently read =E2=80=9Cstreams=E2=80=9D from any m= edium, but as always, that also comes with opacity where the call site is not supposed to know what kind of exceptions might be thrown deep down. Thoughts? Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#49132
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 20 Jun 2021 11:08:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 20 07:08:04 2021 Received: from localhost ([127.0.0.1]:33148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1luvJ6-00074e-Hk for submit <at> 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 <maximedevos@HIDDEN>) id 1luvJ4-00074V-EX for submit <at> 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 <maximedevos@HIDDEN>) id 1luvJ4-0004Uv-9Q for bug-guix@HIDDEN; 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 <maximedevos@HIDDEN>) id 1luvIx-0001NK-RZ for bug-guix@HIDDEN; 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@HIDDEN> Subject: guix substitute: backtrace when the network is disabled during substitution From: Maxime Devos <maximedevos@HIDDEN> To: bug-guix@HIDDEN Date: Sun, 20 Jun 2021 13:07:34 +0200 In-Reply-To: <87wnr05tfz.fsf@HIDDEN> References: <87bl8hvhgx.fsf@HIDDEN> <bd60b06842be6645d2947e49b709ad358e9516bc.camel@HIDDEN> <87wnr05tfz.fsf@HIDDEN> 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@HIDDEN; 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --=-tO7Pa+hItpXUGc+pu4hF Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Debbugs-CC: ludo@HIDDEN 48903 <at> debbugs.gnu.org maxim.cournoyer@HIDDEN tags: + substituter Ludovic Court=C3=A8s schreef op vr 11-06-2021 om 17:09 [+0200]: > Hi Maxim{,e}! >=20 > Maxime Devos <maximedevos@HIDDEN> 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 #<input: string 7f0d0b7d3d90> #<output: /tmp/u/s=E2=80= =A6> =E2=80=A6) In unknown file: 12 (get-bytevector-n! #<input: string 7f0d0b7d3d90> # 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! #<input: string 7f0d0b7d3e00> # 0 #) In lzlib.scm: 501:4 9 (lzread! #<lz-decoder 7f0d0b7d5ef0> #<input: string 7f=E2=80= =A6> =E2=80=A6) In unknown file: 8 (get-bytevector-n #<input: string 7f0d0b7d3e70> 65537) In guix/progress.scm: 368:31 7 (read! _ _ _) In unknown file: 6 (get-bytevector-n! #<input: string 7f0d0a15e4d0> # 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--
Maxime Devos <maximedevos@HIDDEN>
:ludo@HIDDEN, 48903 <at> debbugs.gnu.org, maxim.cournoyer@HIDDEN, bug-guix@HIDDEN
.
Full text available.ludo@HIDDEN, 48903 <at> debbugs.gnu.org, maxim.cournoyer@HIDDEN, bug-guix@HIDDEN
:bug#49132
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.