Subject: Re: bug#15153: Wrong hash for tzcode2013d

From: [email-masked] (Ludovic Courtès)
Date: Fri, 23 Aug 2013 16:03:35 +0200

Andreas Enge <[email-masked]> skribis:

> $ guix download http://www.iana.org/time-zones/repository/releases/tzcode2013d.tar.gz
>
> yields:
>
> /nix/store/4iavpv6axr15l1z35yyccfvn0l1vx7ba-tzcode2013d.tar.gz
> 1dh7nzmfxs8fps4bzcd2lz5fz24zxy2123a99avxsk34jh6bk7id
>
> But the hash in base.scm is 
> 13xd30ngwhqmj7w216ghd5knvg047hzpc0xca5l297g5cwb62hza .

This is the same problem as <http://bugs.gnu.org/14890>:

--8<---------------cut here---------------start------------->8---
$ guix download http://www.iana.org/time-zones/repository/releases/tzcode2013d.tar.gz
starting download of `guix-file.N6EuSs' from `http://www.iana.org/time-zones/repository/releases/tzcode2013d.tar.gz'...
http://www.iana.org/.../tzcode2013d.tar.gz	100.0% of 135.0 KiB
/nix/store/4iavpv6axr15l1z35yyccfvn0l1vx7ba-tzcode2013d.tar.gz
1dh7nzmfxs8fps4bzcd2lz5fz24zxy2123a99avxsk34jh6bk7id

$ file /nix/store/4iavpv6axr15l1z35yyccfvn0l1vx7ba-tzcode2013d.tar.gz
/nix/store/4iavpv6axr15l1z35yyccfvn0l1vx7ba-tzcode2013d.tar.gz: gzip compressed data, from Unix, max compression

$ file /nix/store/jmgampnps3whf85z8sgdw896w9k8vy3p-tzcode2013d.tar.gz
/nix/store/jmgampnps3whf85z8sgdw896w9k8vy3p-tzcode2013d.tar.gz: POSIX tar archive (GNU)

$ sha1sum /nix/store/jmgampnps3whf85z8sgdw896w9k8vy3p-tzcode2013d.tar.gz
2d975381ff85e804fb3c641b2b4d9781ceab7b37  /nix/store/jmgampnps3whf85z8sgdw896w9k8vy3p-tzcode2013d.tar.gz

$ gunzip < /nix/store/4iavpv6axr15l1z35yyccfvn0l1vx7ba-tzcode2013d.tar.gz | sha1sum 
2d975381ff85e804fb3c641b2b4d9781ceab7b37  -
--8<---------------cut here---------------end--------------->8---

Fixed in 853726d.

Thanks,
Ludo’.