From unknown Sat Aug 16 18:47:01 2025 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-Spam-Score: -2.3 (--) 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: -3.3 (---) 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 09 06:05:54 2021 Received: (at control) by debbugs.gnu.org; 9 Mar 2021 11:05:54 +0000 Received: from localhost ([127.0.0.1]:45739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJaBV-000554-Tx for submit@debbugs.gnu.org; Tue, 09 Mar 2021 06:05:54 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:58325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJaBU-00054m-4c for control@debbugs.gnu.org; Tue, 09 Mar 2021 06:05:52 -0500 X-IronPort-AV: E=Sophos;i="5.81,234,1610406000"; d="scan'208";a="496921036" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2021 12:05:22 +0100 Date: Tue, 09 Mar 2021 12:05:22 +0100 Message-Id: <87a6rca8p9.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #46967 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: control 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 (--) severity 46967 important quit From unknown Sat Aug 16 18:47:01 2025 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: Tue, 09 Mar 2021 11:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46967 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46967@debbugs.gnu.org Received: via spool by 46967-submit@debbugs.gnu.org id=B46967.161528804319724 (code B ref 46967); Tue, 09 Mar 2021 11:08:02 +0000 Received: (at 46967) by debbugs.gnu.org; 9 Mar 2021 11:07:23 +0000 Received: from localhost ([127.0.0.1]:45746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJaCx-000584-FX for submit@debbugs.gnu.org; Tue, 09 Mar 2021 06:07:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJaCv-00057p-MM for 46967@debbugs.gnu.org; Tue, 09 Mar 2021 06:07:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34920) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJaCq-0001kO-Ht for 46967@debbugs.gnu.org; Tue, 09 Mar 2021 06:07:16 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45456 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lJaCn-0007LQ-QY for 46967@debbugs.gnu.org; Tue, 09 Mar 2021 06:07:14 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878s70ibke.fsf@inria.fr> Date: Tue, 09 Mar 2021 12:07:11 +0100 In-Reply-To: <878s70ibke.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 06 Mar 2021 15:47:13 +0100") Message-ID: <8735x4a8m8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) 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: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s skribis: > As of commit cdc688c5ee106b7ee2547e4abd74ab81d7702d3d, it seems that the > connection reuse code for substitutes breaks if you=E2=80=99re fetching g= zip > substitutes. Here=E2=80=99s a simple reproducer that systematically fails after the first download: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guile ~/src/guix-debugging/http-pipelining-gzip.scm ;;; (fetch 164664960) Backtrace: In ice-9/boot-9.scm: 1736:10 11 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In unknown file: 10 (apply-smob/0 #) In ice-9/boot-9.scm: 718:2 9 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 8 (_ #(#(#))) In ice-9/boot-9.scm: 2806:4 7 (save-module-excursion _) 4351:12 6 (_) In /home/ludo/src/guix-debugging/http-pipelining-gzip.scm: 18:4 5 (_) In guix/http-client.scm: 116:21 4 (http-fetch _ #:port _ #:text? _ #:buffered? _ #:open-connecti= on _ #:keep-alive? _ # _ #:headers _ # _) In web/client.scm: 526:24 3 (http-request _ #:body _ #:verify-certificate? _ #:port _ #:me= thod _ #:version _ #:keep-alive? _ # _ # =E2=80=A6) In web/response.scm: 198:31 2 (read-response #) In web/http.scm: 1194:12 1 (read-response-line _) 252:2 0 (parse-http-version _ _ _) web/http.scm:252:2: In procedure parse-http-version: Bad http-version header component: =1F=00=00=03=C3=AC=C2=BD --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99. --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=http-pipelining-gzip.scm Content-Description: the reproducer (use-modules (guix http-client) ((guix build download) #:select (open-connection-for-uri)) (guix utils) ((guix serialization) #:select (dump-port*)) (web uri) (web request) (web response) (srfi srfi-1)) (define %base-url "https://ci.guix.gnu.org") (define port (open-connection-for-uri (string->uri %base-url))) (let loop () (define-values (input size) (http-fetch (string->uri "https://ci.guix.gnu.org/nar/gzip/0fcjk788gj7k6gsf3zsx8j8lyw6w896b-inkscape-1.0.2") #:port port #:text? #f #:open-connection open-connection-for-uri ;/cached #:keep-alive? #t #:buffered? #f)) (define-values (decompressed pids) (decompressed-port 'gzip input)) (setvbuf decompressed 'none) (call-with-output-file "/tmp/out" (lambda (output) (setvbuf output 'none) (dump-port* decompressed output (pk 'fetch 164664960)))) ;size of compressed nar (unless (every (compose zero? cdr waitpid) pids) (error "decomp error")) (loop)) --=-=-=-- From unknown Sat Aug 16 18:47:01 2025 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: Tue, 09 Mar 2021 13:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46967 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46967@debbugs.gnu.org Received: via spool by 46967-submit@debbugs.gnu.org id=B46967.161529560315625 (code B ref 46967); Tue, 09 Mar 2021 13:14:01 +0000 Received: (at 46967) by debbugs.gnu.org; 9 Mar 2021 13:13:23 +0000 Received: from localhost ([127.0.0.1]:45933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJcAt-00043x-Gl for submit@debbugs.gnu.org; Tue, 09 Mar 2021 08:13:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJcAs-00043l-2Z for 46967@debbugs.gnu.org; Tue, 09 Mar 2021 08:13:22 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36801) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJcAm-0005H9-QX for 46967@debbugs.gnu.org; Tue, 09 Mar 2021 08:13:16 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45838 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lJcAg-0000mm-6r for 46967@debbugs.gnu.org; Tue, 09 Mar 2021 08:13:11 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878s70ibke.fsf@inria.fr> <8735x4a8m8.fsf@gnu.org> Date: Tue, 09 Mar 2021 14:13:08 +0100 In-Reply-To: <8735x4a8m8.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 09 Mar 2021 12:07:11 +0100") Message-ID: <87r1ko8o7v.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) 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: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Even simpler: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guile ~/src/guix-debugging/http-pipelining-gzip.scm ;;; (port #) ;;; (input #) ;;; (drain "") ;;; (fetch 16397) ;;; (port #) Backtrace: In ice-9/boot-9.scm: 1736:10 11 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In unknown file: 10 (apply-smob/0 #) In ice-9/boot-9.scm: 718:2 9 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 8 (_ #(#(#))) In ice-9/boot-9.scm: 2806:4 7 (save-module-excursion _) 4351:12 6 (_) In /home/ludo/src/guix-debugging/http-pipelining-gzip.scm: 18:4 5 (_) In guix/http-client.scm: 116:21 4 (http-fetch _ #:port _ #:text? _ #:buffered? _ #:open-connecti= on _ #:keep-alive? _ # _ #:headers _ # _) In web/client.scm: 526:24 3 (http-request _ #:body _ #:verify-certificate? _ #:port _ #:me= thod _ #:version _ #:keep-alive? _ # _ # =E2=80=A6) In web/response.scm: 198:31 2 (read-response #) In web/http.scm: 1194:12 1 (read-response-line _) 252:2 0 (parse-http-version _ _ _) web/http.scm:252:2: In procedure parse-http-version: Bad http-version header component: 8--- --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=http-pipelining-gzip.scm Content-Description: reproducer (use-modules (guix http-client) ((guix build download) #:select (open-connection-for-uri)) (guix utils) ((guix serialization) #:select (dump-port*)) (web uri) (web request) (web response) (srfi srfi-1)) (define %base-url "https://guix.gnu.org") (define port (open-connection-for-uri (string->uri %base-url))) (let loop () (define-values (input size) (http-fetch (string->uri %base-url) #:port (pk 'port port) #:text? #f #:open-connection open-connection-for-uri ;/cached #:keep-alive? #t #:buffered? #f)) (define-values (decompressed pids) (filtered-port '("/run/current-system/profile/bin/cat") (pk 'input input))) (dump-port* decompressed (%make-void-port "w") (pk 'fetch size)) (unless (every (compose zero? cdr waitpid) pids) (error "decomp error")) (loop)) --=-=-=-- From unknown Sat Aug 16 18:47:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46967: Connection reuse for substitutes breaks with gzip References: <878s70ibke.fsf@inria.fr> In-Reply-To: <878s70ibke.fsf@inria.fr> Resent-From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 10 Mar 2021 01:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46967 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46967@debbugs.gnu.org Received: via spool by 46967-submit@debbugs.gnu.org id=B46967.161533975222168 (code B ref 46967); Wed, 10 Mar 2021 01:30:02 +0000 Received: (at 46967) by debbugs.gnu.org; 10 Mar 2021 01:29:12 +0000 Received: from localhost ([127.0.0.1]:48312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJnex-0005lT-GM for submit@debbugs.gnu.org; Tue, 09 Mar 2021 20:29:12 -0500 Received: from mail.zaclys.net ([178.33.93.72]:43051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJnes-0005kt-Cj for 46967@debbugs.gnu.org; Tue, 09 Mar 2021 20:29:10 -0500 Received: from guix-xps.local (82-64-145-38.subs.proxad.net [82.64.145.38]) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 12A1Sxkw031123 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <46967@debbugs.gnu.org>; Wed, 10 Mar 2021 02:28:59 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 12A1Sxkw031123 Authentication-Results: mail.zaclys.net; dmarc=fail (p=reject dis=none) header.from=zaclys.net Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1615339739; bh=f+5Fh+ZpF6VYUZ2f9utuqD/9dS0zd//Ipc3sKP++TcI=; h=Subject:From:To:Date:From; b=QcY/SMhW6co4ZbJ+9/JG6VEbO7wnr+jZGmThWsUbN2Enl6Xf1+PYJLvTLDW2DF/IJ TQ0reOjwKnDVFgncDhPneVQVG/qF5rk7pFpE1LhtuQ0oxGJ3dh0WEhWPbfqZwXn7Eq T/2W8brfxzR2Q/nOlxZIzLnRmiBfVQYcCLC276gM= Message-ID: <7a9c7364e8d1d5262dc3dfcd922bb537d9ca4b7f.camel@zaclys.net> From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Date: Wed, 10 Mar 2021 02:28:55 +0100 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-QXsUmOpXSocQPuYVpBU5" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) 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: -1.0 (-) --=-QXsUmOpXSocQPuYVpBU5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I am also affected by this issue (non-deterministically) it seems. Requires me to run 'guix system reconfigure ..' several times for things to work. --=-QXsUmOpXSocQPuYVpBU5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAmBIINcACgkQRaix6GvN EKYaHA//UJZ2zKzed5xBPd20IiJRuugBx8P9k/1TyxlaNFFLAZKu7ms03IE4KPIJ z0h6f/MbzCh7Je5lucZliW0zKBzBMgBsOA/px+QapCBiHHQIVqYnqY4WVg26Gr5s mgliLYEWLZ/dCf6bKqh50R8rtfVyMaoOFPihYpApFH7GPr9SNzkALamJfiUa1Sm0 RonDielTpMavcG8Ziw5CgvfrkazoAtt5fGum99X8eCrKMIHKfnlpymL+F/S58YK0 7bsTNKKz2q1qk9jhfVBxbrNgMzwEYpN4SXQH/psQOsPpSmcJY4snyIlyUyaBArYg Sy2VpijXVjC3KZ4YNJLGRoTmc9FCLWHrhc4Df3dwdH7RR4bg5sTBJSaKpF9uXx3/ SqOifxYPyckBn+WriTVRzvIMW79j6YYNvThqZxTAHitZTqn9ia8eDNrql/UWLocr cSW+hoQMi9NcAGTORsA5GVfA480rOJvcARtdV/0KNz2+itVXsFO2HHIvimOLQh8C Zc0tzzXu76krRRm7IDvecmdFV4TZw4FNkVsItlcfbEh0khLmKx6+437mnEQ5D5K/ pP0bJXXZ8+MEUALbLcyC2Kq/wnkdP3XHD7gBQG1CUNmUuUKLjQ0kadT9t1eMOvAs 06qgva0GgJ5dTx7fbqr6mGndcfM7KgffBtIN6VzyIBGU/5gpI3U= =F1+b -----END PGP SIGNATURE----- --=-QXsUmOpXSocQPuYVpBU5-- From unknown Sat Aug 16 18:47:01 2025 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: Thu, 11 Mar 2021 08:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46967 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46967@debbugs.gnu.org Received: via spool by 46967-submit@debbugs.gnu.org id=B46967.161545121214485 (code B ref 46967); Thu, 11 Mar 2021 08:27:02 +0000 Received: (at 46967) by debbugs.gnu.org; 11 Mar 2021 08:26:52 +0000 Received: from localhost ([127.0.0.1]:52549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKGei-0003lZ-1I for submit@debbugs.gnu.org; Thu, 11 Mar 2021 03:26:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKGef-0003lL-VK for 46967@debbugs.gnu.org; Thu, 11 Mar 2021 03:26:50 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57774) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKGea-0002VK-Ip for 46967@debbugs.gnu.org; Thu, 11 Mar 2021 03:26:44 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54686 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lKGea-0007Ol-51 for 46967@debbugs.gnu.org; Thu, 11 Mar 2021 03:26:44 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878s70ibke.fsf@inria.fr> <8735x4a8m8.fsf@gnu.org> <87r1ko8o7v.fsf@gnu.org> Date: Thu, 11 Mar 2021 09:26:42 +0100 In-Reply-To: <87r1ko8o7v.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 09 Mar 2021 14:13:08 +0100") Message-ID: <87eegmxfi5.fsf@gnu.org> 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-Spam-Score: -0.7 (/) 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: -1.7 (-) Turns out GnuTLS has a buffer for the record layer attached to the session. After the first GET in the main process, it looks like this: --8<---------------cut here---------------start------------->8--- (gdb) p session->internals.record_buffer $9 =3D {head =3D 0x7f7370, tail =3D 0x7f7370, length =3D 1, byte_length =3D= 16219} (gdb) p *session->internals.record_buffer->head $10 =3D {next =3D 0x0, prev =3D 0x0, mark =3D 165, msg =3D { data =3D 0x7f73c0 "HTTP/1.1 200 OK\r\nServer: nginx\r\nDate: Wed, 10 Ma= r 2021 21:23:44 GMT\r\nContent-Type: text/html\r\nContent-Length: 16397\r\n= Connection: keep-alive\r\nAccept-Ranges: bytes\r\n\r\ninternals.record_buffer->head.msg.data[165]) $11 =3D 60 '<' (gdb) p (&session->internals.record_buffer->head.msg.data[165]) $12 =3D (unsigned char *) 0x7f7465 "GNU's advanced distro and transactional package manager =E2=80=94 = GNU=C2=A0Guix8--- IOW, the main process hasn=E2=80=99t consumed the body of the HTTP response. This is because with =E2=80=98filtered-port=E2=80=99, the input port is dum= ped from a child process, not from the calling process. To be continued=E2=80=A6 Ludo=E2=80=99. From unknown Sat Aug 16 18:47:01 2025 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: Fri, 12 Mar 2021 10:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46967 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46967@debbugs.gnu.org Received: via spool by 46967-submit@debbugs.gnu.org id=B46967.16155457324510 (code B ref 46967); Fri, 12 Mar 2021 10:43:02 +0000 Received: (at 46967) by debbugs.gnu.org; 12 Mar 2021 10:42:12 +0000 Received: from localhost ([127.0.0.1]:56123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKfFE-0001Af-8D for submit@debbugs.gnu.org; Fri, 12 Mar 2021 05:42:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKfFC-0001AQ-Gb for 46967@debbugs.gnu.org; Fri, 12 Mar 2021 05:42:10 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35151) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKfF7-0001zY-1k for 46967@debbugs.gnu.org; Fri, 12 Mar 2021 05:42:05 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=59004 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lKfF5-0000X0-LG for 46967@debbugs.gnu.org; Fri, 12 Mar 2021 05:42:04 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878s70ibke.fsf@inria.fr> <8735x4a8m8.fsf@gnu.org> <87r1ko8o7v.fsf@gnu.org> <87eegmxfi5.fsf@gnu.org> Date: Fri, 12 Mar 2021 11:42:01 +0100 In-Reply-To: <87eegmxfi5.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 11 Mar 2021 09:26:42 +0100") Message-ID: <87r1kkvekm.fsf@gnu.org> 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-Spam-Score: 0.0 (/) 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: -1.0 (-) Hi! Ludovic Court=C3=A8s skribis: > This is because with =E2=80=98filtered-port=E2=80=99, the input port is d= umped from a > child process, not from the calling process. I decided to take a heavy-handed solution to that problem, which is to augment Guile-zlib with an interface for gzip compression/decompression not restricted to file ports (=E2=80=98call-with-gzip-output-port=E2=80=99 = & co. are restricted to file ports): https://notabug.org/guile-zlib/guile-zlib/commit/b899ac2fecf91475da1eba7e= 7b24708ea8b5fb73 That way, we can change =E2=80=98decompressed-port=E2=80=99 in (guix utils)= to perform in-process decompression for =E2=80=98gzip=E2=80=99, like it does for zstd = and lzip. If everything goes well, I=E2=80=99ll cut a Guile-zlib release today and up= date Guix accordingly. Ludo=E2=80=99. From unknown Sat Aug 16 18:47:01 2025 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: Fri, 12 Mar 2021 15:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46967 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46967@debbugs.gnu.org Received: via spool by 46967-submit@debbugs.gnu.org id=B46967.16155617427934 (code B ref 46967); Fri, 12 Mar 2021 15:10:02 +0000 Received: (at 46967) by debbugs.gnu.org; 12 Mar 2021 15:09:02 +0000 Received: from localhost ([127.0.0.1]:58078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKjPR-00023r-Sb for submit@debbugs.gnu.org; Fri, 12 Mar 2021 10:09:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKjPN-00023X-V0 for 46967@debbugs.gnu.org; Fri, 12 Mar 2021 10:09:01 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53216) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKjPI-0005ug-Qx for 46967@debbugs.gnu.org; Fri, 12 Mar 2021 10:08:52 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60126 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lKjPH-0005sb-26 for 46967@debbugs.gnu.org; Fri, 12 Mar 2021 10:08:52 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878s70ibke.fsf@inria.fr> <8735x4a8m8.fsf@gnu.org> <87r1ko8o7v.fsf@gnu.org> <87eegmxfi5.fsf@gnu.org> <87r1kkvekm.fsf@gnu.org> Date: Fri, 12 Mar 2021 16:08:49 +0100 In-Reply-To: <87r1kkvekm.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 12 Mar 2021 11:42:01 +0100") Message-ID: <87sg50tnni.fsf@gnu.org> 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-Spam-Score: 0.0 (/) 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: -1.0 (-) Ludovic Court=C3=A8s skribis: > I decided to take a heavy-handed solution to that problem, which is to > augment Guile-zlib with an interface for gzip compression/decompression > not restricted to file ports (=E2=80=98call-with-gzip-output-port=E2=80= =99 & co. are > restricted to file ports): > > https://notabug.org/guile-zlib/guile-zlib/commit/b899ac2fecf91475da1eba= 7e7b24708ea8b5fb73 > > That way, we can change =E2=80=98decompressed-port=E2=80=99 in (guix util= s) to perform > in-process decompression for =E2=80=98gzip=E2=80=99, like it does for zst= d and lzip. Done in a04aef2430645357d7796969d4b6453478ff8a3f! I=E2=80=99ll update the =E2=80=98guix=E2=80=99 package so people on Guix Sy= stem can get the fix, and then we can close this bug. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 12 10:39:44 2021 Received: (at control) by debbugs.gnu.org; 12 Mar 2021 15:39:44 +0000 Received: from localhost ([127.0.0.1]:58129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKjt9-0004uz-Tz for submit@debbugs.gnu.org; Fri, 12 Mar 2021 10:39:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKjt9-0004uj-1E for control@debbugs.gnu.org; Fri, 12 Mar 2021 10:39:43 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53957) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKjt3-0006MN-KB for control@debbugs.gnu.org; Fri, 12 Mar 2021 10:39:37 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60274 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lKjt3-0002vK-55 for control@debbugs.gnu.org; Fri, 12 Mar 2021 10:39:37 -0500 Date: Fri, 12 Mar 2021 16:39:36 +0100 Message-Id: <87k0qcs7nr.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #46967 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control 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: -1.7 (-) merge 46967 47055 quit From unknown Sat Aug 16 18:47:01 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#46967: closed (Re: bug#46967: Connection reuse for substitutes breaks with gzip) Message-ID: References: <87mtv6m44e.fsf@gnu.org> <878s70ibke.fsf@inria.fr> X-Gnu-PR-Message: they-closed 46967 X-Gnu-PR-Package: guix Reply-To: 46967@debbugs.gnu.org Date: Sun, 14 Mar 2021 10:18:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1615717082-24059-1" This is a multi-part message in MIME format... ------------=_1615717082-24059-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #46967: Connection reuse for substitutes breaks with gzip which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 46967@debbugs.gnu.org. --=20 46967: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D46967 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1615717082-24059-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 46967-done) by debbugs.gnu.org; 14 Mar 2021 10:17:20 +0000 Received: from localhost ([127.0.0.1]:32983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLNoF-0006F8-MB for submit@debbugs.gnu.org; Sun, 14 Mar 2021 06:17:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLNoA-0006Er-G8 for 46967-done@debbugs.gnu.org; Sun, 14 Mar 2021 06:17:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50264) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLNo5-0001Hh-BJ for 46967-done@debbugs.gnu.org; Sun, 14 Mar 2021 06:17:09 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39640 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lLNo4-00081m-C0 for 46967-done@debbugs.gnu.org; Sun, 14 Mar 2021 06:17:08 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 46967-done@debbugs.gnu.org Subject: Re: bug#46967: Connection reuse for substitutes breaks with gzip References: <878s70ibke.fsf@inria.fr> <8735x4a8m8.fsf@gnu.org> <87r1ko8o7v.fsf@gnu.org> <87eegmxfi5.fsf@gnu.org> <87r1kkvekm.fsf@gnu.org> <87sg50tnni.fsf@gnu.org> Date: Sun, 14 Mar 2021 11:17:05 +0100 In-Reply-To: <87sg50tnni.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 12 Mar 2021 16:08:49 +0100") Message-ID: <87mtv6m44e.fsf@gnu.org> 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46967-done 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: -1.0 (-) Ludovic Court=C3=A8s skribis: > Ludovic Court=C3=A8s skribis: > >> I decided to take a heavy-handed solution to that problem, which is to >> augment Guile-zlib with an interface for gzip compression/decompression >> not restricted to file ports (=E2=80=98call-with-gzip-output-port=E2=80= =99 & co. are >> restricted to file ports): >> >> https://notabug.org/guile-zlib/guile-zlib/commit/b899ac2fecf91475da1eb= a7e7b24708ea8b5fb73 >> >> That way, we can change =E2=80=98decompressed-port=E2=80=99 in (guix uti= ls) to perform >> in-process decompression for =E2=80=98gzip=E2=80=99, like it does for zs= td and lzip. > > Done in a04aef2430645357d7796969d4b6453478ff8a3f! > > I=E2=80=99ll update the =E2=80=98guix=E2=80=99 package so people on Guix = System can get the fix, > and then we can close this bug. Done in 8154beffd8c121e953a7c4cd75c3eebfcc073a9a, closing! Ludo=E2=80=99. ------------=_1615717082-24059-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Subject: Connection reuse for substitutes breaks with gzip 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?= =?utf-8?Q?=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-Spam-Score: -2.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: -3.3 (---) 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. ------------=_1615717082-24059-1-- From unknown Sat Aug 16 18:47:01 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jan Wielkiewicz Subject: bug#47055: closed (Re: bug#46967: Connection reuse for substitutes breaks with gzip) Message-ID: References: <87mtv6m44e.fsf@gnu.org> <20210310190539.7237e8b9@interia.pl> X-Gnu-PR-Message: they-closed 47055 X-Gnu-PR-Package: guix Reply-To: 47055@debbugs.gnu.org Date: Sun, 14 Mar 2021 10:18:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1615717082-24059-3" This is a multi-part message in MIME format... ------------=_1615717082-24059-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #46967: guix upgrade throws a backtrace which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 47055@debbugs.gnu.org. --=20 46967: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D46967 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1615717082-24059-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 46967-done) by debbugs.gnu.org; 14 Mar 2021 10:17:20 +0000 Received: from localhost ([127.0.0.1]:32983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLNoF-0006F8-MB for submit@debbugs.gnu.org; Sun, 14 Mar 2021 06:17:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLNoA-0006Er-G8 for 46967-done@debbugs.gnu.org; Sun, 14 Mar 2021 06:17:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50264) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLNo5-0001Hh-BJ for 46967-done@debbugs.gnu.org; Sun, 14 Mar 2021 06:17:09 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39640 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lLNo4-00081m-C0 for 46967-done@debbugs.gnu.org; Sun, 14 Mar 2021 06:17:08 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 46967-done@debbugs.gnu.org Subject: Re: bug#46967: Connection reuse for substitutes breaks with gzip References: <878s70ibke.fsf@inria.fr> <8735x4a8m8.fsf@gnu.org> <87r1ko8o7v.fsf@gnu.org> <87eegmxfi5.fsf@gnu.org> <87r1kkvekm.fsf@gnu.org> <87sg50tnni.fsf@gnu.org> Date: Sun, 14 Mar 2021 11:17:05 +0100 In-Reply-To: <87sg50tnni.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 12 Mar 2021 16:08:49 +0100") Message-ID: <87mtv6m44e.fsf@gnu.org> 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46967-done 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: -1.0 (-) Ludovic Court=C3=A8s skribis: > Ludovic Court=C3=A8s skribis: > >> I decided to take a heavy-handed solution to that problem, which is to >> augment Guile-zlib with an interface for gzip compression/decompression >> not restricted to file ports (=E2=80=98call-with-gzip-output-port=E2=80= =99 & co. are >> restricted to file ports): >> >> https://notabug.org/guile-zlib/guile-zlib/commit/b899ac2fecf91475da1eb= a7e7b24708ea8b5fb73 >> >> That way, we can change =E2=80=98decompressed-port=E2=80=99 in (guix uti= ls) to perform >> in-process decompression for =E2=80=98gzip=E2=80=99, like it does for zs= td and lzip. > > Done in a04aef2430645357d7796969d4b6453478ff8a3f! > > I=E2=80=99ll update the =E2=80=98guix=E2=80=99 package so people on Guix = System can get the fix, > and then we can close this bug. Done in 8154beffd8c121e953a7c4cd75c3eebfcc073a9a, closing! Ludo=E2=80=99. ------------=_1615717082-24059-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Mar 2021 18:15:44 +0000 Received: from localhost ([127.0.0.1]:51821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lK3N2-0004H6-6s for submit@debbugs.gnu.org; Wed, 10 Mar 2021 13:15:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:39758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lK3N0-0004Gz-5H for submit@debbugs.gnu.org; Wed, 10 Mar 2021 13:15:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lK3Mz-0005QT-V4 for bug-guix@gnu.org; Wed, 10 Mar 2021 13:15:41 -0500 Received: from smtpo.poczta.interia.pl ([217.74.65.154]:56890) by eggs.gnu.org with esmtps (TLS1.2:RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lK3Mx-0006NF-6V for bug-guix@gnu.org; Wed, 10 Mar 2021 13:15:41 -0500 X-Interia-R: Interia X-Interia-R-IP: 89.64.63.190 X-Interia-R-Helo: Received: from localhost (89-64-63-190.dynamic.chello.pl [89.64.63.190]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA for ; Wed, 10 Mar 2021 19:07:43 +0100 (CET) Date: Wed, 10 Mar 2021 19:07:29 +0100 From: Jan Wielkiewicz To: bug-guix@gnu.org Subject: guix upgrade throws a backtrace Message-ID: <20210310190539.7237e8b9@interia.pl> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1615399663; bh=MpT6mwRHmi09D44SwdvLBSXiaaXhyzLRd959Gjw40g0=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:Date:From:To:Subject: Message-ID:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding:X-Interia-Antivirus; b=u2F8PzLTRJ0f6YKEXQLhtgJ6uqdpLLKz1axuD+FMbJRzMVKYm/tgUlaKqrcoX8t/J san2yEpjSQ3gKjPN+kerAhwI1sibaBCxdO+U3wcavYXyZSP+N6OCSPuvXS+gHCbw7u ZkPZBpu+tu0kyxnGQPYq0caqeExnjEWKPJ83xk+k= Received-SPF: pass client-ip=217.74.65.154; envelope-from=tona_kosmicznego_smiecia@interia.pl; helo=smtpo.poczta.interia.pl 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.5 (/) 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.4 (--) Hello, running guix pull and then guix upgrade gave me this backtrace. The version is: guix (GNU Guix) 6e70211b20537b018e639b0114d3ccddd4924acb Backtrace: In guix/ui.scm: 2164:12 19 (run-guix-command _ . _) In guix/scripts/substitute.scm: 633:2 18 (guix-substitute . _) In unknown file: 17 (with-continuation-barrier #) In ice-9/boot-9.scm: 1736:10 16 (with-exception-handler _ _ #:unwind? _ # _) In unknown file: 15 (apply-smob/0 #) In ice-9/boot-9.scm: 1736:10 14 (with-exception-handler _ _ #:unwind? _ # _) 1736:10 13 (with-exception-handler _ _ #:unwind? _ # _) 1731:15 12 (with-exception-handler # =E2=80=A6) In guix/scripts/substitute.scm: 682:17 11 (_) 391:7 10 (process-substitution _ "/gnu/store/9iyfc2g1585ps9danh=E2=80= =A6" =E2=80=A6) In ice-9/boot-9.scm: 1736:10 9 (with-exception-handler _ _ #:unwind? _ # _) In guix/scripts/substitute.scm: 400:9 8 (_) In ice-9/boot-9.scm: 1731:15 7 (with-exception-handler # =E2=80=A6) 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> #<&irri=E2=80= =A6>) 1669:16 2 (raise-exception _ #:continuable? _) 1667:16 1 (raise-exception _ #:continuable? _) V)=C3=AF=C2=BE=C3=89D=C2=ADsubstitution of /gnu/store/9iyfc2g1585ps9danh95p0mw56pw8ik5-bison-3.5.3 failed _ #:continuable? _) =C3=B0=C2=AD^z=C3=9C=C2=AA=C3=85sz=C3=B2 guix syst= em: error: corrupt input while restoring archive from # Jan Wielkiewicz ------------=_1615717082-24059-3-- From unknown Sat Aug 16 18:47:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46967: Connection reuse for substitutes breaks with gzip Resent-From: Bonface Munyoki K. Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 16 Mar 2021 18:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46967 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46967@debbugs.gnu.org Cc: ludo@gnu.org Received: via spool by 46967-submit@debbugs.gnu.org id=B46967.161591966332461 (code B ref 46967); Tue, 16 Mar 2021 18:35:02 +0000 Received: (at 46967) by debbugs.gnu.org; 16 Mar 2021 18:34:23 +0000 Received: from localhost ([127.0.0.1]:41047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMEWM-0008RU-Jq for submit@debbugs.gnu.org; Tue, 16 Mar 2021 14:34:22 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:60449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMEWJ-0008RA-6F for 46967@debbugs.gnu.org; Tue, 16 Mar 2021 14:34:20 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 52459F8F; Tue, 16 Mar 2021 14:34:13 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 16 Mar 2021 14:34:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= bonfacemunyoki.com; h=from:to:cc:subject:references:date :in-reply-to:message-id:mime-version:content-type; s=fm1; bh=hHE /WZhL33kRou8cC1Pr2nfOYab5JvLSJzX/fUfU4EI=; b=esgiywqnWuL7/btExkT ODOtl8iklhTzvSBVmokRGCgOjuivxCo28rDeIf2DYhuusJZsCaP65xBB9bbLHQ0z 7T9ARW78/Dg26/PJezaPX/w3shvgm/XHVuplvnZbP7d2czHhn1utL9pWIEJrtxcs MUTr9tG07c/eZOO74tmmQZx/63+d8+je/sSn2/7P/e7cZQ4Ppn1ZwxCRHyTwDsgh oL4Dx3GpCaOmNAPuF/uHicuFpnxNTiHHW277D2ix1j8fufzrIIvzWpEpWKplnlvE 91rfsZlQrXk0Ft9DQB2t8HOcGzq9bwk1XZUuhka1c1YE5Y3m+7x+juZQeQmMMXBQ fXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=hHE/WZ hL33kRou8cC1Pr2nfOYab5JvLSJzX/fUfU4EI=; b=fhmytbFdpxaUOa5deGcf+J Y6PSi0J2MnMzU5lI7Kx4kB8rldYEJaI6TcpolUP4bHARag+m/B5eIm8FHTtJ9XsQ pyVqMV+nAs0f0P1AHu2fVKqQ2fkoumZujdHMOqO7lRNNJMFm97y/gd8WYy0mVuiK XB1a9ruo0q4j5uNjhyVo8Wwhu5P2wCPn8ct7slmnutEx+FCloTTPbBs5pHE16MLQ Z1S7heDZPnye/AckLYtAcTLTd2qpdfG4XPOlppQPmmomnxen/AESaDa910vy6c+P wEQxPR4fNzq9EWe7JXzedKTUJ4/WsJR3eY1sNMRUejcikhUA6pDI8F5+P6WFSNYg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefvddgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhfffgjkfgfgggtsehgtd erredtreejnecuhfhrohhmpeeuohhnfhgrtggvucfouhhnhihokhhiucfmrdcuoehmvges sghonhhfrggtvghmuhhnhihokhhirdgtohhmqeenucggtffrrghtthgvrhhnpeeukeefvd ekueduveehueetffeiiefffeeljeehudffgeffuefgieevgeduhefgffenucffohhmrghi nhepnhhothgrsghughdrohhrghdpghhnuhdrohhrghdpuhhpsghoohhktghluhgsrdgtoh hmnecukfhppeeguddrkedtrdduvdeirddvfeelnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepmhgvsegsohhnfhgrtggvmhhunhihohhkihdrtg homh X-ME-Proxy: Received: from susa (unknown [41.80.126.239]) by mail.messagingengine.com (Postfix) with ESMTPA id A34BD1080066; Tue, 16 Mar 2021 14:34:11 -0400 (EDT) From: Bonface Munyoki K. References: <878s70ibke.fsf@inria.fr> <8735x4a8m8.fsf@gnu.org> <87r1ko8o7v.fsf@gnu.org> <87eegmxfi5.fsf@gnu.org> <87r1kkvekm.fsf@gnu.org> <87sg50tnni.fsf@gnu.org> <87mtv6m44e.fsf@gnu.org> Date: Tue, 16 Mar 2021 21:34:05 +0300 In-Reply-To: <87mtv6m44e.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 14 Mar 2021 11:17:05 +0100") Message-ID: <86lfant0bm.fsf@bonfacemunyoki.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) 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: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 THVkb3ZpYyBDb3VydMOocyA8bHVkb0BnbnUub3JnPiB3cml0ZXM6DQoNCj4gTHVkb3ZpYyBDb3Vy dMOocyA8bHVkb0BnbnUub3JnPiBza3JpYmlzOg0KPg0KPj4gTHVkb3ZpYyBDb3VydMOocyA8bHVk b0BnbnUub3JnPiBza3JpYmlzOg0KPj4NCj4+PiBJIGRlY2lkZWQgdG8gdGFrZSBhIGhlYXZ5LWhh bmRlZCBzb2x1dGlvbiB0byB0aGF0IHByb2JsZW0sIHdoaWNoIGlzIHRvDQo+Pj4gYXVnbWVudCBH dWlsZS16bGliIHdpdGggYW4gaW50ZXJmYWNlIGZvciBnemlwIGNvbXByZXNzaW9uL2RlY29tcHJl c3Npb24NCj4+PiBub3QgcmVzdHJpY3RlZCB0byBmaWxlIHBvcnRzICjigJhjYWxsLXdpdGgtZ3pp cC1vdXRwdXQtcG9ydOKAmSAmIGNvLiBhcmUNCj4+PiByZXN0cmljdGVkIHRvIGZpbGUgcG9ydHMp Og0KPj4+DQo+Pj4gICBodHRwczovL25vdGFidWcub3JnL2d1aWxlLXpsaWIvZ3VpbGUtemxpYi9j b21taXQvYjg5OWFjMmZlY2Y5MTQ3NWRhMWViYTdlN2IyNDcwOGVhOGI1ZmI3Mw0KPj4+DQo+Pj4g VGhhdCB3YXksIHdlIGNhbiBjaGFuZ2Ug4oCYZGVjb21wcmVzc2VkLXBvcnTigJkgaW4gKGd1aXgg dXRpbHMpIHRvIHBlcmZvcm0NCj4+PiBpbi1wcm9jZXNzIGRlY29tcHJlc3Npb24gZm9yIOKAmGd6 aXDigJksIGxpa2UgaXQgZG9lcyBmb3IgenN0ZCBhbmQgbHppcC4NCj4+DQo+PiBEb25lIGluIGEw NGFlZjI0MzA2NDUzNTdkNzc5Njk2OWQ0YjY0NTM0NzhmZjhhM2YhDQo+Pg0KPj4gSeKAmWxsIHVw ZGF0ZSB0aGUg4oCYZ3VpeOKAmSBwYWNrYWdlIHNvIHBlb3BsZSBvbiBHdWl4IFN5c3RlbSBjYW4g Z2V0IHRoZSBmaXgsDQo+PiBhbmQgdGhlbiB3ZSBjYW4gY2xvc2UgdGhpcyBidWcuDQo+DQo+IERv bmUgaW4gODE1NGJlZmZkOGMxMjFlOTUzYTdjNGNkNzVjM2VlYmZjYzA3M2E5YSwgY2xvc2luZyEN Cj4NCg0KVmVyeSBmYXIgZmV0Y2hlZCBidXQgY291bGQgdGhpcyBiZSB0aGUgY2F1c2Ugb2Y6DQpo dHRwczovL2xpc3RzLmdudS5vcmcvYXJjaGl2ZS9odG1sL2hlbHAtZ3VpeC8yMDIxLTAzL21zZzAw MDUyLmh0bWw/DQoNCi0tIA0KQm9uZmFjZSBNLiBLLiBENEYwOUVCMTEwMTc3RTAzQzI4RTJGRTFG NUJCQUUxRTAzOTIyNTNGDQpIdW1ibGUgR05VIEVtYWNzIFVzZXIgLyBCZWFyZXIgb2Ygc2NoZW1l LXkgcGFyZW5zDQpDdXJhdG9yOiA8aHR0cHM6Ly91cGJvb2tjbHViLmNvbT4gLyBUd2l0dGVyOiBA Qm9uZmFjZUtpbHoNCg== --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJKBAEBCAA0FiEE1PCesRAXfgPCji/h9buuHgOSJT8FAmBQ+h8WHG1lQGJvbmZh Y2VtdW55b2tpLmNvbQAKCRD1u64eA5IlP0MLD/9o/jhS4lrDVnxoPmkSoKBQoB+Y YfFatnOReDIbtdutfttk9CqoLMmV86kEbKU1BQMeYGuCgUbO4WZdP40bnW+2w+V3 gPRyc6VLBxOMPpcgP7BVCInNAE+8TV5ZzMaINstxnp2Oe6qRNtiGoue33eBX7X1J JssOLqLkrksMVzZpysWgS93g7x9woFmDFxTDAPoHE9iGfbnoDdmZQtg1a6a8AFhh fMCMLMjtNGFEwBaeNzCk6dIbU91L+DXTBVzU3CMZAZhihISPLj2rNUTTg1EiHLL0 /k9uMxWYWcqIb5wgf8mVFNsSiFq9O+cfA86X2HFbGOgRtGqhNmY3JkZjX/xLYIoY PZMP2Tt3BwCniHYf8EaSBVxcvTySBE6h5yAuUryAs80fPuR2JCA4UyGryBGgrnZI wvSumGyQwNqS4SxnDvzIEEbUFS6XB02Vx/+WAS1IbJJDqQj+cgSh4lWfWk8Uk00e w2XBM5JfiqsFNdazM+0ikEFpEisMpT+MsksJDBUpuuz3756xGlY1JawUPB2RBe1X Bo5QXHO0/BHPtIdZUamRKstF1l0j6iJEoLzpwWqBAAsdm3TOacJWZpcQ3vjHjldq tcxxN0qhhZkxKygu/NqPCcphmywI5BYiBreg8Wyfq7uA1fGJAUNFP0y+sITYKLem c/gCm0+4WooI5lzIIg== =OP13 -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 16 18:47:01 2025 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: Thu, 18 Mar 2021 09:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46967 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Bonface Munyoki K. Cc: 46967@debbugs.gnu.org Received: via spool by 46967-submit@debbugs.gnu.org id=B46967.161605997214798 (code B ref 46967); Thu, 18 Mar 2021 09:33:01 +0000 Received: (at 46967) by debbugs.gnu.org; 18 Mar 2021 09:32:52 +0000 Received: from localhost ([127.0.0.1]:45061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMp1P-0003qc-LS for submit@debbugs.gnu.org; Thu, 18 Mar 2021 05:32:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMp1N-0003qP-FF for 46967@debbugs.gnu.org; Thu, 18 Mar 2021 05:32:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51690) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMp1G-0004At-VN; Thu, 18 Mar 2021 05:32:44 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51616 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lMp1D-0000qm-Pm; Thu, 18 Mar 2021 05:32:42 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878s70ibke.fsf@inria.fr> <8735x4a8m8.fsf@gnu.org> <87r1ko8o7v.fsf@gnu.org> <87eegmxfi5.fsf@gnu.org> <87r1kkvekm.fsf@gnu.org> <87sg50tnni.fsf@gnu.org> <87mtv6m44e.fsf@gnu.org> <86lfant0bm.fsf@bonfacemunyoki.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 =?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: Thu, 18 Mar 2021 10:32:38 +0100 In-Reply-To: <86lfant0bm.fsf@bonfacemunyoki.com> (Bonface Munyoki K.'s message of "Tue, 16 Mar 2021 21:34:05 +0300") Message-ID: <87wnu4vmbt.fsf@gnu.org> 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-Spam-Score: 0.0 (/) 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: -1.0 (-) Bonface Munyoki K. skribis: > Ludovic Court=C3=A8s writes: > >> Ludovic Court=C3=A8s skribis: >> >>> Ludovic Court=C3=A8s skribis: >>> >>>> I decided to take a heavy-handed solution to that problem, which is to >>>> augment Guile-zlib with an interface for gzip compression/decompression >>>> not restricted to file ports (=E2=80=98call-with-gzip-output-port=E2= =80=99 & co. are >>>> restricted to file ports): >>>> >>>> https://notabug.org/guile-zlib/guile-zlib/commit/b899ac2fecf91475da1= eba7e7b24708ea8b5fb73 >>>> >>>> That way, we can change =E2=80=98decompressed-port=E2=80=99 in (guix u= tils) to perform >>>> in-process decompression for =E2=80=98gzip=E2=80=99, like it does for = zstd and lzip. >>> >>> Done in a04aef2430645357d7796969d4b6453478ff8a3f! >>> >>> I=E2=80=99ll update the =E2=80=98guix=E2=80=99 package so people on Gui= x System can get the fix, >>> and then we can close this bug. >> >> Done in 8154beffd8c121e953a7c4cd75c3eebfcc073a9a, closing! >> > > Very far fetched but could this be the cause of: > https://lists.gnu.org/archive/html/help-guix/2021-03/msg00052.html? Yes; their log shows: --8<---------------cut here---------------start------------->8--- ice-9/boot-9.scm:1669:16: In procedure raise-exception: Bad http-version header component: =C3=82=C2=A1_=C2=A8=C2=94=C2=948=C3=A1= =C2=97=C2=AF=C3=B1=C3=BF --8<---------------cut here---------------end--------------->8--- which is typical of this bug. Ludo=E2=80=99.