From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#31892: guix pull ignores --substitute-urls in some cases Date: Tue, 26 Jun 2018 14:33:07 +0200 Message-ID: <87zhzh4tj0.fsf@gnu.org> References: <87in6fph68.fsf@aikidev.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXnAe-0002Ql-1y for bug-guix@gnu.org; Tue, 26 Jun 2018 08:34:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXnAY-0004kh-7g for bug-guix@gnu.org; Tue, 26 Jun 2018 08:34:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56060) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXnAY-0004kU-4a for bug-guix@gnu.org; Tue, 26 Jun 2018 08:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fXnAX-0005i0-UN for bug-guix@gnu.org; Tue, 26 Jun 2018 08:34:01 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <87in6fph68.fsf@aikidev.net> (Vagrant Cascadian's message of "Mon, 18 Jun 2018 20:51:43 -0700") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Vagrant Cascadian Cc: 31892-done@debbugs.gnu.org Hello Vagrant, Vagrant Cascadian skribis: > I've seen this a few times, and it seems like guix pull remembers old > substitutes. I tried disabling one of the substitutes that guix-daemon > is configured to use since it wasn't online at the time, but it tries to > use it anyways: > > guix pull --substitute-urls=3D'http://10.0.0.15:8081 http://10.0.0.15:808= 2' --branch=3Delfutils-0.172 --url=3D/home/vagrant/src/guix-bare > > guile: warning: failed to install locale > warning: failed to install locale: Invalid argument > Updating from Git repository at '/home/vagrant/src/guix-bare'... > Building from Git commit b606d8625660ed035e98db7035f487e8b90b4d65... > guile: warning: failed to install locale > Computing Guix derivation for 'aarch64-linux'... -fetching path `/gnu/sto= re/d1im1cqpajfyl6w205vpmw7pqv2j1y1b-libpthread-stubs-0.4'... > - > |Downloading http://10.0.0.157:8080/nar/gzip/d1im1cqpajfyl6w205vpmw7pqv2j= 1y1b-libpthread-stubs-0.4... > guix substitute: error: connect: No route to host This bug was due to the fact that the =E2=80=98compute-guix-derivation=E2= =80=99 program would open a new connection to the store, and thus it would not inherit the build options of its parent =E2=80=98guix pull=E2=80=99 process (substi= tute URLs, build hook, timeouts, etc.). Should be fixed with 790c3e019a5410018bd31596c2dcda5d0efb0d36. Thanks, Ludo=E2=80=99.