From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aDjiJ9ohz2DuAgAAgWs5BA (envelope-from ) for ; Sun, 20 Jun 2021 13:09:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GC5zI9ohz2DBTAAAB5/wlQ (envelope-from ) for ; Sun, 20 Jun 2021 11:09:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BE6D7C66E for ; Sun, 20 Jun 2021 13:09:13 +0200 (CEST) Received: from localhost ([::1]:52272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luvKB-0005D7-Nf for larch@yhetil.org; Sun, 20 Jun 2021 07:09:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luvK3-0005Co-9r for bug-guix@gnu.org; Sun, 20 Jun 2021 07:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luvK3-000217-1s; Sun, 20 Jun 2021 07:09:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luvK2-00075q-IB; Sun, 20 Jun 2021 07:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49132: guix substitute: backtrace when the network is disabled during substitution Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: ludo@gnu.org, 48903@debbugs.gnu.org, maxim.cournoyer@gmail.com, bug-guix@gnu.org Resent-Date: Sun, 20 Jun 2021 11:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49132 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49132@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org X-Debbugs-Original-Xcc: ludo@gnu.org 48903@debbugs.gnu.org maxim.cournoyer@gmail.com Received: via spool by submit@debbugs.gnu.org id=B.162418728527200 (code B ref -1); Sun, 20 Jun 2021 11:09:02 +0000 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> From: Maxime Devos 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: , @gmail.com Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624187354; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Kc8iARcA6N+YeeDi6Po1iTIMwyl+V8e2g0iQqIVJf/s=; b=CgtH2RlsnpPD9BJnvPRRnF1oHr3YuJ56rUYBYEIgf+hlkcIQkWWUISHBeaGu/aFvnJMVRt FuJCkzv+Vkuu9yl1oWNp1+DMUl2TJQFBomeAMkbNjOYRWosIslxUA5UVtra8DG1TNUE0gP 31aVmL8zmEXXEajVcfeZa+YADpWm+E6qWgzQBkDJ3xQMu8S6C+8n+Q87Vr3PPUtcJrhKsH Jj7BlqYfDj/8qAt0F5rLPX88e9/K+oxmCQaJipggfN+1nOZ8D5Cy/To/vtVL9DIEWs09lx 86WszLXU/1wczydjb0PcGxp87M7ds6FhP8pshAIBB79fykQ1HA7mw/+5bYsqAQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624187354; a=rsa-sha256; cv=none; b=Hp9wZySrgOXnEALElrfC+MxBH8Nzy/zIa+yBZFo8/FOA/WnxzEv4Yb47YOQjSDf4jQS3Bj 3sXuKngsddgrDVCDPbaZdLZo4++wzajvzYeE0RGS/1LgpziiObVEYlUPBAfGAxeweYpzqi G45Sh7MsC51Y1w8Gmcw0g5urZ1qm9nTILw8VfHUd9tWmdDPQUOrUa67drUN2suoEUkvqI6 zPAvuovzUo9t2iVKWYRn30FnvEFgT3UdKgp9Zl8m+VAWsfTpVDXa0412Ao/RgawiXXhT+a mi2NxbOtiQ34gwn/YMsQvvau3OgoclkOVubOySKiskiQt3HsXrBj2acCDM4zKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=lLw4ejX7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=lLw4ejX7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: BE6D7C66E X-Spam-Score: -3.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: SvnTCrmxgRIr --=-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--