all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: znavko@tutanota.com
Cc: 34158@debbugs.gnu.org
Subject: bug#34158: dnscrypt hash failed
Date: Tue, 22 Jan 2019 19:16:56 +0100	[thread overview]
Message-ID: <20190122191656.7d040b78@alma-ubu> (raw)
In-Reply-To: <LWlMoAu--3-1@tutanota.com>

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

On Mon, 21 Jan 2019 18:04:55 +0100 (CET)
<znavko@tutanota.com> wrote:

> Cannot install dnscrypt-proxy from guix repository.
> 
> 
> $ guix package -i dnscrypt-proxy
> building /gnu/store/dlwsmxp9djh28vzccagq83jffpx4d8il-dnscrypt-proxy-1.9.5.tar.bz2.drv...
> downloading from
> https://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-proxy-1.9.5.tar.bz2
> <https://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-proxy-1.9.5.tar.bz2>...
> sha256 hash mismatch
> for /gnu/store/0g2nfhrkzhgm9mr8hw1qy49j1xd2diij-dnscrypt-proxy-1.9.5.tar.bz2:
> expected hash: 1dhvklr4dg2vlw108n11xbamacaryyg3dbrg629b76lp7685p7z8
> actual hash:   0n4cgxymdaffxnqpj7afb3m09wf27hymbmgw7im79mpmf02gmdyw
> hash mismatch for store item
> '/gnu/store/0g2nfhrkzhgm9mr8hw1qy49j1xd2diij-dnscrypt-proxy-1.9.5.tar.bz2'
> build
> of /gnu/store/dlwsmxp9djh28vzccagq83jffpx4d8il-dnscrypt-proxy-1.9.5.tar.bz2.drv
> failed View build log at
> '/var/log/guix/drvs/dl/wsmxp9djh28vzccagq83jffpx4d8il-dnscrypt-proxy-1.9.5.tar.bz2.drv.bz2'.
> cannot build derivation
> `/gnu/store/wgrgfj5ki7cs7f2bp0skq11z87w88pp7-dnscrypt-proxy-1.9.5.tar.xz.drv':
> 1 dependencies couldn't be built cannot build derivation
> `/gnu/store/77riz9asfsprmx7xig4255b0bb7m0hny-dnscrypt-proxy-1.9.5.drv':
> 1 dependencies couldn't be built guix package: error: build failed:
> build of
> `/gnu/store/77riz9asfsprmx7xig4255b0bb7m0hny-dnscrypt-proxy-1.9.5.drv'
> failed

That is usually not a local error, but something went wrong when
downloading the sources. Often that happens because people "update" a
package "in place". Often it happens, because the homepage changed and
the sources are no longer where expected, you will get redirected to
some HTML file. That is the case here:

The domain is parked, so your download of the sources will of cause
fail:

http://dnscrypt.org/

Someone needs to update the package. I'm not sure, is this the same:

https://dnscrypt.info/
https://github.com/jedisct1/dnscrypt-proxy

In your case, you can still build the package from sources, because the
Guix build servers have it cached:

$ guix build -S dnscrypt-proxy
substitute: updating substitutes from 'https://berlin.guixsd.org'...
substitute: updating substitutes from 'https://mirror.hydra.gnu.org'...
0.8 MB will be downloaded:
   /gnu/store/zg6hn0jiywzpg14vc4kbsmk8qpdwki59-dnscrypt-proxy-1.9.5.tar.xz
substituting /gnu/store/zg6hn0jiywzpg14vc4kbsmk8qpdwki59-dnscrypt-proxy-1.9.5.tar.xz...
downloading from https://mirror.hydra.gnu.org/guix/nar/zg6hn0jiywzpg14vc4kbsmk8qpdwki59-dnscrypt-proxy-1.9.5.tar.xz...
[..]
/gnu/store/zg6hn0jiywzpg14vc4kbsmk8qpdwki59-dnscrypt-proxy-1.9.5.tar.xz

Have you enabled the substitutes?

> I've remounted /gnu/store, deleted dnscryot-proxy archive and run
> again. But same result.

NEVER play with the store, that is DANGEROUS. If you want to get rid of
a store file, use:

$ guix gc -d  /gnu/store/zg...-dnscrypt-proxy-1.9.5.tar.xz/gnu/sto

Björn

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

  reply	other threads:[~2019-01-22 19:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-21 17:04 bug#34158: dnscrypt hash failed znavko
2019-01-22 18:16 ` Björn Höfling [this message]
2019-01-23 12:01   ` Meiyo Peng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190122191656.7d040b78@alma-ubu \
    --to=bjoern.hoefling@bjoernhoefling.de \
    --cc=34158@debbugs.gnu.org \
    --cc=znavko@tutanota.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.