From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +On/J5M3SGGRbwEAgWs5BA (envelope-from ) for ; Mon, 20 Sep 2021 09:26:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YNmTI5M3SGH3WQAAbx9fmQ (envelope-from ) for ; Mon, 20 Sep 2021 07:26:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E45049F3 for ; Mon, 20 Sep 2021 09:26:10 +0200 (CEST) Received: from localhost ([::1]:49736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSDgo-0003m9-13 for larch@yhetil.org; Mon, 20 Sep 2021 03:26:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSDgh-0003lv-0v for bug-guix@gnu.org; Mon, 20 Sep 2021 03:26:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57576) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSDgg-0000kn-PR for bug-guix@gnu.org; Mon, 20 Sep 2021 03:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSDgg-00050D-IC for bug-guix@gnu.org; Mon, 20 Sep 2021 03:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50568: Missing source code Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 20 Sep 2021 07:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50568 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "pelzflorian (Florian Pelz)" Received: via spool by 50568-submit@debbugs.gnu.org id=B50568.163212275519216 (code B ref 50568); Mon, 20 Sep 2021 07:26:02 +0000 Received: (at 50568) by debbugs.gnu.org; 20 Sep 2021 07:25:55 +0000 Received: from localhost ([127.0.0.1]:40889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSDgZ-0004zs-Id for submit@debbugs.gnu.org; Mon, 20 Sep 2021 03:25:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSDgU-0004zb-5d for 50568@debbugs.gnu.org; Mon, 20 Sep 2021 03:25:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52032) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSDgN-0000QE-Ka; Mon, 20 Sep 2021 03:25:44 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35880 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSDg9-0000lR-6l; Mon, 20 Sep 2021 03:25:43 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87k0jk8vkf.fsf@inria.fr> <87tuin7dr4.fsf@gnu.org> <20210914093610.u56q7ltjbwbbnf34@pelzflorian.localdomain> <8735q41ezt.fsf@gnu.org> <20210917104650.xf5hb4e2wjb734ed@pelzflorian.localdomain> Date: Mon, 20 Sep 2021 09:25:27 +0200 In-Reply-To: <20210917104650.xf5hb4e2wjb734ed@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Fri, 17 Sep 2021 12:46:50 +0200") Message-ID: <87fstzr9nc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: , Cc: 50568@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632122771; 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; bh=fkBk7lVNDnJsP1b13/E6fWnT13jUL6U37C6Rsr1cxWs=; b=HaO+eN8CRXaec4x//bvEQWbQCOVdi8CSpIp9iIv/FHfj34PWZqTwhXqtXaYX5uAkcP/3Y2 ot7gu3stbY0YivRZLjj8acKU12LBlbGYGPaXE2t2RPnBCRunTN9GG4Q7XsvkOoaTprVyq0 TQ2wBU9EN3lcSXeU+D8zhTY5jibR6ALuWKFHOJMrNYqNgH2CyyJ8qPmEf2SD4yMVW/DI4I PMj4H4zqs8fSwwIz+9IgqWZhDJ4T3xT/cH2/7gxTXPjO9r0QFVYzo/YC90IoFBl5uV5LIy PwOUP6RItc0MaMVwdXvbcrQb+n71p5XGtyFZIMzBnWgkXzarDIMfuT0sgYtE9g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632122771; a=rsa-sha256; cv=none; b=SFNI4FWWWg352CFxguqMJ35DnAaq6bdVJlPThWXpvIRWwQKOY/Wp62ktDdC2UElhiNWj47 uBfeb0LIsjepSakgbBQT+Au+BeaJQgcX+jT/FVUeVlS7Eg/Ns6xsEh7Gn6fLFVAbTQpA2p iQdBf8GOo1BEGUXxqXbLqGmEYmnQXVtr/jtZQJfhAC59NR+xF+Z8IhuW3CIoM00zgOdVOJ Sk0quqYsK9I6FCDsPCHiH/Cm+l1ov4vwuUkTeS6y5vE3fnJvanfjk2AuvzokNVUau95Jon T/KHHgYNq1DcOrAOEiYW+KVdrw2OIaIUCb7JpcHLyXIumcDjA0tIk7rMYBvM/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.38 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: E45049F3 X-Spam-Score: -1.38 X-Migadu-Scanner: scn0.migadu.com X-TUID: yeuQRKMb9R/n Hi Florian, "pelzflorian (Florian Pelz)" skribis: > On Tue, Sep 14, 2021 at 10:38:55AM +0200, Ludovic Court=C3=A8s wrote: >> I wonder if there=E2=80=99s a way to construct generic web.archive.org U= RLs that >> we could use as a fallback in (guix build download)? > On Thu, Sep 16, 2021 at 09:45:26PM +0200, Ludovic Court=C3=A8s wrote: >> How =E2=80=99bout the attached patch? Works for me. > > Thank you for implementing. I guix pull with the patch applied, add the = IP > from > > guix environment --ad-hoc bind:utils -- dig web.archive.org > > to /etc/hosts, set my DNS server to a non-existing 10.0.0.50, disable > IPv6, then =E2=80=9Csudo herd stop nscd=E2=80=9D, re-connect Network Mana= ger (ping > gnu.org fails now) and LC_ALL=3Den_US.utf8 guix install hello. It > fails. Did I misunderstand the patch=E2=80=99s purpose or test in a wrong > way? This is the output: The thing is that this code is used by the internal =E2=80=98guix perform-download=E2=80=99 command, invoked by =E2=80=98guix-daemon=E2=80=99= when performing a source download. Thus, since you were still running the old daemon, you were using code lacking the Internet Archive fallback. To test it, you can first start the new daemon, along these lines: sudo herd stop guix-daemon sudo -E ./pre-inst-env guix-daemon --build-users-group=3Dguixbuild Another option is to call =E2=80=98url-fetch=E2=80=99 manually at the REPL. Thanks for testing! Ludo=E2=80=99.