From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2DhOKCuWQ2D/ZAAA0tVLHw (envelope-from ) for ; Sat, 06 Mar 2021 14:48:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id dJjmIyuWQ2CiTAAAbx9fmQ (envelope-from ) for ; Sat, 06 Mar 2021 14:48:11 +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 C3859B0CE for ; Sat, 6 Mar 2021 15:48:09 +0100 (CET) Received: from localhost ([::1]:42628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIYDx-0003Q0-0m for larch@yhetil.org; Sat, 06 Mar 2021 09:48:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIYDq-0003Pt-PF for bug-guix@gnu.org; Sat, 06 Mar 2021 09:48:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53034) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lIYDq-0003ZH-IJ for bug-guix@gnu.org; Sat, 06 Mar 2021 09:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lIYDq-0005AU-Ft for bug-guix@gnu.org; Sat, 06 Mar 2021 09:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46967: Connection reuse for substitutes breaks with gzip Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 06 Mar 2021 14:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46967 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46967@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.161504203919810 (code B ref -1); Sat, 06 Mar 2021 14:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Mar 2021 14:47:19 +0000 Received: from localhost ([127.0.0.1]:36347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIYD8-00059S-Kc for submit@debbugs.gnu.org; Sat, 06 Mar 2021 09:47:18 -0500 Received: from lists.gnu.org ([209.51.188.17]:43950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIYD6-00059K-Vu for submit@debbugs.gnu.org; Sat, 06 Mar 2021 09:47:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIYD6-0003Gp-Nx for bug-guix@gnu.org; Sat, 06 Mar 2021 09:47:16 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39438) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIYD6-0003FH-GF for bug-guix@gnu.org; Sat, 06 Mar 2021 09:47:16 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=38872 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lIYD5-0006yu-91 for bug-guix@gnu.org; Sat, 06 Mar 2021 09:47:15 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 =?UTF-8?Q?Vent=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 06 Mar 2021 15:47:13 +0100 Message-ID: <878s70ibke.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , 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=1615042089; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=yQ/h1GzBDFbtqNd1W74DscoacJjvP2H4uYIuHFTDSgc=; b=Me37XO4+qHL7/OavrtZrCRNfsv60+Zbx/+mpDBDcruQQ+b07izF4+8U5dFW5FXsMvwXFJx 9SHQgCGdmOPetRpsGqqX8jQHfLtEaFm/kJqpOWkOMQdbb4AFsh0plQep2m0diYpbqiBbFn UbyzDAs9fPcIu64R1h5CqJtrZPHPzYPu8cT3vQ2ukkktXhgei0pb7P4WttmrAxNFtvYhFD oJAm/bf4/XGeNxjgnuy1Vr4wb8Re/n8eszwtd1NiK1wHLDAAdC7W9aw/0WbHV+wDOaUi+T gRUJgPKiqsSzV5ayLPPh1L7V/CwXD/8hTLYQ+8CAP4QfTBvOt4Ei/u77dSQEbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615042089; a=rsa-sha256; cv=none; b=cmo7HH1gfVmDhYLIjr5b52ipjeWNKQK0fKoael6BZ9qJyipFKdhSlt2TDp2FyFSgu0L4eJ DVHvoMZ1ZcMX7XAFSOoS0Yw5pkMN+Zfls4MEEPjCjpQmdtHZhe1lAb0q3/LtJhE34kMy0l pl32L7A+WCwraCSwab3hWEe/XpEFQ76zBCEQte3PgM/Ghp/ZMwikXMOSXr/edHJsk7JUfv sR02UWSB+unBhWnpRrVHpxvhEqyVcVrQD94z/OoId/l8ZSBYsgjvnUOCm/s7CWQ5O+wNNr vHGJfno2MRcyXs0KchzwJ2/ILEh48ZSoQaVYnTtZVSSbRobHC6aZ6vjhd9wUiw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -2.87 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: C3859B0CE X-Spam-Score: -2.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: ysL8V8AkrMOD As of commit cdc688c5ee106b7ee2547e4abd74ab81d7702d3d, it seems that the connection reuse code for substitutes breaks if you=E2=80=99re fetching gzip substitutes. I tweaked =E2=80=98narinfo-best-uri=E2=80=99 to always choose gzip, and her= e=E2=80=99s what I get: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build vigra inkscape eigen pt-scotch=20 accepted connection from pid 20839, user ludo 69.6 MB will be downloaded: /gnu/store/si36xnajxjnx7v6ywd7qyhyv8ar9aymn-vigra-1.11.1 /gnu/store/0fcjk788gj7k6gsf3zsx8j8lyw6w896b-inkscape-1.0.2 substituting /gnu/store/0fcjk788gj7k6gsf3zsx8j8lyw6w896b-inkscape-1.0.2... downloading from https://ci.guix.gnu.org/nar/gzip/0fcjk788gj7k6gsf3zsx8j8ly= w6w896b-inkscape-1.0.2 ... inkscape-1.0.2 38.6MiB = 16.8MiB/s 00:02 [##################] 100.0% substituting /gnu/store/si36xnajxjnx7v6ywd7qyhyv8ar9aymn-vigra-1.11.1... Backtrace: In guix/ui.scm: 2164:12 19 (run-guix-command _ . _) In guix/scripts/substitute.scm: 664:2 18 (guix-substitute . _) In unknown file: 17 (with-continuation-barrier #) In ice-9/boot-9.scm: 1736:10 16 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In unknown file: 15 (apply-smob/0 #) In ice-9/boot-9.scm: 1736:10 14 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) 1736:10 13 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) 1731:15 12 (with-exception-handler # _ #:unwind? _ # _) In guix/scripts/substitute.scm: 713:17 11 (_) 414:7 10 (process-substitution _ "/gnu/store/si36xnajxjnx7v6ywd7qyhyv8a= r9aymn-vigra-1.11.1" #:cache-urls _ #:acl =E2=80=A6) In ice-9/boot-9.scm: 1736:10 9 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/scripts/substitute.scm: 423:9 8 (_) In ice-9/boot-9.scm: 1731:15 7 (with-exception-handler # _ #:unwind? _ # _) 1669:16 6 (raise-exception _ #:continuable? _) 1667:16 5 (raise-exception _ #:continuable? _) 1669:16 4 (raise-exception _ #:continuable? _) 1764:13 3 (_ #<&compound-exception components: (#<&error> #<&irritants i= rritants: (http-version "_'$=C3=80=C3=A7v\x8b\x8f7=E2=80=A6>) 1669:16 2 (raise-exception _ #:continuable? _) 1667:16 1 (raise-exception _ #:continuable? _) 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: Bad http-version header component: _'$=C3=80=C3=A7v=C2=8B=C2=8F7$H? Backtrace: In ice-9/boot-9.scm: 1736:10 4 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In unknown file: 3 (apply-smob/0 #) In ice-9/boot-9.scm: 718:2 2 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 1 (_ #(#(#))) In guix/ui.scm: 2164:12 0 (run-guix-command _ . _) guix/ui.scm:2164:12: In procedure run-guix-command: Bad http-version header component: _'$=C3=80=C3=A7v=C2=8B=C2=8F7$H? substitution of /gnu/store/si36xnajxjnx7v6ywd7qyhyv8ar9aymn-vigra-1.11.1 fa= iled guix build: error: some substitutes for the outputs of derivation `/gnu/sto= re/k32m5dcf31psvx66n95icxbvyimrjrk5-vigra-1.11.1.drv' failed (usually happe= ns due to networking issues); try `--fallback' to build derivation from sou= rce=20 $ wget -qO - https://ci.guix.gnu.org/nar/gzip/si36xnajxjnx7v6ywd7qyhyv8ar9a= ymn-vigra-1.11.1 | gunzip > /dev/null $ echo $? 0--8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99.