From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 17 06:47:09 2021 Received: (at 50568) by debbugs.gnu.org; 17 Sep 2021 10:47:09 +0000 Received: from localhost ([127.0.0.1]:58625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRBOZ-0005ao-KL for submit@debbugs.gnu.org; Fri, 17 Sep 2021 06:47:09 -0400 Received: from pelzflorian.de ([5.45.111.108]:50108 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRBOX-0005aG-9a for 50568@debbugs.gnu.org; Fri, 17 Sep 2021 06:47:02 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 43C54360674; Fri, 17 Sep 2021 12:47:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1631875620; bh=PRTW0Y0Or4LR5N+4a5kAsi74cLrvhUq5v4wDWyXyyfA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=tztfFtNDLv4ptKwODmqP55SdmRxNS7qGP6FNXNiK7QiI2JIGo6VmWPCvxy5vtQzkl fNS+sNjX2LmF1nrsAMrMBZuA/SJIVE1dYv4+69VRB7q33t6498V3rSjV4WyBMTIzZj 1uA1eMB3EgSmHjkAUNWcK4/+BnDZN2WsQFnKtXg8= Date: Fri, 17 Sep 2021 12:46:50 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#50568: Missing source code Message-ID: <20210917104650.xf5hb4e2wjb734ed@pelzflorian.localdomain> References: <87k0jk8vkf.fsf@inria.fr> <87tuin7dr4.fsf@gnu.org> <20210914093610.u56q7ltjbwbbnf34@pelzflorian.localdomain> <8735q41ezt.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8735q41ezt.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50568 Cc: Maxime Devos , 50568@debbugs.gnu.org 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 (-) On Tue, Sep 14, 2021 at 10:38:55AM +0200, Ludovic Courtès wrote: > I wonder if there’s a way to construct generic web.archive.org URLs that > we could use as a fallback in (guix build download)? On Thu, Sep 16, 2021 at 09:45:26PM +0200, Ludovic Courtès wrote: > How ’bout 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 “sudo herd stop nscd”, re-connect Network Manager (ping gnu.org fails now) and LC_ALL=en_US.utf8 guix install hello. It fails. Did I misunderstand the patch’s purpose or test in a wrong way? This is the output: florian@florianacer ~$ LC_ALL=en_US.utf8 guix install hello The following package will be installed: hello 2.10 substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%guix substitute: warning: ci.guix.gnu.org: host not found: Temporary failure in name resolution substitute: substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 0.0%guix substitute: warning: bordeaux.guix.gnu.org: host not found: Temporary failure in name resolution substitute: The following derivations will be built: /gnu/store/4hsqwl19n4m2scipkzy0rsc04n30vhbk-profile.drv /gnu/store/xr30pd6zw8lp0xz3kq2d7gm3c8pmh674-hello-2.10.drv /gnu/store/wy24jyd0mm2jlgpzsxxlip03df065g35-hello-2.10.tar.gz.drv substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0% substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 0.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0% substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 0.0% applying 5 grafts for /gnu/store/rsizfxkag8gkbccr5d4g9xdacgwh8wya-at-spi2-core-2.34.0.drv ... building /gnu/store/wy24jyd0mm2jlgpzsxxlip03df065g35-hello-2.10.tar.gz.drv... \builder for `/gnu/store/wy24jyd0mm2jlgpzsxxlip03df065g35-hello-2.10.tar.gz.drv' failed to produce output path `/gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz' build of /gnu/store/wy24jyd0mm2jlgpzsxxlip03df065g35-hello-2.10.tar.gz.drv failed View build log at '/var/log/guix/drvs/wy/24jyd0mm2jlgpzsxxlip03df065g35-hello-2.10.tar.gz.drv.bz2'. applying 4 grafts for /gnu/store/8jj80f4p5bp9s09zawxmli13chrdx2ri-at-spi2-atk-2.34.1.drv ... cannot build derivation `/gnu/store/xr30pd6zw8lp0xz3kq2d7gm3c8pmh674-hello-2.10.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/4hsqwl19n4m2scipkzy0rsc04n30vhbk-profile.drv': 1 dependencies couldn't be built guix install: error: build of `/gnu/store/4hsqwl19n4m2scipkzy0rsc04n30vhbk-profile.drv' failed florian@florianacer ~$ bzcat /var/log/guix/drvs/wy/24jyd0mm2jlgpzsxxlip03df065g35-hello-2.10.tar.gz.drv.bz2 Starting download of /gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz From https://ftpmirror.gnu.org/gnu/hello/hello-2.10.tar.gz... In procedure getaddrinfo: Temporary failure in name resolution Starting download of /gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz From ftp://ftp.cs.tu-berlin.de/pub/gnu/hello/hello-2.10.tar.gz... In procedure getaddrinfo: Temporary failure in name resolution Starting download of /gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz From ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/hello/hello-2.10.tar.gz... In procedure getaddrinfo: Temporary failure in name resolution Starting download of /gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz From http://ftp.gnu.org/pub/gnu/hello/hello-2.10.tar.gz... In procedure getaddrinfo: Temporary failure in name resolution Starting download of /gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz From https://ci.guix.gnu.org/file/hello-2.10.tar.gz/sha256/0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i... In procedure getaddrinfo: Temporary failure in name resolution Starting download of /gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz From https://tarballs.nixos.org/sha256/0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i... In procedure getaddrinfo: Temporary failure in name resolution Starting download of /gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz From https://archive.softwareheritage.org/api/1/content/sha256:31e066137a962676e89f69d1b65382de95a7ef7d914b8cb956f41ea72e0f516b/raw/... In procedure getaddrinfo: Temporary failure in name resolution Trying to use Disarchive to assemble /gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz... In procedure getaddrinfo: Temporary failure in name resolution could not find its Disarchive specification failed to download "/gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz" from "mirror://gnu/hello/hello-2.10.tar.gz"