[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rrdtool hash mismatch

From: Simon Tournier
Subject: Re: rrdtool hash mismatch
Date: Thu, 13 Apr 2023 11:52:33 +0200


Details about Josselin’s message. :-)

On Wed, 12 Apr 2023 at 18:47, Aleksandr Vityazev <> wrote:

> it outputs an error
> sha256 hash mismatch for 
> /gnu/store/icyq4d3fsbbf2yw3dmg7cxgb05qzfd3q-rrdtool-1.7.2.tar.gz:
> expected hash: 1nsqra0g2nja19akmf9x5y9hhgc35ml3w9dcdz2ayz7zgvmzmm6d1
> actual hash: 029r3h7l06m3sy9q0hr2krvinhzkqvyl14wj7qjck79bm7rdvp48
> which looks strange to me. Maybe it's not, but I haven't figured out
> why?

--8<---------------cut here---------------start------------->8---
$ guix hash $(guix build rrdtool -S)

$ guix download
Starting download of /tmp/guix-file.fZIYKs
following redirection to 
following redirection to `'...
following redirection to `'...
 …7.2.tar.gz  5KiB                                                              
                                   1.4MiB/s 00:00 [##################] 100.0%
--8<---------------cut here---------------end--------------->8---

Ok, what’s the difference between the two:

--8<---------------cut here---------------start------------->8---
$ tar xvf /gnu/store/7jb5yxwg531d0xkwgv23wpf3w9fkb4x3-rrdtool-1.7.2.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

$ file /gnu/store/7jb5yxwg531d0xkwgv23wpf3w9fkb4x3-rrdtool-1.7.2.tar.gz
/gnu/store/7jb5yxwg531d0xkwgv23wpf3w9fkb4x3-rrdtool-1.7.2.tar.gz: HTML 
document, ASCII text
--8<---------------cut here---------------end--------------->8---

Ah, the new is not a tarball.  Upstream changed their URL.

--8<---------------cut here---------------start------------->8---
$ cat /gnu/store/7jb5yxwg531d0xkwgv23wpf3w9fkb4x3-rrdtool-1.7.2.tar.gz
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 

<html lang="en" xmlns="";>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15" />
<link rel="icon" href="./inc/favicon.ico" type="image/ico" />
<title>RRDtool - Sorry this page does not exist


--8<---------------cut here---------------end--------------->8---

And as upstream is explaining on their website, the content of releases
is now hosted in GitHub.

Well, Aleksandr, would you like to give a try for updating this change
in the Guix recipe?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]