Guix has only dnscrypt-proxy 1, incomptabile w/2

  • Open
  • quality assurance status badge
Details
4 participants
  • Björn Höfling
  • Tobias Geerinckx-Rice
  • Meiyo Peng
  • znavko
Owner
unassigned
Submitted by
znavko
Severity
wishlist
Z
Z
znavko wrote on 21 Jan 2019 18:04
dnscrypt hash failed
(name . Bug Guix)(address . bug-guix@gnu.org)
LWlMoAu--3-1@tutanota.com
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: file
B
B
Björn Höfling wrote on 22 Jan 2019 19:16
(address . znavko@tutanota.com)(address . 34158@debbugs.gnu.org)
20190122191656.7d040b78@alma-ubu
On Mon, 21 Jan 2019 18:04:55 +0100 (CET)
<znavko@tutanota.com> wrote:

Toggle quote (27 lines)
> 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:


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


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...
[..]
/gnu/store/zg6hn0jiywzpg14vc4kbsmk8qpdwki59-dnscrypt-proxy-1.9.5.tar.xz

Have you enabled the substitutes?

Toggle quote (3 lines)
> 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
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXEdeGAAKCRC/KGy2WT5f
/amzAJsFURwmDjWxoKlW9GcHuF380evlQwCfczsvJ+WVaO7d/XBbcw5fsMKy0BI=
=FU5H
-----END PGP SIGNATURE-----


M
M
Meiyo Peng wrote on 23 Jan 2019 13:01
(name . Björn Höfling)(address . bjoern.hoefling@bjoernhoefling.de)(address . 34158@debbugs.gnu.org)
874l9zvazq.fsf@disroot.org
Hi Björn,

Björn Höfling writes:

Toggle quote (5 lines)
> 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
T
T
Tobias Geerinckx-Rice wrote on 30 Nov 2020 17:27
(no subject)
(address . control@debbugs.gnu.org)
87o8jeyfms.fsf@nckx
retitle 34158 Guix has only dnscrypt-proxy 1, incomptabile with
version 2
severity 34158 wishlist
thanks
T
T
Tobias Geerinckx-Rice wrote on 30 Nov 2020 17:47
(address . control@debbugs.gnu.org)
87im9myeoe.fsf@nckx
retitle 34158 Guix has only dnscrypt-proxy 1, incomptabile w/2
?