From unknown Tue Jun 17 01:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63634: nar 404 leads to hard =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= crash Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 21 May 2023 22:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63634 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63634@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168470717211255 (code B ref -1); Sun, 21 May 2023 22:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 May 2023 22:12:52 +0000 Received: from localhost ([127.0.0.1]:32971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0rIJ-0002vS-PP for submit@debbugs.gnu.org; Sun, 21 May 2023 18:12:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:32888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0rIH-0002vI-Ng for submit@debbugs.gnu.org; Sun, 21 May 2023 18:12:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0rIG-0005C8-BZ for bug-guix@gnu.org; Sun, 21 May 2023 18:12:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0rIG-0002Ri-47 for bug-guix@gnu.org; Sun, 21 May 2023 18:12:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=ApYVscVAWp/j83X1vIHSUrkGFkO7aKvCZYsNjkPaAbs=; b=ZVm46I+b2ifdw6 +9nZxWp384nY/Yrx+wexgc11pQnvMGHFXjQ8IIwhu+k8e+9ohVV6hUmKPq0QQyqoxFJVN8Jq5CVId rVl7ZDfMyZH1IlzuDsi4y7TYbnIVZX7/Ebei2vspIA8WaoLnjm922AhL0Em8lBgT4REtygCM4FOCL KO49zLXyP8bj1yV1zn79qynyZTzcRkm2oZ2MdVJtdmtv9d26hiDcAIfEXv6ym07GnyRhJnRCcl5Lt bzkuksezipPEx+2eV8CZyJFlgKZKgjpwGq5GRbx2qGjGAJ5TiiPlD9oVpXf92BwoheoPH34qxSxy8 ZViJ4UMacK1XvQ4NCagQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0rI8-0002tn-3V for bug-guix@gnu.org; Sun, 21 May 2023 18:12:47 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Tridi 3 Prairial an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du =?UTF-8?Q?Tr=C3=A8fle?= 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: Mon, 22 May 2023 00:12:37 +0200 Message-ID: <87cz2ttju2.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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-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 (---) Like this: --8<---------------cut here---------------start------------->8--- gst-plugins-bad-minimal-1.22.2 650KiB 6.8MiB/s 00:00 =E2= =96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=88=E2=96=8F 100.0% guile-bytestructures-1.0.10 222KiB 4.1MiB/s 00:00 =E2= =96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=88=E2=96=8F 100.0% Backtrace: In ice-9/boot-9.scm: 1752:10 19 (with-exception-handler _ _ #:unwind? _ # _) In unknown file: 18 (apply-smob/0 #) In ice-9/boot-9.scm: 724:2 17 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 16 (_ #(#(#))) In guix/ui.scm: 2300:7 15 (run-guix . _) 2263:10 14 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 13 (with-exception-handler _ _ #:unwind? _ # _) 1752:10 12 (with-exception-handler _ _ #:unwind? _ # _) In guix/scripts/substitute.scm: 854:15 11 (_) 646:2 10 (process-substitution _ _ _ #:cache-urls _ #:acl _ # _ # =E2= =80=A6) In ice-9/boot-9.scm: 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) In guix/scripts/substitute.scm: 463:7 8 (download-nar #< path: "/gnu/store/dg0rm1mp9q=E2=80= =A6> =E2=80=A6) In ice-9/boot-9.scm: 1747:15 7 (with-exception-handler # =E2=80=A6) 1685:16 6 (raise-exception _ #:continuable? _) 1683:16 5 (raise-exception _ #:continuable? _) 1685:16 4 (raise-exception _ #:continuable? _) 1780:13 3 (_ #<&compound-exception components: (#<&error> #<&irri=E2=80= =A6>) 1685:16 2 (raise-exception _ #:continuable? _) 1683:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: ERROR: 1. &http-get-error: uri: #< scheme: https userinfo: #f host: "bordeaux.guix.gnu.org"= port: #f path: "/nar/zstd/dg0rm1mp9qvjhvlwra5mc8dz5pfky4hj-guile-colorized= -0.1" query: #f fragment: #f> code: 404 reason: "Not Found" headers: ((server . "nginx") (date . #) (content-t= ype text/plain (charset . "utf-8")) (content-length . 3) (connection keep-a= live)) 2. &message: "https://bordeaux.guix.gnu.org/nar/zstd/dg0rm1mp9qvjhvlwra5m= c8dz5pfky4hj-guile-colorized-0.1: HTTP download failed: 404 (\"Not Found\")" substitution of /gnu/store/dg0rm1mp9qvjhvlwra5mc8dz5pfky4hj-guile-colorized= -0.1 failed guix system: error: corrupt input while restoring archive from # $ guix describe Generation 263 May 21 2023 23:56:04 (current) guix c5bc698 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: c5bc698e8922d78ed85989985cc2ceb034de2f23 guile 36fd2b4 repository URL: https://git.savannah.gnu.org/git/guile.git branch: main commit: 36fd2b4920ae926c79b936c29e739e71a6dff2bc shepherd 954742c repository URL: https://git.savannah.gnu.org/git/shepherd.git branch: master commit: 954742cd0d066ac4be7de4a031d7e229fd445c5d $ guix package -p /run/current-system/profile -I guix guix 1.4.0-6.dc5430c out /gnu/store/cgjddvw9zay626z8hyxl0zmn1354c24k-= guix-1.4.0-6.dc5430c guix-icons 0.1 out /gnu/store/arcpwjvhp3ws1i6g1sdnfxxrxc3zq4m9-= guix-icons-0.1 --8<---------------cut here---------------end--------------->8--- This might be related to 8bd4126917f59f4af9a4323c3d5699201862dca2. The two =E2=80=98download-nar=E2=80=99 calls are guarded against =E2=80=98http-= get-error?=E2=80=99 though. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon May 22 03:59:58 2023 Received: (at control) by debbugs.gnu.org; 22 May 2023 07:59:58 +0000 Received: from localhost ([127.0.0.1]:33443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q10SU-0000Bn-De for submit@debbugs.gnu.org; Mon, 22 May 2023 03:59:58 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:57410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q10ST-0000BL-Dz for control@debbugs.gnu.org; Mon, 22 May 2023 03:59:57 -0400 Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludo@gnu.org; dmarc=fail (p=none dis=none) d=gnu.org X-IronPort-AV: E=Sophos;i="6.00,183,1681164000"; d="scan'208";a="108961316" Received: from unknown (HELO ribbon) ([193.50.110.247]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2023 09:59:51 +0200 Date: Mon, 22 May 2023 09:59:51 +0200 Message-Id: <87o7mczthk.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #63634 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 63634 important quit From unknown Tue Jun 17 01:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63634: nar 404 leads to hard =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= crash Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2023 08:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63634 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63634@debbugs.gnu.org Received: via spool by 63634-submit@debbugs.gnu.org id=B63634.16847424438327 (code B ref 63634); Mon, 22 May 2023 08:01:01 +0000 Received: (at 63634) by debbugs.gnu.org; 22 May 2023 08:00:43 +0000 Received: from localhost ([127.0.0.1]:33448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q10TC-00029E-M0 for submit@debbugs.gnu.org; Mon, 22 May 2023 04:00:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q10TA-0001qg-Fz for 63634@debbugs.gnu.org; Mon, 22 May 2023 04:00:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q10T5-0007Lv-3j for 63634@debbugs.gnu.org; Mon, 22 May 2023 04:00:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=n3xz3DE4UDo3CK0oWkz7jpvDc+GE8qfQx6xv35DBNsY=; b=byVC0e5H5trf2gB7p7hZ j1scvMi1vk6xYxSvrNcJbDNhGoQiOY91+rz0JpjKRyOc0BraO/OSHS9PVjE8KzJ85BUTtEJ5SrLxH ieeJP0VeFMV9Q4W9v4iodciP9ZrkKe67U+Jtivtj8Xnzc1GC/jm30l+oLi/senCrEjMCwnftWJU7m Es4TmLrV7mQsUzA82lsNCZEr1xuMoP7sPDDtOqfXzJrUmr2Q+/HQbls4iTFQXiALq+SUThyS4bPIl ++5KxjZYyFMsw6qfxdpX+1B2bHX2a7pb1tgQsqdD25Rn9ty+oIOZqIDe03jYAaymIWkZ6E5fAyle5 A/dA6XU/hrV2nA==; Received: from [193.50.110.247] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q10T2-0006pI-3I for 63634@debbugs.gnu.org; Mon, 22 May 2023 04:00:34 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87cz2ttju2.fsf@inria.fr> Date: Mon, 22 May 2023 10:00:29 +0200 In-Reply-To: <87cz2ttju2.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 22 May 2023 00:12:37 +0200") Message-ID: <87jzx0ztgi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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-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 (---) Ludovic Court=C3=A8s skribis: > In guix/scripts/substitute.scm: > 854:15 11 (_) > 646:2 10 (process-substitution _ _ _ #:cache-urls _ #:acl _ # _ # =E2= =80=A6) > In ice-9/boot-9.scm: > 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) > In guix/scripts/substitute.scm: > 463:7 8 (download-nar #< path: "/gnu/store/dg0rm1mp9q=E2=80= =A6> =E2=80=A6) > In ice-9/boot-9.scm: > 1747:15 7 (with-exception-handler # =E2=80=A6) > 1685:16 6 (raise-exception _ #:continuable? _) > 1683:16 5 (raise-exception _ #:continuable? _) > 1685:16 4 (raise-exception _ #:continuable? _) > 1780:13 3 (_ #<&compound-exception components: (#<&error> #<&irri=E2= =80=A6>) > 1685:16 2 (raise-exception _ #:continuable? _) > 1683:16 1 (raise-exception _ #:continuable? _) > 1685:16 0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > ERROR: > 1. &http-get-error: > uri: #< scheme: https userinfo: #f host: "bordeaux.guix.gnu.or= g" port: #f path: "/nar/zstd/dg0rm1mp9qvjhvlwra5mc8dz5pfky4hj-guile-coloriz= ed-0.1" query: #f fragment: #f> > code: 404 > reason: "Not Found" > headers: ((server . "nginx") (date . #) (content= -type text/plain (charset . "utf-8")) (content-length . 3) (connection keep= -alive)) Possibly duplicate of . From unknown Tue Jun 17 01:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63634: nar 404 leads to hard =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= crash Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2023 08:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63634 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 63634@debbugs.gnu.org Received: via spool by 63634-submit@debbugs.gnu.org id=B63634.168474412722847 (code B ref 63634); Mon, 22 May 2023 08:29:02 +0000 Received: (at 63634) by debbugs.gnu.org; 22 May 2023 08:28:47 +0000 Received: from localhost ([127.0.0.1]:33482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q10uN-0005wQ-BT for submit@debbugs.gnu.org; Mon, 22 May 2023 04:28:47 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]:41406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q10uK-0005wC-PC for 63634@debbugs.gnu.org; Mon, 22 May 2023 04:28:45 -0400 Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-3094bde82b2so418204f8f.1 for <63634@debbugs.gnu.org>; Mon, 22 May 2023 01:28:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684744119; x=1687336119; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=uWYLnuXIcTAp6jKKCSKxQ5LJv90HfWGPo+LUPGstj+w=; b=Z5aYNJUbwU/oPp/A+rFSXK6pWY1GU/b+K84gJzDbLwXS6AKwHyrc1KYTa5fv/W6nnm Sv9CcNRSEmzDAuDFTm6e38/+Zlx3jfOKKAsoYzNp5iA/pccG7TvufskjwWXRocG/6kR5 stXUqTQoFmKFdxNqPvwiGZrongQK+FWXGBUefLj7UjoZ20CmltVIoyFhNek9sWZ8/bw0 dTvodlcgM8Bt9iMEgNSwWBn8stvXTOGMNXofkKiJlc2becHkXzkIYhoH0ExcgHR9A5Ob ENr7SP+pXbQ/tvCdSWYYnnsyfVAaKWgEybKJrFYB5BNZy7b8JJs9C4dY0GvfxzZUC3rd a2tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684744119; x=1687336119; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=uWYLnuXIcTAp6jKKCSKxQ5LJv90HfWGPo+LUPGstj+w=; b=LsjyiE2tzkNVRmvjY6wzt5FGAT8dcMXaKcPfqojx51+Z/C80kO9NQt02PkWOB8qnlm CzzX+u9lmDkFrqfebIJmRD4Lir3oUTNj3I95BzdsDWk2fmQh4p2/ohCeJ4vW1fm2ICLG vmFLFXFKASqlSVHRMvmhTkAVURz8/hb7IZWFAGZU+oUKBmUKkBbBVjIpAeWnZgMfmpwa bBTP5zScCPuj97s3ZbZ8SDo3NRZ5Nm7aLhaYtRtv/bu09trW7zk4XmbXiHsAfB+vIylU kzJDejLiVcN2Sm7MHuY6H8lsPdoml2erqwL6rYUwuc+Ww1ajXJrXq0XJPRIsrcij00Kk IVzw== X-Gm-Message-State: AC+VfDyoEYQUgWJhcTWFLwCMUfgk2R7BVCAD02WLqHdmh0oD0fa1sO9W GORzoN0T5123Znx0O0N1j2/IvkXEuxY= X-Google-Smtp-Source: ACHHUZ7Pt5iIhTVdOa3+7XzBZIdCYeVV3/RQWBraSEWoVIHOfwrin+J5O67AU4bYTgeeFnxzyuAfgw== X-Received: by 2002:a05:6000:502:b0:305:f3c1:184e with SMTP id a2-20020a056000050200b00305f3c1184emr5699534wrf.3.1684744118769; Mon, 22 May 2023 01:28:38 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id k10-20020a5d66ca000000b003078681a1e8sm6854563wrw.54.2023.05.22.01.28.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 01:28:38 -0700 (PDT) From: Simon Tournier References: <87cz2ttju2.fsf@inria.fr> Date: Mon, 22 May 2023 10:19:04 +0200 In-Reply-To: <87cz2ttju2.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 22 May 2023 00:12:37 +0200") Message-ID: <87ttw4ye13.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (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, On lun., 22 mai 2023 at 00:12, Ludovic Court=C3=A8s wrote: > This might be related to 8bd4126917f59f4af9a4323c3d5699201862dca2. The > two =E2=80=98download-nar=E2=80=99 calls are guarded against =E2=80=98htt= p-get-error?=E2=80=99 though. Well, I am currently hitting something very similar. --8<---------------cut here---------------start------------->8--- $ guix build rust-base64@0.13 -S substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 0,0 MB will be downloaded: /gnu/store/sx6sr6cs1x8sf5jhgb65rcr1yxk1q75x-rust-base64-0.13.1.tar.xz substituting /gnu/store/sx6sr6cs1x8sf5jhgb65rcr1yxk1q75x-rust-base64-0.13.1= .tar.xz... Backtrace: 16 (primitive-load "/gnu/store/jpcpva9gg7l337d0icn88pf76l4=E2=80= =A6") In guix/ui.scm: 2263:7 15 (run-guix . _) 2226:10 14 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 13 (with-exception-handler _ _ #:unwind? _ # _) 1752:10 12 (with-exception-handler _ _ #:unwind? _ # _) In guix/scripts/substitute.scm: 856:15 11 (_) 650:2 10 (process-substitution _ _ _ #:cache-urls _ #:acl _ # _ # =E2= =80=A6) In ice-9/boot-9.scm: 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) In guix/scripts/substitute.scm: 467:7 8 (download-nar #< path: "/gnu/store/sx6sr6cs1x=E2=80= =A6> =E2=80=A6) In ice-9/boot-9.scm: 1747:15 7 (with-exception-handler # =E2=80=A6) 1685:16 6 (raise-exception _ #:continuable? _) 1683:16 5 (raise-exception _ #:continuable? _) 1685:16 4 (raise-exception _ #:continuable? _) 1780:13 3 (_ #<&compound-exception components: (#<&error> #<&irri=E2=80= =A6>) 1685:16 2 (raise-exception _ #:continuable? _) 1683:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: ERROR: 1. &http-get-error: uri: #< scheme: https userinfo: #f host: "bordeaux.guix.gnu.org"= port: #f path: "/nar/zstd/sx6sr6cs1x8sf5jhgb65rcr1yxk1q75x-rust-base64-0.1= 3.1.tar.xz" query: #f fragment: #f> code: 404 reason: "Not Found" headers: ((server . "nginx") (date . #) (content-typ= e text/plain (charset . "utf-8")) (content-length . 3) (connection keep-ali= ve)) 2. &message: "https://bordeaux.guix.gnu.org/nar/zstd/sx6sr6cs1x8sf5jhgb65= rcr1yxk1q75x-rust-base64-0.13.1.tar.xz: HTTP download failed: 404 (\"Not Fo= und\")" substitution of /gnu/store/sx6sr6cs1x8sf5jhgb65rcr1yxk1q75x-rust-base64-0.1= 3.1.tar.xz failed guix build: error: some substitutes for the outputs of derivation `/gnu/sto= re/qcpzwblzpa2wprc4vwlm128bwckfj8rj-rust-base64-0.13.1.tar.xz.drv' failed (= usually happens due to networking issues); try `--fallback' to build deriva= tion from source --8<---------------cut here---------------end--------------->8--- Then the option =E2=80=9C--fallback=E2=80=9D works. > The > two =E2=80=98download-nar=E2=80=99 calls are guarded against =E2=80=98htt= p-get-error?=E2=80=99 though. Well, the fallback should happen transparently. It rings this bell . Cheers, simon From unknown Tue Jun 17 01:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63634: nar 404 leads to hard =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= crash Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2023 09:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63634 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63634@debbugs.gnu.org Cc: Christopher Baines Received: via spool by 63634-submit@debbugs.gnu.org id=B63634.168474797230018 (code B ref 63634); Mon, 22 May 2023 09:33:01 +0000 Received: (at 63634) by debbugs.gnu.org; 22 May 2023 09:32:52 +0000 Received: from localhost ([127.0.0.1]:33574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q11uN-0007o5-VA for submit@debbugs.gnu.org; Mon, 22 May 2023 05:32:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q11uL-0007no-8e for 63634@debbugs.gnu.org; Mon, 22 May 2023 05:32:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q11uG-0001K8-05; Mon, 22 May 2023 05:32:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=xkbBGrLTIx0u0gm0L/lz6kTpaLtK7tg16pjwvxtbRSE=; b=Wr24vd9U9P8DA6DAVg4X pbfSLLCWluG45/u/FvCNZazL2iMxk/q1TyF79ynr5GgGq5mB6hd7J6cTHaeYAqybxqME9NlQjy2C6 F9veF8qa+h11n37vEwBf1iGgFs0KaE+VPb0pvaVHqt0jxtgiRzvy/aljdKqa+S1+Vlq4q5MBy80WW 3wiUhKuJTk3ZLbb5mn/GUDskFHJ0mzhHIciFs4o40TsazloeCgrs5Uj7hhetHp6uF7zW3ZEKn4+2g 1UdHGaoKfYk0AeWQNv9P/CYjSJNuKOvpZI0Ovpy+7PSdtAjW4qFPFPXrnwtJ7YZxhVwAQcA8X35zV sNKfZMtH6uFSUw==; Received: from [193.50.110.247] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q11uD-0004Ol-G2; Mon, 22 May 2023 05:32:43 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87cz2ttju2.fsf@inria.fr> Date: Mon, 22 May 2023 11:32:39 +0200 In-Reply-To: <87cz2ttju2.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 22 May 2023 00:12:37 +0200") Message-ID: <87a5xwzp6w.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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-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 (---) I experienced it a second time and have more info: --8<---------------cut here---------------start------------->8--- substituting /gnu/store/apw1y9nf8rqgxvjnlr1isbhpd502bcs5-gcc-cross-aarch64-= linux-gnu-11.3.0... Backtrace: In ice-9/boot-9.scm: 1752:10 19 (with-exception-handler _ _ #:unwind? _ # _) In unknown file: 18 (apply-smob/0 #) In ice-9/boot-9.scm: 724:2 17 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 16 (_ #(#(#))) In guix/ui.scm: 2300:7 15 (run-guix . _) 2263:10 14 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 13 (with-exception-handler _ _ #:unwind? _ # _) 1752:10 12 (with-exception-handler _ _ #:unwind? _ # _) In guix/scripts/substitute.scm: 854:15 11 (_) 646:2 10 (process-substitution _ _ _ #:cache-urls _ #:acl _ # _ # =E2= =80=A6) In ice-9/boot-9.scm: 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) In guix/scripts/substitute.scm: 463:7 8 (download-nar #< path: "/gnu/store/apw1y9nf8r=E2=80= =A6> =E2=80=A6) In ice-9/boot-9.scm: 1747:15 7 (with-exception-handler # =E2=80=A6) 1685:16 6 (raise-exception _ #:continuable? _) 1683:16 5 (raise-exception _ #:continuable? _) 1685:16 4 (raise-exception _ #:continuable? _) 1780:13 3 (_ #<&compound-exception components: (#<&error> #<&irri=E2=80= =A6>) 1685:16 2 (raise-exception _ #:continuable? _) 1683:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: ERROR: 1. &http-get-error: uri: #< scheme: https userinfo: #f host: "bordeaux.guix.gnu.org"= port: #f path: "/nar/zstd/apw1y9nf8rqgxvjnlr1isbhpd502bcs5-gcc-cross-aarch= 64-linux-gnu-11.3.0" query: #f fragment: #f> code: 404 reason: "Not Found" headers: ((server . "nginx") (date . #) (content-ty= pe text/plain (charset . "utf-8")) (content-length . 3) (connection keep-al= ive)) 2. &message: "https://bordeaux.guix.gnu.org/nar/zstd/apw1y9nf8rqgxvjnlr1i= sbhpd502bcs5-gcc-cross-aarch64-linux-gnu-11.3.0: HTTP download failed: 404 = (\"Not Found\")" substitution of /gnu/store/apw1y9nf8rqgxvjnlr1isbhpd502bcs5-gcc-cross-aarch= 64-linux-gnu-11.3.0 failed guix build: error: corrupt input while restoring archive from # --8<---------------cut here---------------end--------------->8--- I have =E2=80=98--substitute-urls=3Dhttps://ci.guix.gnu.org https://bordeau= x.guix.gnu.org=E2=80=99. Let=E2=80=99s see what=E2=80=99s available on each server: --8<---------------cut here---------------start------------->8--- $ wget -O- https://ci.guix.gnu.org/apw1y9nf8rqgxvjnlr1isbhpd502bcs5.narinfo --2023-05-22 11:00:08-- https://ci.guix.gnu.org/apw1y9nf8rqgxvjnlr1isbhpd5= 02bcs5.narinfo Resolving ci.guix.gnu.org (ci.guix.gnu.org)... 141.80.181.40 Connecting to ci.guix.gnu.org (ci.guix.gnu.org)|141.80.181.40|:443... conne= cted. HTTP request sent, awaiting response... 404 Not Found 2023-05-22 11:00:08 ERROR 404: Not Found. $ wget -O- https://bordeaux.guix.gnu.org/apw1y9nf8rqgxvjnlr1isbhpd502bcs5.n= arinfo --2023-05-22 11:03:36-- https://bordeaux.guix.gnu.org/apw1y9nf8rqgxvjnlr1i= sbhpd502bcs5.narinfo Resolving bordeaux.guix.gnu.org (bordeaux.guix.gnu.org)... 185.233.100.56, = 2a0c:e300::58 Connecting to bordeaux.guix.gnu.org (bordeaux.guix.gnu.org)|185.233.100.56|= :443... connected. HTTP request sent, awaiting response... 200 OK Length: 1715 (1.7K) [text/plain] Saving to: =E2=80=98STDOUT=E2=80=99 - 0%[ = ] 0 --.-KB/s StorePat= h: /gnu/store/apw1y9nf8rqgxvjnlr1isbhpd502bcs5-gcc-cross-aarch64-linux-gnu-= 11.3.0 NarHash: sha256:1am3v254jr9dpgd9r4dkjqxfgbp1xm0vl1hxl49cmmh97dg117z8 NarSize: 144790464 References: 8rz7yh6zdzp4b78f4n9wqj3hav2md4d4-isl-0.24 930nwsiysdvy2x5zv1sf6= v7ym75z8ayk-gcc-11.3.0-lib apw1y9nf8rqgxvjnlr1isbhpd502bcs5-gcc-cross-aarch= 64-linux-gnu-11.3.0 brzrf6qx5d83j1zvirc1xk14wrhyx4hf-binutils-cross-aarch64= -linux-gnu-2.38 cinj0g8krh5s428jawsazawlfarp912k-gcc-cross-aarch64-linux-gn= u-11.3.0-lib cs3hw1wnxgijjzsd61whc8ar3qy9wjd6-mpfr-4.2.0 gsjczqir1wbz8p770z= ndrpw4rnppmxi3-glibc-2.35 ib2n2vzqpchc3bhh9i712w5sq9zapn8d-gmp-6.2.1 rbjq50= q2ik8c1glkj5f0ksnwfz64g16g-mpc-1.3.1 rib9g2ig1xf3kclyl076w28parmncg4k-bash-= minimal-5.1.16 rjgpaj54q1q9n3hcvpzyp29fgi2nx6ls-ld-wrapper-aarch64-linux-gn= u-0 slzq3zqwj75lbrg4ly51hfhbv2vhryv5-zlib-1.2.13 y4ndp9n5krkaiwgvw58c61n7h8= ls9b0f-glibc-cross-aarch64-linux-gnu-2.35 System: x86_64-linux Deriver: fqb09jygm70cmq03xmjm7al6gzajp1p5-gcc-cross-aarch64-linux-gnu-11.3.= 0.drv Signature: 1;bayfront;KHNpZ25hdHVyZSAKIChkYXRhIAogIChmbGFncyByZmM2OTc5KQogI= ChoYXNoIHNoYTI1NiAjNzA2MTI1QUFGMjcxQzM2MDM3RkY2MTIwMzI0NzI2NTVDMkU3OEY2NTA3= OUY0MzgxMzY4NDhDQzA0OTVFRTIxRiMpCiAgKQogKHNpZy12YWwgCiAgKGVjZHNhIAogICAociA= jMDg1RTA2ODE3RTFENTdCQzE1NTAxOUNGNjA0QTQxMTlFRjNBREVGQ0VFOTE4NjQzMDIzQTExQz= k4RDM3REVBOCMpCiAgIChzICMwMUIwMkQyNjI0MDhCMDIzMUMxMUVDODI1Q0Q2MTkzNTU5NDRCQ= UNBMzg4NjEwRDIxOEIzNTVCNjM1NjFCQjk3IykKICAgKQogICkKIChwdWJsaWMta2V5IAogIChl= Y2MgCiAgIChjdXJ2ZSBFZDI1NTE5KQogICAocSAjN0Q2MDI5MDJEM0EyREJCODNGOEEwRkI5ODY= wMkE3NTRDNTQ5M0IwQjc3OEM4RDFERDRFMEY0MURFMTRERTM0RiMpCiAgICkKICApCiApCg=3D= =3D URL: nar/lzip/apw1y9nf8rqgxvjnlr1isbhpd502bcs5-gcc-cross-aarch64-linux-gnu-= 11.3.0 Compression: lzip FileSize: 24767829 - 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D>] 1.67K --.-KB/s in 0s=20=20=20=20=20=20 2023-05-22 11:03:36 (20.6 MB/s) - written to stdout [1715/1715] $ wget -O/dev/null https://bordeaux.guix.gnu.org/nar/lzip/apw1y9nf8rqgxvjnl= r1isbhpd502bcs5-gcc-cross-aarch64-linux-gnu-11.3.0 --2023-05-22 11:04:02-- https://bordeaux.guix.gnu.org/nar/lzip/apw1y9nf8rq= gxvjnlr1isbhpd502bcs5-gcc-cross-aarch64-linux-gnu-11.3.0 Resolving bordeaux.guix.gnu.org (bordeaux.guix.gnu.org)... 185.233.100.56, = 2a0c:e300::58 Connecting to bordeaux.guix.gnu.org (bordeaux.guix.gnu.org)|185.233.100.56|= :443... connected. HTTP request sent, awaiting response... 200 OK Length: 24767829 (24M) [text/plain] Saving to: =E2=80=98/dev/null=E2=80=99 /dev/null 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D>] 23.62M 44.8MB/s in 0.5s=20=20=20=20 2023-05-22 11:04:03 (44.8 MB/s) - =E2=80=98/dev/null=E2=80=99 saved [247678= 29/24767829] $ wget -O/dev/null https://bordeaux.guix.gnu.org/nar/zstd/apw1y9nf8rqgxvjnl= r1isbhpd502bcs5-gcc-cross-aarch64-linux-gnu-11.3.0 --2023-05-22 11:04:28-- https://bordeaux.guix.gnu.org/nar/zstd/apw1y9nf8rq= gxvjnlr1isbhpd502bcs5-gcc-cross-aarch64-linux-gnu-11.3.0 Resolving bordeaux.guix.gnu.org (bordeaux.guix.gnu.org)... 185.233.100.56, = 2a0c:e300::58 Connecting to bordeaux.guix.gnu.org (bordeaux.guix.gnu.org)|185.233.100.56|= :443... connected. HTTP request sent, awaiting response... 404 Not Found 2023-05-22 11:04:28 ERROR 404: Not Found. --8<---------------cut here---------------end--------------->8--- So it seems =E2=80=98guix substitute=E2=80=99 picked /nar/zstd, even though bordeaux.guix is not advertising that. Or is it? --8<---------------cut here---------------start------------->8--- $ sudo cat /var/guix/substitute/cache/kzwjeblndsbkjzmjailrt4bnhguil7tqjmewz= cyw22hgajbhfy3q/apw1y9nf8rqgxvjnlr1isbhpd502bcs5 (narinfo (version 2) (cache-uri "https://bordeaux.guix.gnu.org") (date 1683= 633757) (ttl 15552000) (value "StorePath: /gnu/store/apw1y9nf8rqgxvjnlr1isb= hpd502bcs5-gcc-cross-aarch64-linux-gnu-11.3.0\nNarHash: sha256:1am3v254jr9d= pgd9r4dkjqxfgbp1xm0vl1hxl49cmmh97dg117z8\nNarSize: 144790464\nReferences: 8= rz7yh6zdzp4b78f4n9wqj3hav2md4d4-isl-0.24 930nwsiysdvy2x5zv1sf6v7ym75z8ayk-g= cc-11.3.0-lib apw1y9nf8rqgxvjnlr1isbhpd502bcs5-gcc-cross-aarch64-linux-gnu-= 11.3.0 brzrf6qx5d83j1zvirc1xk14wrhyx4hf-binutils-cross-aarch64-linux-gnu-2.= 38 cinj0g8krh5s428jawsazawlfarp912k-gcc-cross-aarch64-linux-gnu-11.3.0-lib = cs3hw1wnxgijjzsd61whc8ar3qy9wjd6-mpfr-4.2.0 gsjczqir1wbz8p770zndrpw4rnppmxi= 3-glibc-2.35 ib2n2vzqpchc3bhh9i712w5sq9zapn8d-gmp-6.2.1 rbjq50q2ik8c1glkj5f= 0ksnwfz64g16g-mpc-1.3.1 rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.1= 6 rjgpaj54q1q9n3hcvpzyp29fgi2nx6ls-ld-wrapper-aarch64-linux-gnu-0 slzq3zqwj= 75lbrg4ly51hfhbv2vhryv5-zlib-1.2.13 y4ndp9n5krkaiwgvw58c61n7h8ls9b0f-glibc-= cross-aarch64-linux-gnu-2.35\nSystem: x86_64-linux\nDeriver: fqb09jygm70cmq= 03xmjm7al6gzajp1p5-gcc-cross-aarch64-linux-gnu-11.3.0.drv\nSignature: 1;bay= front;KHNpZ25hdHVyZSAKIChkYXRhIAogIChmbGFncyByZmM2OTc5KQogIChoYXNoIHNoYTI1N= iAjNzA2MTI1QUFGMjcxQzM2MDM3RkY2MTIwMzI0NzI2NTVDMkU3OEY2NTA3OUY0MzgxMzY4NDhD= QzA0OTVFRTIxRiMpCiAgKQogKHNpZy12YWwgCiAgKGVjZHNhIAogICAociAjMDg1RTA2ODE3RTF= ENTdCQzE1NTAxOUNGNjA0QTQxMTlFRjNBREVGQ0VFOTE4NjQzMDIzQTExQzk4RDM3REVBOCMpCi= AgIChzICMwMUIwMkQyNjI0MDhCMDIzMUMxMUVDODI1Q0Q2MTkzNTU5NDRCQUNBMzg4NjEwRDIxO= EIzNTVCNjM1NjFCQjk3IykKICAgKQogICkKIChwdWJsaWMta2V5IAogIChlY2MgCiAgIChjdXJ2= ZSBFZDI1NTE5KQogICAocSAjN0Q2MDI5MDJEM0EyREJCODNGOEEwRkI5ODYwMkE3NTRDNTQ5M0I= wQjc3OEM4RDFERDRFMEY0MURFMTRERTM0RiMpCiAgICkKICApCiApCg=3D=3D\nURL: nar/lzi= p/apw1y9nf8rqgxvjnlr1isbhpd502bcs5-gcc-cross-aarch64-linux-gnu-11.3.0\nComp= ression: lzip\nFileSize: 24767829\nURL: nar/zstd/apw1y9nf8rqgxvjnlr1isbhpd5= 02bcs5-gcc-cross-aarch64-linux-gnu-11.3.0\nCompression: zstd\nFileSize: 398= 22104"))ludo@ribbon ~/src/guix [env]$=20 --8<---------------cut here---------------end--------------->8--- So it seems that bordeaux.guix did advertise zstd at some point (and that narinfo is still in cache) but no longer does. Chris, can you confirm? I=E2=80=99ll see how to get =E2=80=98guix substitute=E2=80=99 to handle tha= t gracefully. Ludo=E2=80=99. From unknown Tue Jun 17 01:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63634: nar 404 leads to hard =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= crash Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2023 09:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63634 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Simon Tournier Cc: Christopher Baines , 63634@debbugs.gnu.org Received: via spool by 63634-submit@debbugs.gnu.org id=B63634.168474817630342 (code B ref 63634); Mon, 22 May 2023 09:37:02 +0000 Received: (at 63634) by debbugs.gnu.org; 22 May 2023 09:36:16 +0000 Received: from localhost ([127.0.0.1]:33579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q11xf-0007tJ-UX for submit@debbugs.gnu.org; Mon, 22 May 2023 05:36:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q11xe-0007t7-J2 for 63634@debbugs.gnu.org; Mon, 22 May 2023 05:36:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q11xZ-0002G9-88; Mon, 22 May 2023 05:36:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=ojQFUfPWVO/Q69IYkA97d4a6cyGNb3Pf24VprCO1Yk4=; b=sVD3gDjn+rwLLnWaXzot vOm5RlANIGByDLVWk0Er7xu6IB8HMOu1Hvg13+QpdHnDR4RZSEAgs17eBkIOoCJ/mvZbE80fuKbbp NLfgcn4fyMHmkE2vSb6+CMDZE2JI3R3j/OS2aDW+SXEobtFMCq7/+i3JOCK2ixWIvF7JL/7SYiwtk gUXg7VNtYNrJu7rTgbJrfIfBnguP6uHeK/l8iQjogFwS1gt9JRmmKKXtbyYGseOPQ7+/OBB9yKwNJ 21jHmkKpQHMkcAX73CgkUfThTXptxZUooPgoagtCz4/JN3gw/o78GYVVt5JtZhV0UsRtaf8lqCpBm 2UqoH0KcZLwrXg==; Received: from [193.50.110.247] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q11xV-0002Sx-Kl; Mon, 22 May 2023 05:36:09 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87cz2ttju2.fsf@inria.fr> <87ttw4ye13.fsf@gmail.com> Date: Mon, 22 May 2023 11:36:04 +0200 In-Reply-To: <87ttw4ye13.fsf@gmail.com> (Simon Tournier's message of "Mon, 22 May 2023 10:19:04 +0200") Message-ID: <875y8kzp17.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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-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 (---) Simon Tournier skribis: > 2. &message: "https://bordeaux.guix.gnu.org/nar/zstd/sx6sr6cs1x8sf5jhgb= 65rcr1yxk1q75x-rust-base64-0.13.1.tar.xz: HTTP download failed: 404 (\"Not = Found\")" Look: --8<---------------cut here---------------start------------->8--- $ wget -qO- https://bordeaux.guix.gnu.org/sx6sr6cs1x8sf5jhgb65rcr1yxk1q75x.= narinfo StorePath: /gnu/store/sx6sr6cs1x8sf5jhgb65rcr1yxk1q75x-rust-base64-0.13.1.t= ar.xz NarHash: sha256:0pynnlsiiq03h7ysfkzw53wkf6hfmplb63haz6bjqdc686rnf4q1 NarSize: 49128 References:=20 System: x86_64-linux Deriver: qcpzwblzpa2wprc4vwlm128bwckfj8rj-rust-base64-0.13.1.tar.xz.drv Signature: 1;bayfront;KHNpZ25hdHVyZSAKIChkYXRhIAogIChmbGFncyByZmM2OTc5KQogI= ChoYXNoIHNoYTI1NiAjRUE2MTcwNUZENjNCOTU1NzcwNjIxN0EyQjczN0U5NzI2RjM4Rjk1NkQw= RTRCQjI4MjVBRTA2MTdDQjcxMDQ1MyMpCiAgKQogKHNpZy12YWwgCiAgKGVjZHNhIAogICAociA= jMDNGRjU3ODU1RTNERDMxQkJFMUY2NDEyMkU0MzNBNzcwMEZGNkI1ODExRUQ0NTBCQzVEQTcwMk= QyNDk3ODZEMCMpCiAgIChzICMwN0ZCQjREN0YwNTExQTlBNzZENzBFNzUxQTc2NTM1MzE0MzU1M= zk1RUUwNzgzODU3REM2NEYxRDIxMTEzQjMxIykKICAgKQogICkKIChwdWJsaWMta2V5IAogIChl= Y2MgCiAgIChjdXJ2ZSBFZDI1NTE5KQogICAocSAjN0Q2MDI5MDJEM0EyREJCODNGOEEwRkI5ODY= wMkE3NTRDNTQ5M0IwQjc3OEM4RDFERDRFMEY0MURFMTRERTM0RiMpCiAgICkKICApCiApCg=3D= =3D URL: nar/lzip/sx6sr6cs1x8sf5jhgb65rcr1yxk1q75x-rust-base64-0.13.1.tar.xz Compression: lzip FileSize: 49781 --8<---------------cut here---------------end--------------->8--- See? zstd=E2=80=99s gone! This confirms my hypothesis. BTW, =E2=80=98guix publish=E2=80=99 has provisions to not compress already-= compressed files, as in the case above. We should really share code, Chris. Ludo=E2=80=99. From unknown Tue Jun 17 01:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63634: nar 404 leads to hard =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= crash Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2023 11:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63634 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 63634@debbugs.gnu.org Received: via spool by 63634-submit@debbugs.gnu.org id=B63634.16847533258547 (code B ref 63634); Mon, 22 May 2023 11:03:02 +0000 Received: (at 63634) by debbugs.gnu.org; 22 May 2023 11:02:05 +0000 Received: from localhost ([127.0.0.1]:33666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q13Ij-0002Dn-B4 for submit@debbugs.gnu.org; Mon, 22 May 2023 07:02:05 -0400 Received: from mira.cbaines.net ([212.71.252.8]:42552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q13Ie-0002DK-GR for 63634@debbugs.gnu.org; Mon, 22 May 2023 07:02:03 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id 2CCE127BBE2; Mon, 22 May 2023 12:01:59 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 9d03e8e9; Mon, 22 May 2023 11:01:58 +0000 (UTC) References: <87cz2ttju2.fsf@inria.fr> <87a5xwzp6w.fsf@gnu.org> User-agent: mu4e 1.8.13; emacs 28.2 From: Christopher Baines Date: Mon, 22 May 2023 11:59:28 +0100 In-reply-to: <87a5xwzp6w.fsf@gnu.org> Message-ID: <87fs7ofx3v.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; 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: quoted-printable Ludovic Court=C3=A8s writes: > So it seems =E2=80=98guix substitute=E2=80=99 picked /nar/zstd, even thou= gh > bordeaux.guix is not advertising that. > > Or is it? > > $ sudo cat /var/guix/substitute/cache/kzwjeblndsbkjzmjailrt4bnhguil7tqjme= wzcyw22hgajbhfy3q/apw1y9nf8rqgxvjnlr1isbhpd502bcs5 > (narinfo (version 2) (cache-uri "https://bordeaux.guix.gnu.org") (date 16= 83633757) (ttl 15552000) (value "StorePath: /gnu/store/apw1y9nf8rqgxvjnlr1i= sbhpd502bcs5-gcc-cross-aarch64-linux-gnu-11.3.0\nNarHash: sha256:1am3v254jr= 9dpgd9r4dkjqxfgbp1xm0vl1hxl49cmmh97dg117z8\nNarSize: 144790464\nReferences:= 8rz7yh6zdzp4b78f4n9wqj3hav2md4d4-isl-0.24 930nwsiysdvy2x5zv1sf6v7ym75z8ayk= -gcc-11.3.0-lib apw1y9nf8rqgxvjnlr1isbhpd502bcs5-gcc-cross-aarch64-linux-gn= u-11.3.0 brzrf6qx5d83j1zvirc1xk14wrhyx4hf-binutils-cross-aarch64-linux-gnu-= 2.38 cinj0g8krh5s428jawsazawlfarp912k-gcc-cross-aarch64-linux-gnu-11.3.0-li= b cs3hw1wnxgijjzsd61whc8ar3qy9wjd6-mpfr-4.2.0 gsjczqir1wbz8p770zndrpw4rnppm= xi3-glibc-2.35 ib2n2vzqpchc3bhh9i712w5sq9zapn8d-gmp-6.2.1 rbjq50q2ik8c1glkj= 5f0ksnwfz64g16g-mpc-1.3.1 rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1= .16 rjgpaj54q1q9n3hcvpzyp29fgi2nx6ls-ld-wrapper-aarch64-linux-gnu-0 slzq3zq= wj75lbrg4ly51hfhbv2vhryv5-zlib-1.2.13 y4ndp9n5krkaiwgvw58c61n7h8ls9b0f-glib= c-cross-aarch64-linux-gnu-2.35\nSystem: x86_64-linux\nDeriver: fqb09jygm70c= mq03xmjm7al6gzajp1p5-gcc-cross-aarch64-linux-gnu-11.3.0.drv\nSignature: 1;b= ayfront;KHNpZ25hdHVyZSAKIChkYXRhIAogIChmbGFncyByZmM2OTc5KQogIChoYXNoIHNoYTI= 1NiAjNzA2MTI1QUFGMjcxQzM2MDM3RkY2MTIwMzI0NzI2NTVDMkU3OEY2NTA3OUY0MzgxMzY4ND= hDQzA0OTVFRTIxRiMpCiAgKQogKHNpZy12YWwgCiAgKGVjZHNhIAogICAociAjMDg1RTA2ODE3R= TFENTdCQzE1NTAxOUNGNjA0QTQxMTlFRjNBREVGQ0VFOTE4NjQzMDIzQTExQzk4RDM3REVBOCMp= CiAgIChzICMwMUIwMkQyNjI0MDhCMDIzMUMxMUVDODI1Q0Q2MTkzNTU5NDRCQUNBMzg4NjEwRDI= xOEIzNTVCNjM1NjFCQjk3IykKICAgKQogICkKIChwdWJsaWMta2V5IAogIChlY2MgCiAgIChjdX= J2ZSBFZDI1NTE5KQogICAocSAjN0Q2MDI5MDJEM0EyREJCODNGOEEwRkI5ODYwMkE3NTRDNTQ5M= 0IwQjc3OEM4RDFERDRFMEY0MURFMTRERTM0RiMpCiAgICkKICApCiApCg=3D=3D\nURL: nar/l= zip/apw1y9nf8rqgxvjnlr1isbhpd502bcs5-gcc-cross-aarch64-linux-gnu-11.3.0\nCo= mpression: lzip\nFileSize: 24767829\nURL: nar/zstd/apw1y9nf8rqgxvjnlr1isbhp= d502bcs5-gcc-cross-aarch64-linux-gnu-11.3.0\nCompression: zstd\nFileSize: 3= 9822104"))ludo@ribbon ~/src/guix [env]$ > > So it seems that bordeaux.guix did advertise zstd at some point (and > that narinfo is still in cache) but no longer does. > > Chris, can you confirm? Yeah, this would have been a consequence of reducing the cache size [1]. 1: https://git.savannah.gnu.org/cgit/guix/maintenance.git/commit/?id=3Dce8d= 3000fda6b80c0cf3e6f8204e0ee293024e6b --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmRrS6RfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdLABAAije59Xh6APY5MdwkEXM/z3LnWenZlRRw ocUKTVT6cIrJdGNsXq1tA6rJTh7+ycp0TK72FbqlCaPUl3ZRBSioS+GUxQN8ptf3 7VIgwWFECYbRgjVQGS5Lb/7AUP1nM2EEeMq395bWe1FdogzC9uu1dqnQm6jvGPBU fw5XeiniELGhiyNo3vplWAHssnyVSeNhbJJ0ZlMnRsYFMLxH/LgFT9Z04u83TD/Y nfnv1/PWhkGJiNYes/Gqvfh6lmcWohKIu9NxZMW3duzOtjRaReZ6j49Q7Ie6kF0L iZa6A9t26CPQurtTPDH5EiUjHlnSzlEW+kvHQu0LZ91mk/ivkaCFY3S320jXIG0A RBX5XHRMkTvZo874Lp6WbVQ42OYCwVbehlngkfWyw6p+UQ6dlIgH35UfhU239C74 TZxHX51utmwQ5LYEVBfIcPbQVeqwaL08sLsnDLjBSm+36+TdpafB8qTMiDxJysA3 X73c/vtBLHkVCM6gTY4ZrSQWhkCLMqoZe03eWrrExqnvZ+exBMqpharZr7pbNUD/ d05E77fhbk59zFRI7TjcjZ3gfBISu6mgKi4RlgZmJw3HlawXR9Ce5cZMyTHFz0nv 0QyJegXF2UvAfqmf/s0fQEtAzrj+MaRXSmGUoPxlQNKdg8TsfDTN4Stde/4x73A8 HvL2KzFl6wE= =HFdK -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63634: nar 404 leads to hard =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= crash Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2023 11:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63634 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 63634@debbugs.gnu.org Received: via spool by 63634-submit@debbugs.gnu.org id=B63634.168475452910722 (code B ref 63634); Mon, 22 May 2023 11:23:02 +0000 Received: (at 63634) by debbugs.gnu.org; 22 May 2023 11:22:09 +0000 Received: from localhost ([127.0.0.1]:33694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q13c8-0002mr-I1 for submit@debbugs.gnu.org; Mon, 22 May 2023 07:22:08 -0400 Received: from mira.cbaines.net ([212.71.252.8]:42554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q13c4-0002mh-VB for 63634@debbugs.gnu.org; Mon, 22 May 2023 07:22:07 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id 0919727BBE2; Mon, 22 May 2023 12:22:04 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 496da423; Mon, 22 May 2023 11:22:03 +0000 (UTC) References: <87cz2ttju2.fsf@inria.fr> <87ttw4ye13.fsf@gmail.com> <875y8kzp17.fsf@gnu.org> User-agent: mu4e 1.8.13; emacs 28.2 From: Christopher Baines Date: Mon, 22 May 2023 12:02:04 +0100 In-reply-to: <875y8kzp17.fsf@gnu.org> Message-ID: <87bkicfw6e.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; 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: quoted-printable Ludovic Court=C3=A8s writes: > Simon Tournier skribis: > >> 2. &message: > "https://bordeaux.guix.gnu.org/nar/zstd/sx6sr6cs1x8sf5jhgb65rcr1yxk1q75x-= rust-base64-0.13.1.tar.xz: > HTTP download failed: 404 (\"Not Found\")" > > Look: > > $ wget -qO- https://bordeaux.guix.gnu.org/sx6sr6cs1x8sf5jhgb65rcr1yxk1q75= x.narinfo > StorePath: /gnu/store/sx6sr6cs1x8sf5jhgb65rcr1yxk1q75x-rust-base64-0.13.1= .tar.xz > NarHash: sha256:0pynnlsiiq03h7ysfkzw53wkf6hfmplb63haz6bjqdc686rnf4q1 > NarSize: 49128 > References:=20 > System: x86_64-linux > Deriver: qcpzwblzpa2wprc4vwlm128bwckfj8rj-rust-base64-0.13.1.tar.xz.drv > Signature: 1;bayfront;KHNpZ25hdHVyZSAKIChkYXRhIAogIChmbGFncyByZmM2OTc5KQo= gIChoYXNoIHNoYTI1NiAjRUE2MTcwNUZENjNCOTU1NzcwNjIxN0EyQjczN0U5NzI2RjM4Rjk1Nk= QwRTRCQjI4MjVBRTA2MTdDQjcxMDQ1MyMpCiAgKQogKHNpZy12YWwgCiAgKGVjZHNhIAogICAoc= iAjMDNGRjU3ODU1RTNERDMxQkJFMUY2NDEyMkU0MzNBNzcwMEZGNkI1ODExRUQ0NTBCQzVEQTcw= MkQyNDk3ODZEMCMpCiAgIChzICMwN0ZCQjREN0YwNTExQTlBNzZENzBFNzUxQTc2NTM1MzE0MzU= 1Mzk1RUUwNzgzODU3REM2NEYxRDIxMTEzQjMxIykKICAgKQogICkKIChwdWJsaWMta2V5IAogIC= hlY2MgCiAgIChjdXJ2ZSBFZDI1NTE5KQogICAocSAjN0Q2MDI5MDJEM0EyREJCODNGOEEwRkI5O= DYwMkE3NTRDNTQ5M0IwQjc3OEM4RDFERDRFMEY0MURFMTRERTM0RiMpCiAgICkKICApCiApCg= =3D=3D > URL: nar/lzip/sx6sr6cs1x8sf5jhgb65rcr1yxk1q75x-rust-base64-0.13.1.tar.xz > Compression: lzip > FileSize: 49781 > > See? zstd=E2=80=99s gone! This confirms my hypothesis. > > BTW, =E2=80=98guix publish=E2=80=99 has provisions to not compress alread= y-compressed > files, as in the case above. We should really share code, Chris. I'm not sure if this is what you have in mind regarding code sharing, but I'll use compressed-file? from (guix utils) in the nar-herder to avoid generating cached compressions for these kind of files in the future. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmRrUFlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xc+og//WlWzxg4dlvECpvED5e1mBK1ieJ2xJMD0 yzfItUsFMlvHXfh10WuD8Fb5sVUNkoQHJx8AkuAIlRp77Tg57R42WgiQasKrWfC3 DrBfP4EkO7UMiQHDHEV9nrMCr45sThEwuM5ZM1hdWvWdd/nwXpyCusZhVu50l6Tl CKUWltM1e9CNwCP4HX+PIFe/U96l8xY4Ai2p6jLYsEUpWax+ja3y1zLW3o5qJJcP MA8Y2+44aChCmrneWL6oxGLCCAuIPEtMfRq15yIhzJBVw6A+KY46HVy61m5F7uw4 QJ5G9NKQEX3/GmkHsWPARcuO5pl9bo+eOCmR/6Y9Hs1S4kPRteC+La62KLcDMHO6 BV1Q2zh/9ImbVnwubz5/cb3+P7ItAUCUeAvWG+ZnIo/fBPVWWbSv0Gs6eh5t/h84 wbKVkIhits5rp6YGVsuxGDE1pPPmhV3J3GF3yLHLO247Rwma9iModfZNmGd71oeP szBdjABikAROvtpsdduk/OeAvK0riVgshv3U1fIM3XaeyNW/mvAk8fzdknVz8bLU 6Lc7A+Vq9s6LUjVsEELObqfTZODL+eZLjSyckCPDQN5FjfaoAiRzLDUtmHeA7CQK JwdukPD3uRL6AmjipLzytJc+Jmu8GbgUgZ8mkPtjC7uZpXBiMsl+zDT1/avkayFb YTIzGhpdb+o= =qq8l -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63634: nar 404 leads to hard =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= crash Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2023 11:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63634 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: 63634@debbugs.gnu.org Received: via spool by 63634-submit@debbugs.gnu.org id=B63634.168475630923666 (code B ref 63634); Mon, 22 May 2023 11:52:01 +0000 Received: (at 63634) by debbugs.gnu.org; 22 May 2023 11:51:49 +0000 Received: from localhost ([127.0.0.1]:33746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q144r-00069e-DB for submit@debbugs.gnu.org; Mon, 22 May 2023 07:51:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q144n-000694-RH for 63634@debbugs.gnu.org; Mon, 22 May 2023 07:51:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q144h-0007nD-2s; Mon, 22 May 2023 07:51:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=VNvrvMJPmr7JiizoZSGGVxFBacZ2pQterpa8ZWSG+kM=; b=HXie/w5hm73Z8aAj5f1d p+kqP1D2c3bOecA0cnyqaNHVnObPM1gSR28vBksxn6J9t60j4lSxl4aEHSQZxQ4Ke5NtBniSfRQ/0 sE7Di+Qey8FgeDgEH1WvRa6cPR+w4ba/nyaNQWE6D1ll6ZLppOg4FCWtElQ81aZdCb+gONXneodfJ I1nSmdXNCT87wv6aM6gYabYC4R2HNGCkzH+UthOHyQx5FQSemARJJp+5R7B4fHHuDieOhgeTOUQu/ O7E/O2aAXDC9IYh9B4o2e0Vq2TBzbEb+1SBbbDsRe/E5E4DvoaOffuSq5EX31wjTjy1kAYRjererb HtmC7wjP7aeuJA==; Received: from [193.50.110.247] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q144f-0004It-Is; Mon, 22 May 2023 07:51:38 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87cz2ttju2.fsf@inria.fr> <87ttw4ye13.fsf@gmail.com> <875y8kzp17.fsf@gnu.org> <87bkicfw6e.fsf@cbaines.net> Date: Mon, 22 May 2023 13:51:34 +0200 In-Reply-To: <87bkicfw6e.fsf@cbaines.net> (Christopher Baines's message of "Mon, 22 May 2023 12:02:04 +0100") Message-ID: <87y1lgy46x.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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-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 (---) Christopher Baines skribis: > Ludovic Court=C3=A8s writes: [...] >> BTW, =E2=80=98guix publish=E2=80=99 has provisions to not compress alrea= dy-compressed >> files, as in the case above. We should really share code, Chris. > > I'm not sure if this is what you have in mind regarding code sharing, > but I'll use compressed-file? from (guix utils) in the nar-herder to > avoid generating cached compressions for these kind of files in the > future. Great, thank you. Ideally we=E2=80=99d have a single =E2=80=98guix publish=E2=80=99 implement= ation, or at least most of it would be a module shared by both =E2=80=98guix publish=E2=80=99 = and =E2=80=98nar-herder=E2=80=99 because it=E2=80=99s tricky enough that we=E2= =80=99d rather not have two of them. The (guix narinfo) module you introduced is a step in that direction and as discussed earlier, we need to go further. Ludo=E2=80=99. From unknown Tue Jun 17 01:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63634: nar 404 leads to hard =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= crash Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2023 11:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63634 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: 63634@debbugs.gnu.org Received: via spool by 63634-submit@debbugs.gnu.org id=B63634.168475649523987 (code B ref 63634); Mon, 22 May 2023 11:55:02 +0000 Received: (at 63634) by debbugs.gnu.org; 22 May 2023 11:54:55 +0000 Received: from localhost ([127.0.0.1]:33754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q147q-0006Ep-Vu for submit@debbugs.gnu.org; Mon, 22 May 2023 07:54:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q147o-0006EW-RG for 63634@debbugs.gnu.org; Mon, 22 May 2023 07:54:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q147j-0008M4-CG; Mon, 22 May 2023 07:54:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=+7eF8aTvQljlBJEKJcpWR+whZyfALusDDvzEPSuS/hE=; b=EVyPWe07bYxJ2d6Q8Kzd cCHALWRMZBPyxbtbJF+gy18o8VzjaYITG+WKEDBA3VQHKtlxN3Xk5XhCFP/LYyxGelItHBaoWzS4u ahdreBeEUgxZr8q4aeYc1EYl812eXZno5eHUvpUGUrHl0zhLSbExnYNCtScu8aR7okYlpJ/XxWAql TlwMylqHphazjA/mBepMWo9sAu0esYzy+LJ2bnnTlGOQBqNOSCdYh1PiGoKfHZUgFxDp5MiX+lJ4Y 9euhp06oUUzo+sTHxvDZDEheefS7Uo8UPM4efY2kHwtayeAc9ARTwpvMfKJZqbpTnKhzM8UdFBySz wTEFQ9AmbqmTQQ==; Received: from [193.50.110.247] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q147i-0004ne-Vj; Mon, 22 May 2023 07:54:47 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87cz2ttju2.fsf@inria.fr> <87a5xwzp6w.fsf@gnu.org> <87fs7ofx3v.fsf@cbaines.net> Date: Mon, 22 May 2023 13:54:45 +0200 In-Reply-To: <87fs7ofx3v.fsf@cbaines.net> (Christopher Baines's message of "Mon, 22 May 2023 11:59:28 +0100") Message-ID: <87mt1wy41m.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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-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 (---) Christopher Baines skribis: > Ludovic Court=C3=A8s writes: [...] >> So it seems that bordeaux.guix did advertise zstd at some point (and >> that narinfo is still in cache) but no longer does. >> >> Chris, can you confirm? > > Yeah, this would have been a consequence of reducing the cache size [1]. > > 1: https://git.savannah.gnu.org/cgit/guix/maintenance.git/commit/?id=3Dce= 8d3000fda6b80c0cf3e6f8204e0ee293024e6b As discussed on IRC, I think nar-herder should honor the TTL it advertises for all the URLs of the narinfo (lzip, zstd, etc.) because that=E2=80=99s how =E2=80=98guix substitute=E2=80=99 currently interprets t= he TTL. Eventually it would be nice for =E2=80=98guix substitute=E2=80=99 to interp= ret the TTL as applying to one of the URLs (not necessarily all of them), but this kind of change takes months if not years to be widely deployed because users rarely (if ever) update guix-daemon. Ludo=E2=80=99. From unknown Tue Jun 17 01:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63634: nar 404 leads to hard =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= crash Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2023 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63634 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63634@debbugs.gnu.org, 55820-done@debbugs.gnu.org Received: via spool by 63634-submit@debbugs.gnu.org id=B63634.168476862317256 (code B ref 63634); Mon, 22 May 2023 15:18:02 +0000 Received: (at 63634) by debbugs.gnu.org; 22 May 2023 15:17:03 +0000 Received: from localhost ([127.0.0.1]:35868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q17HS-0004UB-M5 for submit@debbugs.gnu.org; Mon, 22 May 2023 11:17:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q17HR-0004TS-2k; Mon, 22 May 2023 11:17:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q17HL-0006HL-Jx; Mon, 22 May 2023 11:16:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=WTfP0B+dncrOchcJ2ypxMTQbZSV1RPCd+LFjLJKi7IU=; b=fdEMbz18edQ10QaEv7fM PI9ymM6J84WYIEwqyfBC1PI6cX+SIZuUCZQPkIbfGCpkyflcShTT/Pp0cAaJxy7iIj+3nthZPrzqD QFFz9lZ73gZf27UatdBJB3UtXnWm64sB/8iq0pXvFwjDgo+P6HmNztLCHYOCiQpg0yScakMmBb8qc ubEhbphl8BRyz6+ruOnF/J8wrg/WtoS+dRZ0IbX4mpL7x4Ms+I0VYmcDjRivqEdLMd+skBue9dC7/ NLAO7bHW9pJhmoZzLQ8oeTUKIY7h5C0LqHt9FoDFC4s5hZUmerlkmqZO8lPXXqkHJLdCBMNWDXSG+ YbGL+nLs643anA==; Received: from [193.50.110.247] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q17HL-0001x0-44; Mon, 22 May 2023 11:16:55 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87cz2ttju2.fsf@inria.fr> Date: Mon, 22 May 2023 17:16:53 +0200 In-Reply-To: <87cz2ttju2.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 22 May 2023 00:12:37 +0200") Message-ID: <878rdgwg4a.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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-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 (---) Hi, Ludovic Court=C3=A8s skribis: > 646:2 10 (process-substitution _ _ _ #:cache-urls _ #:acl _ # _ # =E2= =80=A6) > In ice-9/boot-9.scm: > 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) > In guix/scripts/substitute.scm: > 463:7 8 (download-nar #< path: "/gnu/store/dg0rm1mp9q=E2=80= =A6> =E2=80=A6) > In ice-9/boot-9.scm: > 1747:15 7 (with-exception-handler # =E2=80=A6) > 1685:16 6 (raise-exception _ #:continuable? _) > 1683:16 5 (raise-exception _ #:continuable? _) > 1685:16 4 (raise-exception _ #:continuable? _) > 1780:13 3 (_ #<&compound-exception components: (#<&error> #<&irri=E2= =80=A6>) > 1685:16 2 (raise-exception _ #:continuable? _) > 1683:16 1 (raise-exception _ #:continuable? _) > 1685:16 0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > ERROR: > 1. &http-get-error: > uri: #< scheme: https userinfo: #f host: "bordeaux.guix.gnu.or= g" port: #f path: "/nar/zstd/dg0rm1mp9qvjhvlwra5mc8dz5pfky4hj-guile-coloriz= ed-0.1" query: #f fragment: #f> > code: 404 > reason: "Not Found" > headers: ((server . "nginx") (date . #) (content= -type text/plain (charset . "utf-8")) (content-length . 3) (connection keep= -alive)) > 2. &message: "https://bordeaux.guix.gnu.org/nar/zstd/dg0rm1mp9qvjhvlwra= 5mc8dz5pfky4hj-guile-colorized-0.1: HTTP download failed: 404 (\"Not Found\= ")" > substitution of /gnu/store/dg0rm1mp9qvjhvlwra5mc8dz5pfky4hj-guile-coloriz= ed-0.1 failed [...] > This might be related to 8bd4126917f59f4af9a4323c3d5699201862dca2. The > two =E2=80=98download-nar=E2=80=99 calls are guarded against =E2=80=98htt= p-get-error?=E2=80=99 though. That the exception went through despite the =E2=80=98network-error?=E2=80= =99 guard is fixed by 3f59fd6d114548480c719d4b8f8509bdf3e8dcca. The reason was that the =E2=80=98&http-get-error=E2=80=99 condition was get= ting wrapped in a =E2=80=98kind-and-args=E2=80=99 exception upon rethrow, as illustrated= here: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (catch #t (lambda () (raise-exception (condition (&message (message "boo")))= )) (lambda args args)) $5 =3D (%exception #<&message message: "boo">) scheme@(guile-user)> (with-exception-handler (lambda (e) e) (lambda () (apply throw $5)) #:unwind? #t) $6 =3D #<&compound-exception components: (#<&error> #<&irritants irritants:= (#<&message message: "boo">)> #<&exception-with-kind-and-args kind: %excep= tion args: (#<&message message: "boo">)>)> scheme@(guile-user)> (message-condition? $6) $7 =3D #f --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99. From unknown Tue Jun 17 01:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63634: nar 404 leads to hard =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= crash Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2023 15:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63634 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63634@debbugs.gnu.org Cc: Christopher Baines Received: via spool by 63634-submit@debbugs.gnu.org id=B63634.168476974419245 (code B ref 63634); Mon, 22 May 2023 15:36:01 +0000 Received: (at 63634) by debbugs.gnu.org; 22 May 2023 15:35:44 +0000 Received: from localhost ([127.0.0.1]:35964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q17ZY-00050L-I4 for submit@debbugs.gnu.org; Mon, 22 May 2023 11:35:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q17ZW-000504-CJ for 63634@debbugs.gnu.org; Mon, 22 May 2023 11:35:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q17ZP-000242-UL; Mon, 22 May 2023 11:35:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=cjwQBHvHAZOHLjWrxVw45R1HSTX0FlSRRDsPwoQWkpo=; b=Hni3ki4VduIYTfS6sjcg 5EfrGRWqclTWzSzHY+1793QI01/NCmtGzLcSclYtEBZxQWTNmGxgPX4YqBuylCPIIQdeNOG39h5wL d+I529Q0HjbNY0lLWunk94XteOM+ER4QpgstiOg6CwOuEQ0LAi0wXctKtZmznEwyAi/lblNEiW0xz H1J2UQMo9BMSLuWqqMxI+PKP0A7JOjBYWG+58avUZkkqPcXwJMVaTOFom6beelMw4pf/ljD5DNivk SubFoFsNWInQRnyFVkiqlMfIZYDIxGfO6EF40Sy4IafyLOsW0Y8gqGihcpMsi0pmvFZVnw8x6mt8T Ar/S+8g7BjVnBg==; Received: from [193.50.110.247] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q17Yx-0001Pd-1K; Mon, 22 May 2023 11:35:34 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87cz2ttju2.fsf@inria.fr> <87a5xwzp6w.fsf@gnu.org> Date: Mon, 22 May 2023 17:35:05 +0200 In-Reply-To: <87a5xwzp6w.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 22 May 2023 11:32:39 +0200") Message-ID: <87zg5wv0pi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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-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 (---) Ludovic Court=C3=A8s skribis: > So it seems that bordeaux.guix did advertise zstd at some point (and > that narinfo is still in cache) but no longer does. Here=E2=80=99s a fix: https://issues.guix.gnu.org/63646 Ludo=E2=80=99. From unknown Tue Jun 17 01:36:52 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#63634: closed (Re: bug#63646: [PATCH] substitute: If a server's nar URL is 404, try the next one(s).) Message-ID: References: <87cz2ieq78.fsf_-_@gnu.org> <87cz2ttju2.fsf@inria.fr> X-Gnu-PR-Message: they-closed 63634 X-Gnu-PR-Package: guix Reply-To: 63634@debbugs.gnu.org Date: Mon, 29 May 2023 22:20:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1685398801-8751-1" This is a multi-part message in MIME format... ------------=_1685398801-8751-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #63634: nar 404 leads to hard =E2=80=98guix substitute=E2=80=99 crash 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 63634@debbugs.gnu.org. --=20 63634: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63634 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1685398801-8751-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 63634-done) by debbugs.gnu.org; 29 May 2023 22:19:19 +0000 Received: from localhost ([127.0.0.1]:59394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3lCx-0002Fg-2K for submit@debbugs.gnu.org; Mon, 29 May 2023 18:19:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3lCu-0002FO-GJ; Mon, 29 May 2023 18:19:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3lCo-0007cX-H6; Mon, 29 May 2023 18:19:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=7kHK5jBS14tAPNWAqOSbiIfo0evyafEB5mRID8IBZvM=; b=iuaH5gdgi3fVM5j5xGeI tJjqHMItEgxHGWR+NXsUSuxBcI/h4jBDJQjCwyUC80RKsR1ewrBvbCqpurHNvc4R3EBmY1wTzzOXg sSP/LBLRvFU2oYl76XQme2h7S5sSNVTb1B+L3J6Rs0wWlm6/a3jRe37E3teFEwEz6WnRrsAnrH2hJ d0V7oXgcLYbflit9Bw8h8yjK1+H6HHsjdjPTxJ5oLf9gIaRW270WkL0zsQSvGbGsmaTsGOYtxnSF3 /wL5o6iJfpe4n0xBSdxIwCxf+Z/XJdgZnmCWs0PMIbLSo0czKvupdi63lhe1dogb852BRbAwvdVKt sWiIctCrF3Fouw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3lCo-0006iC-33; Mon, 29 May 2023 18:19:10 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 63646-done@debbugs.gnu.org, 63634-done@debbugs.gnu.org Subject: Re: bug#63646: [PATCH] substitute: If a server's nar URL is 404, try the next one(s). References: <87v8gkv088.fsf@gnu.org> Date: Tue, 30 May 2023 00:19:07 +0200 In-Reply-To: <87v8gkv088.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 22 May 2023 17:45:27 +0200") Message-ID: <87cz2ieq78.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: 63634-done Cc: Josselin Poiret , Christopher Baines , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Ricardo Wurmus 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 (---) Hi, Ludovic Court=C3=A8s skribis: > Ludovic Court=C3=A8s skribis: > >> + (define (try-fetch choices) >> + (match choices >> + (((uri compression file-size) rest ...) >> + (guard (c ((and (pair? rest) (network-error? c)) >> + (warning (G_ "download from '~a' failed, trying next = URL~%") >> + (uri->string uri)) > > I realized we can change =E2=80=98network-error?=E2=80=99 to =E2=80=98htt= p-get-error?=E2=80=99 above. > Otherwise, we could find ourselves trying several nar URLs on the same > server when the error is ETIMEDOUT or ECONNREFUSED, which would be a > waste of time. Pushed as 8af9a2aa5fa2fa5b00234c1cbe12e9aff60888a0. Ludo=E2=80=99. ------------=_1685398801-8751-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 May 2023 22:12:52 +0000 Received: from localhost ([127.0.0.1]:32971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0rIJ-0002vS-PP for submit@debbugs.gnu.org; Sun, 21 May 2023 18:12:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:32888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0rIH-0002vI-Ng for submit@debbugs.gnu.org; Sun, 21 May 2023 18:12:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0rIG-0005C8-BZ for bug-guix@gnu.org; Sun, 21 May 2023 18:12:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0rIG-0002Ri-47 for bug-guix@gnu.org; Sun, 21 May 2023 18:12:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=ApYVscVAWp/j83X1vIHSUrkGFkO7aKvCZYsNjkPaAbs=; b=ZVm46I+b2ifdw6 +9nZxWp384nY/Yrx+wexgc11pQnvMGHFXjQ8IIwhu+k8e+9ohVV6hUmKPq0QQyqoxFJVN8Jq5CVId rVl7ZDfMyZH1IlzuDsi4y7TYbnIVZX7/Ebei2vspIA8WaoLnjm922AhL0Em8lBgT4REtygCM4FOCL KO49zLXyP8bj1yV1zn79qynyZTzcRkm2oZ2MdVJtdmtv9d26hiDcAIfEXv6ym07GnyRhJnRCcl5Lt bzkuksezipPEx+2eV8CZyJFlgKZKgjpwGq5GRbx2qGjGAJ5TiiPlD9oVpXf92BwoheoPH34qxSxy8 ZViJ4UMacK1XvQ4NCagQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0rI8-0002tn-3V for bug-guix@gnu.org; Sun, 21 May 2023 18:12:47 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guix@gnu.org Subject: nar 404 leads to hard =?utf-8?Q?=E2=80=98guix_substitute=E2=80=99?= crash X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Tridi 3 Prairial an 231 de la =?utf-8?Q?R=C3=A9volut?= =?utf-8?Q?ion=2C?= jour du =?utf-8?Q?Tr=C3=A8fle?= 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: Mon, 22 May 2023 00:12:37 +0200 Message-ID: <87cz2ttju2.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: 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 (---) Like this: --8<---------------cut here---------------start------------->8--- gst-plugins-bad-minimal-1.22.2 650KiB 6.8MiB/s 00:00 =E2= =96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=88=E2=96=8F 100.0% guile-bytestructures-1.0.10 222KiB 4.1MiB/s 00:00 =E2= =96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=88=E2=96=8F 100.0% Backtrace: In ice-9/boot-9.scm: 1752:10 19 (with-exception-handler _ _ #:unwind? _ # _) In unknown file: 18 (apply-smob/0 #) In ice-9/boot-9.scm: 724:2 17 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 16 (_ #(#(#))) In guix/ui.scm: 2300:7 15 (run-guix . _) 2263:10 14 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 13 (with-exception-handler _ _ #:unwind? _ # _) 1752:10 12 (with-exception-handler _ _ #:unwind? _ # _) In guix/scripts/substitute.scm: 854:15 11 (_) 646:2 10 (process-substitution _ _ _ #:cache-urls _ #:acl _ # _ # =E2= =80=A6) In ice-9/boot-9.scm: 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) In guix/scripts/substitute.scm: 463:7 8 (download-nar #< path: "/gnu/store/dg0rm1mp9q=E2=80= =A6> =E2=80=A6) In ice-9/boot-9.scm: 1747:15 7 (with-exception-handler # =E2=80=A6) 1685:16 6 (raise-exception _ #:continuable? _) 1683:16 5 (raise-exception _ #:continuable? _) 1685:16 4 (raise-exception _ #:continuable? _) 1780:13 3 (_ #<&compound-exception components: (#<&error> #<&irri=E2=80= =A6>) 1685:16 2 (raise-exception _ #:continuable? _) 1683:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: ERROR: 1. &http-get-error: uri: #< scheme: https userinfo: #f host: "bordeaux.guix.gnu.org"= port: #f path: "/nar/zstd/dg0rm1mp9qvjhvlwra5mc8dz5pfky4hj-guile-colorized= -0.1" query: #f fragment: #f> code: 404 reason: "Not Found" headers: ((server . "nginx") (date . #) (content-t= ype text/plain (charset . "utf-8")) (content-length . 3) (connection keep-a= live)) 2. &message: "https://bordeaux.guix.gnu.org/nar/zstd/dg0rm1mp9qvjhvlwra5m= c8dz5pfky4hj-guile-colorized-0.1: HTTP download failed: 404 (\"Not Found\")" substitution of /gnu/store/dg0rm1mp9qvjhvlwra5mc8dz5pfky4hj-guile-colorized= -0.1 failed guix system: error: corrupt input while restoring archive from # $ guix describe Generation 263 May 21 2023 23:56:04 (current) guix c5bc698 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: c5bc698e8922d78ed85989985cc2ceb034de2f23 guile 36fd2b4 repository URL: https://git.savannah.gnu.org/git/guile.git branch: main commit: 36fd2b4920ae926c79b936c29e739e71a6dff2bc shepherd 954742c repository URL: https://git.savannah.gnu.org/git/shepherd.git branch: master commit: 954742cd0d066ac4be7de4a031d7e229fd445c5d $ guix package -p /run/current-system/profile -I guix guix 1.4.0-6.dc5430c out /gnu/store/cgjddvw9zay626z8hyxl0zmn1354c24k-= guix-1.4.0-6.dc5430c guix-icons 0.1 out /gnu/store/arcpwjvhp3ws1i6g1sdnfxxrxc3zq4m9-= guix-icons-0.1 --8<---------------cut here---------------end--------------->8--- This might be related to 8bd4126917f59f4af9a4323c3d5699201862dca2. The two =E2=80=98download-nar=E2=80=99 calls are guarded against =E2=80=98http-= get-error?=E2=80=99 though. Ludo=E2=80=99. ------------=_1685398801-8751-1--