unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids
@ 2018-03-20 23:10 Vivien Kraus
  2018-03-21  0:19 ` Danny Milosavljevic
  2018-03-21 11:05 ` Vivien Kraus
  0 siblings, 2 replies; 12+ messages in thread
From: Vivien Kraus @ 2018-03-20 23:10 UTC (permalink / raw)
  To: 30890

Hello,

I tried to install gnome with guix, but it fails when building this:

Starting download of /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-
usb.ids
From http://linux-usb.cvs.sourceforge.net/viewvc/linux-usb/htdocs/usb.i
ds?revision=1.551...
 ....ids  4KiB                            0B/s 00:00
[                ....ids  4KiB                        274KiB/s 00:00
[############### ....ids  4KiB                        259KiB/s 00:00
[##################] 100.0%
sha256 hash mismatch for output path
`/gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids'
  expected: 17rg5i0wbyk289gr8v4kgvnc9q5bidz7ldcvv9x58l083wn16hq3
  actual:   10mcg24vdvbbm9lk2scrfs7ff7n2a0dkl2qlkzzllhn53yyrvkc6
cannot build derivation `/gnu/store/y7ahn1vd09phqxpz5shgwdggl41rd70a-
libosinfo-1.0.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/9h84d02l7d8n9l0n0mnqj2294nzmk4wk-
tracker-1.12.3.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/ckf5yv041kdm0barjv0ksg1hq0hvizy9-
nautilus-3.26.2.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/0c0mkrgwrg4v70gn2rrcqrgk6b7l13g3-
gnome-3.24.3.drv': 1 dependencies couldn't be built
guix package: error: build failed: build of
`/gnu/store/0c0mkrgwrg4v70gn2rrcqrgk6b7l13g3-gnome-3.24.3.drv' failed

What should I do about this?  Should I trust this?  If so, how should I
proceed?

Regards,

Vivien

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids
  2018-03-20 23:10 bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids Vivien Kraus
@ 2018-03-21  0:19 ` Danny Milosavljevic
  2018-03-21  6:54   ` Vivien Kraus
  2018-03-21  7:27   ` Ricardo Wurmus
  2018-03-21 11:05 ` Vivien Kraus
  1 sibling, 2 replies; 12+ messages in thread
From: Danny Milosavljevic @ 2018-03-21  0:19 UTC (permalink / raw)
  To: Vivien Kraus; +Cc: 30890

[-- Attachment #1: Type: text/plain, Size: 749 bytes --]

Hi,

apparently linux-usb sourceforge switched over to SVN - so what you are getting
there is an error page.

Possible fix would be:

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 55a92eca0..be8a8bb86 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -280,7 +280,7 @@ server and embedded PowerPC, and S390 guests.")
        ("usb.ids"
         ,(origin
            (method url-fetch)
-           (uri "http://linux-usb.cvs.sourceforge.net/viewvc/linux-usb/htdocs/usb.ids?revision=1.551")
+           (uri "https://svn.code.sf.net/p/linux-usb/repo/trunk/htdocs/usb.ids?r=1551")
            (file-name "usb.ids")
            (sha256
             (base32


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids
  2018-03-21  0:19 ` Danny Milosavljevic
@ 2018-03-21  6:54   ` Vivien Kraus
  2018-03-21 17:24     ` Tobias Geerinckx-Rice
  2018-03-21  7:27   ` Ricardo Wurmus
  1 sibling, 1 reply; 12+ messages in thread
From: Vivien Kraus @ 2018-03-21  6:54 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 30890

Hello,

Thank you for your reply.  This new URL works, but the file version
does not meet the checksum.

Starting download of /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-
usb.ids
From https://svn.code.sf.net/p/linux-usb/repo/trunk/htdocs/usb.ids?r=15
51...
following redirection to `http://svn.code.sf.net/p/linux-usb/repo/trunk
/htdocs/usb.ids?p=1551'...
 usb.ids  97KiB                           0B/s 00:00
[                  usb.ids  97KiB                       153KiB/s 00:00
[###########       usb.ids  97KiB                       161KiB/s 00:01
[##################] 100.0%
sha256 hash mismatch for output path
`/gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids'
  expected: 17rg5i0wbyk289gr8v4kgvnc9q5bidz7ldcvv9x58l083wn16hq3
  actual:   1wzkaan87ncx80hgddii01cqk5gw8mrm5kb2xf6w9fwa4h53gin5
cannot build derivation `/gnu/store/qgxidn6qahyg52vgyiwjpq3k93kd5msb-
libosinfo-1.0.0.drv': 1 dependencies couldn't be built
guix package: error: build failed: build of
`/gnu/store/qgxidn6qahyg52vgyiwjpq3k93kd5msb-libosinfo-1.0.0.drv'
failed

I don't know on what the hash depends; maybe it also depends on the
URL?  Should I change the hash in virtualization.scm?

Vivien

Le mercredi 21 mars 2018 à 01:19 +0100, Danny Milosavljevic a écrit :
> Hi,
> 
> apparently linux-usb sourceforge switched over to SVN - so what you
> are getting
> there is an error page.
> 
> Possible fix would be:
> 
> diff --git a/gnu/packages/virtualization.scm
> b/gnu/packages/virtualization.scm
> index 55a92eca0..be8a8bb86 100644
> --- a/gnu/packages/virtualization.scm
> +++ b/gnu/packages/virtualization.scm
> @@ -280,7 +280,7 @@ server and embedded PowerPC, and S390 guests.")
>         ("usb.ids"
>          ,(origin
>             (method url-fetch)
> -           (uri "http://linux-usb.cvs.sourceforge.net/viewvc/linux-u
> sb/htdocs/usb.ids?revision=1.551")
> +           (uri "https://svn.code.sf.net/p/linux-usb/repo/trunk/htdo
> cs/usb.ids?r=1551")
>             (file-name "usb.ids")
>             (sha256
>              (base32
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids
  2018-03-21  0:19 ` Danny Milosavljevic
  2018-03-21  6:54   ` Vivien Kraus
@ 2018-03-21  7:27   ` Ricardo Wurmus
  2018-03-21 10:35     ` Vivien Kraus
  1 sibling, 1 reply; 12+ messages in thread
From: Ricardo Wurmus @ 2018-03-21  7:27 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 30890-done

Hi,

I tested the fix and it worked fine for me.

Fixed in 0def91208 on master.

Thanks!

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids
  2018-03-21  7:27   ` Ricardo Wurmus
@ 2018-03-21 10:35     ` Vivien Kraus
  2018-03-21 11:10       ` Ricardo Wurmus
  0 siblings, 1 reply; 12+ messages in thread
From: Vivien Kraus @ 2018-03-21 10:35 UTC (permalink / raw)
  To: Ricardo Wurmus, Danny Milosavljevic; +Cc: 30890-done

Hello,

I have just finished guix pulling again and the hash is not right:

Starting download of /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-
usb.ids
From https://svn.code.sf.net/p/linux-usb/repo/trunk/htdocs/usb.ids?r=15
51...
following redirection to `http://svn.code.sf.net/p/linux-usb/repo/trunk
/htdocs/usb.ids?p=1551'...
 usb.ids  97KiB                       136KiB/s 00:01
[##################] 100.0%
sha256 hash mismatch for output path
`/gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids'
  expected: 17rg5i0wbyk289gr8v4kgvnc9q5bidz7ldcvv9x58l083wn16hq3
  actual:   1wzkaan87ncx80hgddii01cqk5gw8mrm5kb2xf6w9fwa4h53gin5
cannot build derivation `/gnu/store/a12yb6kqv3c6s79xf6l448jb4cs8pk7s-
libosinfo-1.0.0.drv': 1 dependencies couldn't be built
guix package: error: build failed: build of
`/gnu/store/a12yb6kqv3c6s79xf6l448jb4cs8pk7s-libosinfo-1.0.0.drv'
failed

Did you have a problem with the hash?

Vivien

Le mercredi 21 mars 2018 à 08:27 +0100, Ricardo Wurmus a écrit :
> Hi,
> 
> I tested the fix and it worked fine for me.
> 
> Fixed in 0def91208 on master.
> 
> Thanks!
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids
  2018-03-20 23:10 bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids Vivien Kraus
  2018-03-21  0:19 ` Danny Milosavljevic
@ 2018-03-21 11:05 ` Vivien Kraus
  2018-03-21 15:46   ` Tobias Geerinckx-Rice
  1 sibling, 1 reply; 12+ messages in thread
From: Vivien Kraus @ 2018-03-21 11:05 UTC (permalink / raw)
  To: 30890

Hello,

I am not sure that my mails reach debbugs.gnu.org...

When applying the patch in https://debbugs.gnu.org/cgi/bugreport.cgi?bu
g=30890, it still does not work:

Starting download of /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-
usb.ids
From https://svn.code.sf.net/p/linux-usb/repo/trunk/htdocs/usb.ids?r=15
51...
following redirection to `http://svn.code.sf.net/p/linux-usb/repo/trunk
/htdocs/usb.ids?p=1551'...
 usb.ids  97KiB                       136KiB/s 00:01
[##################] 100.0%
sha256 hash mismatch for output path
`/gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids'
  expected: 17rg5i0wbyk289gr8v4kgvnc9q5bidz7ldcvv9x58l083wn16hq3
  actual:   1wzkaan87ncx80hgddii01cqk5gw8mrm5kb2xf6w9fwa4h53gin5
cannot build derivation `/gnu/store/a12yb6kqv3c6s79xf6l448jb4cs8pk7s-
libosinfo-1.0.0.drv': 1 dependencies couldn't be built
guix package: error: build failed: build of
`/gnu/store/a12yb6kqv3c6s79xf6l448jb4cs8pk7s-libosinfo-1.0.0.drv'
failed

Could someone confirm this hash?

Thanks,

Vivien

Le mercredi 21 mars 2018 à 00:10 +0100, Vivien Kraus a écrit :
> Hello,
> 
> I tried to install gnome with guix, but it fails when building this:
> 
> Starting download of /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-
> usb.ids
> From http://linux-usb.cvs.sourceforge.net/viewvc/linux-usb/htdocs/usb
> .i
> ds?revision=1.551...
>  ....ids  4KiB                            0B/s 00:00
> [                ....ids  4KiB                        274KiB/s 00:00
> [############### ....ids  4KiB                        259KiB/s 00:00
> [##################] 100.0%
> sha256 hash mismatch for output path
> `/gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids'
>   expected: 17rg5i0wbyk289gr8v4kgvnc9q5bidz7ldcvv9x58l083wn16hq3
>   actual:   10mcg24vdvbbm9lk2scrfs7ff7n2a0dkl2qlkzzllhn53yyrvkc6
> cannot build derivation `/gnu/store/y7ahn1vd09phqxpz5shgwdggl41rd70a-
> libosinfo-1.0.0.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/9h84d02l7d8n9l0n0mnqj2294nzmk4wk-
> tracker-1.12.3.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/ckf5yv041kdm0barjv0ksg1hq0hvizy9-
> nautilus-3.26.2.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/0c0mkrgwrg4v70gn2rrcqrgk6b7l13g3-
> gnome-3.24.3.drv': 1 dependencies couldn't be built
> guix package: error: build failed: build of
> `/gnu/store/0c0mkrgwrg4v70gn2rrcqrgk6b7l13g3-gnome-3.24.3.drv' failed
> 
> What should I do about this?  Should I trust this?  If so, how should
> I
> proceed?
> 
> Regards,
> 
> Vivien
> 
> 
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids
  2018-03-21 10:35     ` Vivien Kraus
@ 2018-03-21 11:10       ` Ricardo Wurmus
  0 siblings, 0 replies; 12+ messages in thread
From: Ricardo Wurmus @ 2018-03-21 11:10 UTC (permalink / raw)
  To: Vivien Kraus; +Cc: 30890-done


Hi Vivien,

> I have just finished guix pulling again and the hash is not right:
>
> Starting download of /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-
> usb.ids
> From https://svn.code.sf.net/p/linux-usb/repo/trunk/htdocs/usb.ids?r=15
> 51...
> following redirection to `http://svn.code.sf.net/p/linux-usb/repo/trunk
> /htdocs/usb.ids?p=1551'...
> usb.ids97KiB136KiB/s 00:01
> [##################] 100.0%
> sha256 hash mismatch for output path
> `/gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids'
>  expected: 17rg5i0wbyk289gr8v4kgvnc9q5bidz7ldcvv9x58l083wn16hq3
>  actual:1wzkaan87ncx80hgddii01cqk5gw8mrm5kb2xf6w9fwa4h53gin5
> cannot build derivation `/gnu/store/a12yb6kqv3c6s79xf6l448jb4cs8pk7s-
> libosinfo-1.0.0.drv': 1 dependencies couldn't be built
> guix package: error: build failed: build of
> `/gnu/store/a12yb6kqv3c6s79xf6l448jb4cs8pk7s-libosinfo-1.0.0.drv'
> failed
>
> Did you have a problem with the hash?

Odd.  No, I downloaded it without problems and the hash was fine.  Now I
cannot access the URL any more.  Could it be more problems with
sourceforge (again)?

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids
  2018-03-21 11:05 ` Vivien Kraus
@ 2018-03-21 15:46   ` Tobias Geerinckx-Rice
  2018-03-21 16:08     ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 12+ messages in thread
From: Tobias Geerinckx-Rice @ 2018-03-21 15:46 UTC (permalink / raw)
  To: Vivien Kraus; +Cc: 30890

Vivien,

On 2018-03-21 12:05, Vivien Kraus wrote:
> Could someone confirm this hash?

I can confirm both.

> sha256 hash mismatch for output path
> `/gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids'
>   expected: 17rg5i0wbyk289gr8v4kgvnc9q5bidz7ldcvv9x58l083wn16hq3
>   actual:   1wzkaan87ncx80hgddii01cqk5gw8mrm5kb2xf6w9fwa4h53gin5

Here's the beginning of a very long diff between those two:

--- 17rg5i0wbyk289gr8v4kgvnc9q5bidz7ldcvv9x58l083wn16hq3 (old)
+++ 1wzkaan87ncx80hgddii01cqk5gw8mrm5kb2xf6w9fwa4h53gin5 (‘new’)
@@ -1,16 +1,10 @@
  #
  #      List of USB ID's
  #
-#      Maintained by Stephen J. Gowdy <linux.usb.ids@gmail.com>
-#      If you have any new entries, please submit them via
-#              http://www.linux-usb.org/usb-ids.html
-#      or send entries as patches (diff -u old new) in the
-#      body of your email (a bot will attempt to deal with it).
-#      The latest version can be obtained from
-#              http://www.linux-usb.org/usb.ids
+#      Maintained by Vojtech Pavlik <vojtech@suse.cz>
+#      If you have any new entries, send them to the maintainer.
  #
-# Version: 2017.02.12
-# Date:    2017-02-12 20:34:05
+# $Id: usb.ids,v 1.111 2003-01-02 13:05:30 vojtech Exp $

If those dates are at all reliable, we're now downloading a very old 
copy. Which this suggests:

   $ wc -l OLD NEW # ‘NEW’ being SVN upstream
   20663 OLD
    4043 NEW

I've not actually been following this thread so I don't know what that 
means, but it looks like simply using the CVS revision as the SVN one 
might not work.

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids
  2018-03-21 15:46   ` Tobias Geerinckx-Rice
@ 2018-03-21 16:08     ` Tobias Geerinckx-Rice
  2018-03-21 17:01       ` Vivien Kraus
  0 siblings, 1 reply; 12+ messages in thread
From: Tobias Geerinckx-Rice @ 2018-03-21 16:08 UTC (permalink / raw)
  To: 30890

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

I couldn't resist, of course.

On 2018-03-21 16:46, Tobias Geerinckx-Rice wrote:
> I've not actually been following this thread so I don't know what that
> means, but it looks like simply using the CVS revision as the SVN one
> might not work.

The attached patch solves this by simply updating usb.ids to the latest 
revision.

I'm building it on the slowest laptop I could find.

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-libosinfo-Update-usb.ids.patch --]
[-- Type: text/x-diff; name=0001-gnu-libosinfo-Update-usb.ids.patch, Size: 1562 bytes --]

From 0d73f1481bf732147af7751a6ae58114bd3876db Mon Sep 17 00:00:00 2001
From: Tobias Geerinckx-Rice <me@tobias.gr>
Date: Wed, 21 Mar 2018 16:59:31 +0100
Subject: [PATCH 1/2] gnu: libosinfo: Update usb.ids.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This follows up commit 0def9120882f90372fd6bb2e80e8330d67745610, which
tried to use the CVS ID as the SVN revision, which unfortunately doesn't
work.

* gnu/packages/virtualization.scm (libosinfo)[native-inputs]: Update
revision and hash for ‘usb.ids’.
---
 gnu/packages/virtualization.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 37bf09f23..de01e0163 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -281,11 +281,11 @@ server and embedded PowerPC, and S390 guests.")
        ("usb.ids"
         ,(origin
            (method url-fetch)
-           (uri "https://svn.code.sf.net/p/linux-usb/repo/trunk/htdocs/usb.ids?r=1551")
+           (uri "https://svn.code.sf.net/p/linux-usb/repo/trunk/htdocs/usb.ids?r=2681")
            (file-name "usb.ids")
            (sha256
             (base32
-             "17rg5i0wbyk289gr8v4kgvnc9q5bidz7ldcvv9x58l083wn16hq3"))))))
+             "1m6yhvz5k8aqzxgk7xj3jkk8frl1hbv0h3vgj4wbnvnx79qnvz3r"))))))
     (home-page "https://libosinfo.org/")
     (synopsis "Operating system information database")
     (description "libosinfo is a GObject based library API for managing
-- 
2.15.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids
  2018-03-21 16:08     ` Tobias Geerinckx-Rice
@ 2018-03-21 17:01       ` Vivien Kraus
  2018-03-21 17:05         ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 12+ messages in thread
From: Vivien Kraus @ 2018-03-21 17:01 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice, 30890, Ricardo Wurmus, Danny Milosavljevic,
	30890-done

Hello,

Sorry for the mess with the mails.  This new versions and its hash work
for me, thanks!

Vivien 

Le mercredi 21 mars 2018 à 17:08 +0100, Tobias Geerinckx-Rice a écrit :
> I couldn't resist, of course.
> 
> On 2018-03-21 16:46, Tobias Geerinckx-Rice wrote:
> > I've not actually been following this thread so I don't know what
> > that
> > means, but it looks like simply using the CVS revision as the SVN
> > one
> > might not work.
> 
> The attached patch solves this by simply updating usb.ids to the
> latest 
> revision.
> 
> I'm building it on the slowest laptop I could find.
> 
> Kind regards,
> 
> T G-R
> 
> Sent from a Web browser. Excuse or enjoy my brevity.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids
  2018-03-21 17:01       ` Vivien Kraus
@ 2018-03-21 17:05         ` Tobias Geerinckx-Rice
  0 siblings, 0 replies; 12+ messages in thread
From: Tobias Geerinckx-Rice @ 2018-03-21 17:05 UTC (permalink / raw)
  To: Vivien Kraus; +Cc: 30890

Vivien,

On 2018-03-21 18:01, Vivien Kraus wrote:
> Sorry for the mess with the mails.  This new versions and its hash work
> for me, thanks!

I didn't notice a mess :-)

Works here too. Pushed as 0d73f1481bf732147af7751a6ae58114bd3876db.

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids
  2018-03-21  6:54   ` Vivien Kraus
@ 2018-03-21 17:24     ` Tobias Geerinckx-Rice
  0 siblings, 0 replies; 12+ messages in thread
From: Tobias Geerinckx-Rice @ 2018-03-21 17:24 UTC (permalink / raw)
  To: Vivien Kraus; +Cc: 30890

Vivien,

On 2018-03-21 7:54, Vivien Kraus wrote:
> I don't know on what the hash depends; maybe it also depends on the
> URL?

It depends only on the contents. This allows us to use a list of 
different URIs (see the lsof package for an example) or try many 
different mirror://s as long as they serve the right file.

> Should I change the hash in virtualization.scm?

In general: yes, but not without prior investigation.

The server might be serving a temporary error page instead of a usable 
tarball (SF.net is currently notorious for doing so), or the tarball 
might have been updated in-place (and you'll have to manually diff the 
contents to make sure it's legitimate), or it might just be a problem 
with your network, or...

Pushing a hash update without explanation in the commit message will 
result in lots of spam from people like me. Avoid that.

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-03-21 17:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-20 23:10 bug#30890: Hash mismatch for /gnu/store/bvbs19jg8497ca73i82xmrjspd83lvs2-usb.ids Vivien Kraus
2018-03-21  0:19 ` Danny Milosavljevic
2018-03-21  6:54   ` Vivien Kraus
2018-03-21 17:24     ` Tobias Geerinckx-Rice
2018-03-21  7:27   ` Ricardo Wurmus
2018-03-21 10:35     ` Vivien Kraus
2018-03-21 11:10       ` Ricardo Wurmus
2018-03-21 11:05 ` Vivien Kraus
2018-03-21 15:46   ` Tobias Geerinckx-Rice
2018-03-21 16:08     ` Tobias Geerinckx-Rice
2018-03-21 17:01       ` Vivien Kraus
2018-03-21 17:05         ` Tobias Geerinckx-Rice

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).