guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Failure with “guix copy“


From: zimoun
Subject: Failure with “guix copy“
Date: Sat, 20 Aug 2022 12:16:59 +0200

Hi,

Using Guix 65cabb0, I do not understand why ‘guix copy’ fails.


Well, I have some items in the store of my remote desktop machine.

--8<---------------cut here---------------start------------->8---
$ ssh desktop -t guix build hledger ghc-lucid
/gnu/store/f23gh2padz9xwsjgz5znfk9azn5l101z-ghc-lucid-2.9.12.1
/gnu/store/wp3h1iq4pyi65krglzmrqnr63jb3828s-ghc-lucid-2.9.12.1-static
/gnu/store/jknl1gncifkj8qv8j3vl9mnbnl9kniz9-hledger-1.21
/gnu/store/icybdxadks9qn3725r95i60q2fawk0k9-hledger-1.21-static
Connection to x.x.x.x closed.
--8<---------------cut here---------------end--------------->8---


Then, I am confused…

--8<---------------cut here---------------start------------->8---
$ guix copy --from=desktop hledger
The following derivations will be built:
  /gnu/store/gz1qzalbg3dzwvfvj81f13n8pd47rzw2-hledger-1.21.drv
  /gnu/store/9m71fs1i0anv89f5zq44hbh2wn2lavxz-ghc-lucid-2.9.12.1.drv
  /gnu/store/i62zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1.cabal.drv
  /gnu/store/vhxlqj1d5pll79vfdi06wl77k5mx45vb-ghc-hledger-lib-1.21.drv
process 307420 acquired build slot '/var/guix/offload/x.x.x.x:22/0'
normalized load on machine 'x.x.x.x' is 0.01
building /gnu/store/vhxlqj1d5pll79vfdi06wl77k5mx45vb-ghc-hledger-lib-1.21.drv...
building 
/gnu/store/i62zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1.cabal.drv...

Starting download of 
/gnu/store/rj33x41i86vgw6c0iwffzwrgzrib1shb-ghc-lucid-2.9.12.1-1.cabal
>From https://hackage.haskell.org/package/lucid-2.9.12.1/revision/1.cabal...
downloading from 
https://hackage.haskell.org/package/lucid-2.9.12.1/revision/1.cabal ...

sha256 hash mismatch for 
/gnu/store/rj33x41i86vgw6c0iwffzwrgzrib1shb-ghc-lucid-2.9.12.1-1.cabal:
  expected hash: 1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9
  actual hash:   1xllyf26ypk37k807g5v6fl1449mhpvk18dljmqgwj723n0v8rpj
hash mismatch for store item 
'/gnu/store/rj33x41i86vgw6c0iwffzwrgzrib1shb-ghc-lucid-2.9.12.1-1.cabal'
build of 
/gnu/store/i62zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1.cabal.drv 
failed
View build log at 
'/var/log/guix/drvs/i6/2zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1.cabal.drv.gz'.
cannot build derivation 
`/gnu/store/9m71fs1i0anv89f5zq44hbh2wn2lavxz-ghc-lucid-2.9.12.1.drv': 1 
dependencies couldn't be built
cannot build derivation 
`/gnu/store/gz1qzalbg3dzwvfvj81f13n8pd47rzw2-hledger-1.21.drv': 1 dependencies 
couldn't be built
guix copy: error: build of 
`/gnu/store/gz1qzalbg3dzwvfvj81f13n8pd47rzw2-hledger-1.21.drv' failed
--8<---------------cut here---------------end--------------->8---

Well, I was expecting that the items were just copied.  Why ‘guix copy’
tries to locally build something?

--8<---------------cut here---------------start------------->8---
$ guix copy --from=desktop ghc-lucid
The following derivations will be built:
  /gnu/store/9m71fs1i0anv89f5zq44hbh2wn2lavxz-ghc-lucid-2.9.12.1.drv
  /gnu/store/i62zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1.cabal.drv
building 
/gnu/store/i62zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1.cabal.drv...

Starting download of 
/gnu/store/rj33x41i86vgw6c0iwffzwrgzrib1shb-ghc-lucid-2.9.12.1-1.cabal
>From https://hackage.haskell.org/package/lucid-2.9.12.1/revision/1.cabal...
downloading from 
https://hackage.haskell.org/package/lucid-2.9.12.1/revision/1.cabal ...
 1.cabal                                                                        
    3.6MiB/s 00:00 | 3KiB transferred
sha256 hash mismatch for 
/gnu/store/rj33x41i86vgw6c0iwffzwrgzrib1shb-ghc-lucid-2.9.12.1-1.cabal:
  expected hash: 1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9
  actual hash:   1xllyf26ypk37k807g5v6fl1449mhpvk18dljmqgwj723n0v8rpj
hash mismatch for store item 
'/gnu/store/rj33x41i86vgw6c0iwffzwrgzrib1shb-ghc-lucid-2.9.12.1-1.cabal'
build of 
/gnu/store/i62zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1.cabal.drv 
failed
View build log at 
'/var/log/guix/drvs/i6/2zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1.cabal.drv.gz'.
cannot build derivation 
`/gnu/store/9m71fs1i0anv89f5zq44hbh2wn2lavxz-ghc-lucid-2.9.12.1.drv': 1 
dependencies couldn't be built
guix copy: error: build of 
`/gnu/store/9m71fs1i0anv89f5zq44hbh2wn2lavxz-ghc-lucid-2.9.12.1.drv' failed
--8<---------------cut here---------------end--------------->8---


What do I do wrong?  Thanks in advance for any comment.


Cheers,
simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]