From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 cAonJxYjdmRVJQAASxT56A (envelope-from ) for ; Tue, 30 May 2023 18:23:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wHdlJhYjdmTxXgEAG6o9tA (envelope-from ) for ; Tue, 30 May 2023 18:23:50 +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 5BEC02C9C9 for ; Tue, 30 May 2023 18:23:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4283-0000GW-Lb; Tue, 30 May 2023 12:23:23 -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 1q427u-0000AI-L5 for bug-guix@gnu.org; Tue, 30 May 2023 12:23:16 -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 1q427j-0005mx-7G for bug-guix@gnu.org; Tue, 30 May 2023 12:23:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q427j-0003S0-3P for bug-guix@gnu.org; Tue, 30 May 2023 12:23:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63794: Bad error reporting in case of 404 during downloading Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 30 May 2023 16:23:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63794 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos , 63794@debbugs.gnu.org Received: via spool by 63794-submit@debbugs.gnu.org id=B63794.168546374913201 (code B ref 63794); Tue, 30 May 2023 16:23:03 +0000 Received: (at 63794) by debbugs.gnu.org; 30 May 2023 16:22:29 +0000 Received: from localhost ([127.0.0.1]:34015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q427A-0003Qr-Lh for submit@debbugs.gnu.org; Tue, 30 May 2023 12:22:29 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:41288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4270-0003Q7-O5 for 63794@debbugs.gnu.org; Tue, 30 May 2023 12:22:24 -0400 Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-3f6e67df911so9311535e9.1 for <63794@debbugs.gnu.org>; Tue, 30 May 2023 09:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685463733; x=1688055733; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Ki97q8Tsv35PfCond+CQYwDNiOys6+g1fmzj8qlEM9o=; b=SYmqX2+xdYwdFhzbZzQJAAGk+kNTI3QGadhwwZP4AUKlkR6uAUBGP+udkNHcYG8VJ0 6ki7BkwaqKMbrbe0xHgyYmIP7ihV6oZ1J1oJ8OqqLfJqkccue6Ii1ubNbSox5+Y/Z6DY CbswZGoo5qek3cm4QzV32ZILBBLGs7b8GE15/np9cWO/LHO33BdDaDmn1zA/3ePvjptt D7JYILFA0zTMcVT6CCxdYTf6qV0YTbkAgWemNbhl7sEJNTvJjjRiZCVyfCdC1wm7xua4 iC0WsfwG2ZBGJR0qYwRV9ZqspyCn96zB3l2Ke6zloV/jlEnMQOq00TOuhw2Dg3pco8KJ /20w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685463733; x=1688055733; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=Ki97q8Tsv35PfCond+CQYwDNiOys6+g1fmzj8qlEM9o=; b=kC/NkyDUHONyVSwLXPmKYvDoZ6x9KtLqzmuh7S0pqytTVn4EGHn6rXZX9W2VdUdsr4 XvObVB7ZKQab1p4LXg4C5Mlq2Fdwm3Pfb3QG6wAZv1hg4TzhOVRUHrNSeYUeNNCd13/i d7cD/9noKnEWEyRLmUz8h3nK2vxT0rXq2eIhlpSNlgpIr4edKb1rc1+94xP6NA2XxC5i WUEgSEZniA2Lr8F13p1QPeiSUGrZphIkH9QSZsSUEM9HvFY6uCp+bs6C/RnaDNlOH/Rf Q6grsDodFgd8Ij1ymUGEM1bkMpVStsG/GMXuZLNiVq9+cy+/gNp+OwaBSAQqsLamYOFV Ml/g== X-Gm-Message-State: AC+VfDyuvmQJ+QBU0BDrULKrQ7TkNdCF7zmMRmqFThxNe4TLv1dX10ZU xwPPime6qhzjvoi4JFRadcm3cc5p1CY= X-Google-Smtp-Source: ACHHUZ7GE84sFBxzFS86R5M5PW/e8sINQtESz6eyzlMr7IM7Uk9JpoB0jSWcQhi/JZrq3Iqhec5RPA== X-Received: by 2002:a05:600c:46c5:b0:3f6:87e:f89a with SMTP id q5-20020a05600c46c500b003f6087ef89amr2654839wmo.2.1685463732854; Tue, 30 May 2023 09:22:12 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id o11-20020a05600c378b00b003f195d540d9sm21532908wmr.14.2023.05.30.09.22.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 09:22:12 -0700 (PDT) From: Simon Tournier In-Reply-To: References: Date: Tue, 30 May 2023 17:53:17 +0200 Message-ID: <87fs7dstn6.fsf@gmail.com> 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=1685463830; a=rsa-sha256; cv=none; b=As8d7LRYBmjHZl6qDyQ2RALvL0TKBEQvqQ4VS0HfhfXpdGWszXqNhqWbt1cwzfsNiCjs3/ XTqsM0XMNBHQ5Yx24kXCvJULG3hh4Kj8gK5G+n8IB5G8Pwu4ch/pxcQaY/OH2v8yHmGxwN p2BthYwY1dcSKEEXKiSKnMX565ZXhekgS+8LIT3+bNWdxxUy+xUFPX+qeaL8ubv3rw+nGp fsdrhnrhAIppxWErzzPrkvs8xkU3FXA+NklA6+5SiL6wq9T/uKqE4SCLJkpxnlOGTpJ4Kn yFU1AkQPtBpBusHvdn7XEPIsdA5ecvvUvvNEmz6J5W8DxfRA/DxiserNu7lQQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=SYmqX2+x; 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=1685463830; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Ki97q8Tsv35PfCond+CQYwDNiOys6+g1fmzj8qlEM9o=; b=JvINlck7MGHYqOnisFi95lOWQpu7yqzJoSkX3wNY001pVfcSvRDpV6qAhhGS+n3UZOlfV/ bwbU8h4CGfIAMpzBXsBffWDicJkYphQ0BbopD761gW4J9y1xTI5ixW/rDJNfQR+YLZLegk gs9k+7xzZhEada9ILmD8jI0YFDjJf5QrygovXN9M5ftmKJzkzbXHGmO+5u4Qo9a4h4fzjd lUDE20eDBNUYehSPCygM4515jdw2rpLU+EBiiLZv2CZGJfAiA7kY136bUfPXU8ph9sRHkg t2BeqdPdRiaWBXVYLiQZTlXZYLuT1NNQroXRkWjPPl6VwM8HpTiReb3dpaOlQA== 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=SYmqX2+x; 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.36 X-Spam-Score: 7.36 X-Migadu-Queue-Id: 5BEC02C9C9 X-TUID: M6+DNy+MBgR4 Hi, I confirm a similar error building a commit on the top of 52fed8fbd7. On mar., 30 mai 2023 at 00:05, Maxime Devos wrote: > guix-1.4.0-6.dc5430c 52.2MiB=20 > 811.7Mi guix-1.4.0-6.dc5430c 52.2MiB=20 > 1.46Gi guix-1.4.0-6.dc5430c 52.2MiB=20 > 1.70GiB/s 00:00 =E2=96=95=E2=96=8E =E2= =96=8F 1.7%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/arcljcj925=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:=20 > "bordeaux.guix.gnu.org" port: #f path:=20 > "/nar/zstd/arcljcj925bcsavh66wdfd7ppln66g06-NetworkManager-1.42.6.tar.xz"= =20 > query: #f fragment: #f> > code: 404 > reason: "Not Found" > headers: ((server . "nginx") (date . # 34 minute: 50 hour: 20 day: 29 month: 5 year: 2023 zone-offset: 0>)=20 > (content-type text/plain (charset . "utf-8")) (content-length . 3)=20 > (connection keep-alive)) > 2. &message:=20 > "https://bordeaux.guix.gnu.org/nar/zstd/arcljcj925bcsavh66wdfd7ppln66g06-= NetworkManager-1.42.6.tar.xz:=20 > HTTP-download mislukt: 404 (\"Not Found\")" --8<---------------cut here---------------start------------->8--- substituting /gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.t= ar.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/26q8viimh3=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/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.= 1.tar.xz" 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/26q8viimh3r73549drqi= gvz07kl9v6pr-webkitgtk-2.40.1.tar.xz: HTTP download failed: 404 (\"Not Foun= d\")" substitution of /gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.= 1.tar.xz failed guix build: error: corrupt input while restoring archive from # --8<---------------cut here---------------end--------------->8--- Ok, let try to manually build webkitgkt: --8<---------------cut here---------------start------------->8--- simon@pfiuh07$ ./pre-inst-env guix build webkitgtk The following derivation will be built: /gnu/store/gdvjm79zbi8nhdwgmk40n6k4rlmz2ndk-webkitgtk-2.40.1.drv 39,2 MB will be downloaded: /gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz substituting /gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.t= ar.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/26q8viimh3=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/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.= 1.tar.xz" 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/26q8viimh3r73549drqi= gvz07kl9v6pr-webkitgtk-2.40.1.tar.xz: HTTP download failed: 404 (\"Not Foun= d\")" substitution of /gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.= 1.tar.xz failed guix build: error: some substitutes for the outputs of derivation `/gnu/sto= re/crbrn417ksq4qjky3fw92z5902v3kn3s-webkitgtk-2.40.1.tar.xz.drv' failed (us= ually happens due to networking issues); try `--fallback' to build derivati= on from source=20 --8<---------------cut here---------------end--------------->8--- Ah, ok let apply the suggestion: --8<---------------cut here---------------start------------->8--- simon@pfiuh07$ ./pre-inst-env guix build webkitgtk --fallback The following derivation will be built: /gnu/store/gdvjm79zbi8nhdwgmk40n6k4rlmz2ndk-webkitgtk-2.40.1.drv 39,2 MB will be downloaded: /gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz substituting /gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.t= ar.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/26q8viimh3=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/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.= 1.tar.xz" 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/26q8viimh3r73549drqi= gvz07kl9v6pr-webkitgtk-2.40.1.tar.xz: HTTP download failed: 404 (\"Not Foun= d\")" substitution of /gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.= 1.tar.xz failed guix build: error: corrupt input while restoring archive from # --8<---------------cut here---------------end--------------->8--- At the end, I need to do: ./pre-inst-env guix build webkitgtk -S --no-substitutes but I do not necessary want to rebuild all. Well, all in all, I agree with Maxime that the backtrace is ugly, the message misleading and last that various options should be tried automatically (for fixed-outputs). Cheers, simon