unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34158: dnscrypt hash failed
@ 2019-01-21 17:04 znavko
  2019-01-22 18:16 ` Björn Höfling
  0 siblings, 1 reply; 3+ messages in thread
From: znavko @ 2019-01-21 17:04 UTC (permalink / raw)
  To: 34158

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

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


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


[-- Attachment #2: Type: text/html, Size: 1678 bytes --]

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

* bug#34158: dnscrypt hash failed
  2019-01-21 17:04 bug#34158: dnscrypt hash failed znavko
@ 2019-01-22 18:16 ` Björn Höfling
  2019-01-23 12:01   ` Meiyo Peng
  0 siblings, 1 reply; 3+ messages in thread
From: Björn Höfling @ 2019-01-22 18:16 UTC (permalink / raw)
  To: znavko; +Cc: 34158

[-- 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 --]

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

* bug#34158: dnscrypt hash failed
  2019-01-22 18:16 ` Björn Höfling
@ 2019-01-23 12:01   ` Meiyo Peng
  0 siblings, 0 replies; 3+ messages in thread
From: Meiyo Peng @ 2019-01-23 12:01 UTC (permalink / raw)
  To: Björn Höfling; +Cc: 34158

Hi Björn,

Björn Höfling writes:

> Someone needs to update the package. I'm not sure, is this the same:
>
> https://dnscrypt.info/
> https://github.com/jedisct1/dnscrypt-proxy

Dnscrypt-proxy 2 (dnscrypt.info) is very different from dnscrypt-proxy 1
(dnscrypt.org).  Their config files are incompatible.  They are both
developed by Frank Denis (github/jedisct1).  Frank abandoned the
original dnscrypt-proxy 1 project (written in C) and wrote
dnscrypt-proxy 2 from scratch (written in go).  Dnscrypt-proxy 2 has a
cleaner config file and supports more feature (DNS-over-HTTPS etc.).

Dnscrypt-proxy 1 has been abandoned for a long time.  I suggest we
upgrade to dnscrypt-proxy 2.


--
Meiyo Peng
https://www.pengmeiyu.com/

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

end of thread, other threads:[~2019-01-23 12:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-21 17:04 bug#34158: dnscrypt hash failed znavko
2019-01-22 18:16 ` Björn Höfling
2019-01-23 12:01   ` Meiyo Peng

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).