From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 01/12] upstream: Use a the first url from urls when find2 returns #f. Date: Tue, 13 Dec 2016 18:25:34 +0100 Message-ID: <87zijzrbap.fsf@gnu.org> References: <20161211172537.23315-1-david@craven.ch> <20161211172537.23315-2-david@craven.ch> 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]:52247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGqpg-00014u-Eb for guix-devel@gnu.org; Tue, 13 Dec 2016 12:25:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGqpd-0001RL-6a for guix-devel@gnu.org; Tue, 13 Dec 2016 12:25:40 -0500 In-Reply-To: <20161211172537.23315-2-david@craven.ch> (David Craven's message of "Sun, 11 Dec 2016 18:25:26 +0100") 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: David Craven Cc: guix-devel@gnu.org David Craven skribis: > * guix/upstream.scm (package-update): Use a url from the list when the > find2 procedure doesn't find a url sig-url pair. > --- > guix/upstream.scm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/guix/upstream.scm b/guix/upstream.scm > index 8685afd86..579942672 100644 > --- a/guix/upstream.scm > +++ b/guix/upstream.scm > @@ -249,7 +249,7 @@ and 'interactive' (default)." > (string-suffix? archive-type url)) > urls > (or signature-urls (circular-list #f))))) > - (let ((tarball (download-tarball store url signature-url > + (let ((tarball (download-tarball store (if url url (car urls)) si= gnature-url Please make it (or url (first urls)). Could it be that commit 8d5d06282e255557d3bdda1794bd3fea2c84ff59 made it moot? What are the faulty values for =E2=80=98urls=E2=80=99 and =E2=80=98s= ignature-urls=E2=80=99 that trigger the problem? Thanks, and sorry for taking long for just one line! Ludo=E2=80=99.