From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Multiple substitute servers question Date: Tue, 02 May 2017 23:14:08 +0200 Message-ID: <87tw530xnj.fsf@gnu.org> References: <87fugyeifc.fsf@gmail.com> <87tw5epqdh.fsf@gmail.com> <878tmfk0mo.fsf@gnu.org> <87bmrbp84b.fsf@gmail.com> 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]:34390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5f7f-0000zi-5a for guix-devel@gnu.org; Tue, 02 May 2017 17:14:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5f7b-0001QK-4W for guix-devel@gnu.org; Tue, 02 May 2017 17:14:15 -0400 In-Reply-To: <87bmrbp84b.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 02 May 2017 08:54:12 -0700") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Maxim Cournoyer Cc: guix-devel Maxim Cournoyer skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Hello! >> >> Maxim Cournoyer skribis: >> >>> Maxim Cournoyer writes: >> >> [...] >> >>> The substitute URI should be "https://mirror.hydra.gnu.org". When using >>> such URI it works without an error. >>> >>> My original question still holds though (why is an unresolvable >>> substitute-url able to bring the guix command down when at least one >>> working alternative substitute server exists? -- it should just warn >>> about it and push through). >> >> That=E2=80=99s what it does, except for URL syntax errors. >> >> >> --substitute-urls=3D"http://example.org/does-not-work https://mirror.h= ydra.gnu.org" >> >> then the first one is ignored. >> >> Does that make sense? > > What do you mean by "URL syntax errors"? Like, wrong protocol prefix or > non-ascii characters? I mean any string for which =E2=80=98string->uri=E2=80=99 returns #f, such = as =E2=80=9Cfoo.example.org=E2=80=9D. > I'll keep this thread around for the next time a 'guix package' command > fails in an unexpected way. It seems to come everytime bayfront is in a > broken/semi-broken state (my regular url-substitutes list is made up of > 1st bayfront, 2nd mirror.hydra.gnu.org). I do the same, but what I see is just that sometimes bayfront doesn=E2=80= =99t show up in the substitute messages, that=E2=80=99s all. Thanks, Ludo=E2=80=99.