GNU bug report logs - #34158
Guix has only dnscrypt-proxy 1, incomptabile w/2

Previous Next

Package: guix;

Reported by: <znavko <at> tutanota.com>

Date: Mon, 21 Jan 2019 17:12:02 UTC

Severity: wishlist

To reply to this bug, email your comments to 34158 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#34158; Package guix. (Mon, 21 Jan 2019 17:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to <znavko <at> tutanota.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 21 Jan 2019 17:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: <znavko <at> tutanota.com>
To: Bug Guix <bug-guix <at> gnu.org>
Subject: dnscrypt hash failed
Date: Mon, 21 Jan 2019 18:04:55 +0100 (CET)
[Message part 1 (text/plain, inline)]
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.

[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#34158; Package guix. (Tue, 22 Jan 2019 18:18:01 GMT) Full text and rfc822 format available.

Message #8 received at 34158 <at> debbugs.gnu.org (full text, mbox):

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: <znavko <at> tutanota.com>
Cc: 34158 <at> debbugs.gnu.org
Subject: Re: bug#34158: dnscrypt hash failed
Date: Tue, 22 Jan 2019 19:16:56 +0100
[Message part 1 (text/plain, inline)]
On Mon, 21 Jan 2019 18:04:55 +0100 (CET)
<znavko <at> 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
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#34158; Package guix. (Wed, 23 Jan 2019 12:02:01 GMT) Full text and rfc822 format available.

Message #11 received at 34158 <at> debbugs.gnu.org (full text, mbox):

From: Meiyo Peng <meiyo <at> disroot.org>
To: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
Cc: 34158 <at> debbugs.gnu.org
Subject: Re: bug#34158: dnscrypt hash failed
Date: Wed, 23 Jan 2019 20:01:29 +0800
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/




Changed bug title to 'Guix has only dnscrypt-proxy 1, incomptabile with' from 'dnscrypt hash failed' Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Mon, 30 Nov 2020 16:28:01 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Mon, 30 Nov 2020 16:28:01 GMT) Full text and rfc822 format available.

Changed bug title to 'Guix has only dnscrypt-proxy 1, incomptabile w/2' from 'Guix has only dnscrypt-proxy 1, incomptabile with' Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Mon, 30 Nov 2020 16:48:01 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 193 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.