From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] zlib: bump to 1.2.8. Date: Thu, 23 May 2013 17:19:20 +0200 Message-ID: <87vc697mh3.fsf@gnu.org> References: <1369274041-6981-1-git-send-email-tipecaml@gmail.com> <87vc69aoo0.fsf@gnu.org> <519E2D4B.5030408@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 ([208.118.235.92]:45014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfXJO-000145-Vq for bug-guix@gnu.org; Thu, 23 May 2013 11:20:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfXJJ-0006re-Hg for bug-guix@gnu.org; Thu, 23 May 2013 11:20:14 -0400 Received: from [2a01:e0b:1:123:ca0a:a9ff:fe03:271e] (port=38560 helo=xanadu.aquilenet.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfXJJ-0006V8-CG for bug-guix@gnu.org; Thu, 23 May 2013 11:20:09 -0400 Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id AC35A2820 for ; Thu, 23 May 2013 17:20:00 +0200 (CEST) Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WP2dlCyflHrr for ; Thu, 23 May 2013 17:20:00 +0200 (CEST) Received: from pluto (unknown [193.50.110.186]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id 6DD791FD8 for ; Thu, 23 May 2013 17:20:00 +0200 (CEST) Resent-To: bug-guix@gnu.org Resent-Message-ID: <87obc17mfz.fsf@gnu.org> In-Reply-To: <519E2D4B.5030408@gmail.com> (Cyril Roelandt's message of "Thu, 23 May 2013 16:52:59 +0200") 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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Cyril Roelandt Cyril Roelandt skribis: > On 05/23/2013 02:03 PM, Ludovic Court=C3=A8s wrote: >> Cyril Roelandt skribis: >> >>> --- a/gnu/packages/compression.scm >>> +++ b/gnu/packages/compression.scm >>> @@ -26,7 +26,7 @@ >>> (define-public zlib >>> (package >>> (name "zlib") >>> - (version "1.2.7") >>> + (version "1.2.8") >> >> Unless I=E2=80=99m mistaken, this triggers a complete rebuild now that G= CC >> depends on it. Thus it would need to go into =E2=80=98core-updates=E2= =80=99. >> > > The problem is that the 1.2.7 tarball is no longer available, and Guix > therefore fails to install zlib. This is not a problem when using the substituter, because hydra.gnu.org mirrors it: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build -S zlib The following file will be downloaded: /nix/store/5b910ka58b3h4x7n3vbdgndf6zfxnpwf-zlib-1.2.7.tar.gz @ substituter-started /nix/store/5b910ka58b3h4x7n3vbdgndf6zfxnpwf-zlib-1.2.= 7.tar.gz /home/ludo/src/guix/nix/scripts/substitute-binary downloading `/nix/store/5b910ka58b3h4x7n3vbdgndf6zfxnpwf-zlib-1.2.7.tar.gz'= from `http://hydra.gnu.org/nar/5b910ka58b3h4x7n3vbdgndf6zfxnpwf-zlib-1.2.7= .tar.gz'... @ substituter-succeeded /nix/store/5b910ka58b3h4x7n3vbdgndf6zfxnpwf-zlib-1.= 2.7.tar.gz /nix/store/5b910ka58b3h4x7n3vbdgndf6zfxnpwf-zlib-1.2.7.tar.gz --8<---------------cut here---------------end--------------->8--- Did you use --no-substitutes? > This is a blocking bug for anyone who would like to try Guix from the > git repository, so I'd like to have this fixed in master. WDYT ? It can still be found at mirror://sourceforge/libpng/zlib-1.2.7.tar.gz. So for the moment I would suggest changing the =E2=80=98uri=E2=80=99 field = to a list: (origin (method url-fetch) (uri (list (string-append "http://zlib.net/zlib-" version ".tar.gz") (string-append "mirror://sourceforge/libpng/zlib-" version ".tar.gz"))) (sha256 (base32 "1i96gsdvxqb6skp9a58bacf1wxamwi9m9pg4yn7cpf7g7239r77s"))) Problem solved. :-) And the upgrade can be scheduled for later, in a =E2=80=98core-updates=E2= =80=99 branch. WDYT? Ludo=E2=80=99.