From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GGQKM+Ana2S27QAASxT56A (envelope-from ) for ; Mon, 22 May 2023 10:29:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EH0NM+Ana2R/rwAA9RJhRA (envelope-from ) for ; Mon, 22 May 2023 10:29:20 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6419D9C1C for ; Mon, 22 May 2023 10:29:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q10ue-0000FQ-IZ; Mon, 22 May 2023 04:29:04 -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 1q10uc-0000FA-SN for bug-guix@gnu.org; Mon, 22 May 2023 04:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q10uc-0004dt-KB for bug-guix@gnu.org; Mon, 22 May 2023 04:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q10uc-0005ww-Gi for bug-guix@gnu.org; Mon, 22 May 2023 04:29:02 -0400 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684744160; a=rsa-sha256; cv=none; b=gvm9msA6wZNBZucHk4f5zkOxveydhs676gwN/qcfs3TcjRbi2ppkFXwL80QPDTKLE4J/LE o8nljmeKuqm7abxewkljcnkaZBC/VzwLs8+ZTa1kWH4+Zpe748MH5m+e3UJi7J1JWIbmVN rRTQ4IgtSNtkkjeDQpLQj67aT6kTZ4CfJAlVdVb0lgpu7nH4LCF6e+hlOepyf66gWtdWBo 3Grq0y8okrkvrUXCb2TxPdujgFyzleWtOa/vA1MVOpy8tZVGJxD+kZbR1szVo5LPLe1lU+ nK90tOL04ZvPGfkI96aPa1mP1Ei3cSZpbG3ZDQutbh2U6ZGbG5JKf0Kz/w3RfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=Z5aYNJUb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684744160; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=uWYLnuXIcTAp6jKKCSKxQ5LJv90HfWGPo+LUPGstj+w=; b=Bb5mcgyzNMHvMbBuaPxlZwHy43Zhv+CQudw2Spiigq+pgJK2XKXKxhJNF4QpTrXGxdpxxQ BqI0mhk+V76LwiLS3PLokfK+v1EQ7RUwcfNoVn3HqbJ1ruHBqsws6vHadQ3mEvB2IMUZHA wqMYUChndeSknpsHaTRogvFSwC1rSNWnfZki6jT1vn2+aYSZY5/s7gPnp2ExsluT9IWCkW ANABRhAiBcl8CVEbRtMlpD13X31tXD8om1xN3GpAQgJIOda3rXD7X8YXd0ZwfVqHzb1Pcp h0VcPcCKw5/7fV9VVa96QE9nwzxRHAOQ19clAXrgEeYAtqK8oYhO44olGzJItA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=Z5aYNJUb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.33 X-Spam-Score: 7.33 X-Migadu-Queue-Id: 6419D9C1C X-TUID: wyW5QV8kZtSR 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