bug report

  • Open
  • quality assurance status badge
Details
2 participants
  • guix-error
  • Simon Tournier
Owner
unassigned
Submitted by
guix-error
Severity
normal
G
G
guix-error wrote on 17 Oct 20:46 +0200
(address . bug-guix@gnu.org)
172919079675.9.14030076452738748899.466330959@simplelogin.com
guix noob here, installed it on top of ubuntu using apt and tried updating it, I got this error and it told me to email the output here.

# guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
building /gnu/store/hq172xkf1kanw4v2xj46wix1aq6a12yg-guile-gnutls-4.0.0.tar.gz.drv...
building /gnu/store/1vp4cjnwxr55basnbjr4vfd5l5pmf41c-gnutls-3.8.3.tar.xz.drv...
/sha256 hash mismatch for /gnu/store/9zh4mcmwp2afyl4ig56943w64czdz2kp-gnutls-3.8.3.tar.xz:
expected hash: 0ghpyhhfa3nsraph6dws50jb3dc8g2cfl7dizdnyrm179fawakzp
actual hash: 00brsbxk90wy9x9nxx34d9idcvkdl32f0b5kbpdm8zl78jgsawdf
hash mismatch for store item '/gnu/store/9zh4mcmwp2afyl4ig56943w64czdz2kp-gnutls-3.8.3.tar.xz'
build of /gnu/store/1vp4cjnwxr55basnbjr4vfd5l5pmf41c-gnutls-3.8.3.tar.xz.drv failed
View build log at '/var/log/guix/drvs/1v/p4cjnwxr55basnbjr4vfd5l5pmf41c-gnutls-3.8.3.tar.xz.drv.gz'.
cannot build derivation `/gnu/store/qkjwqqnhgb0fdh2033bnl8y23v4s291c-gnutls-3.8.3.tar.zst.drv': 1 dependencies couldn't be built
building /gnu/store/aaciz74lpixdsvym5bqh4h7z6s5n4xfx-grep-3.11.tar.xz.drv...
Backtrace:
14 (primitive-load "/gnu/store/b81k7xyiicnscpxwxky1047n1pnivg2c-compute-guix-derivation")
In ice-9/eval.scm:
155:9 13 (_ _)
159:9 12 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 11 (with-fluid* _ _ _)
152:2 10 (with-fluid* _ _ _)
In ./guix/store.scm:
2210:24 9 (run-with-store #<store-connection 256.99 703dfbc2daa0> #<procedure 703de8ba68c0 at ./guix/self.scm:13?> ?)
2038:8 8 (_ #<store-connection 256.99 703dfbc2daa0>)
In ./guix/gexp.scm:
300:22 7 (_ #<store-connection 256.99 703dfbc2daa0>)
1218:2 6 (_ #<store-connection 256.99 703dfbc2daa0>)
1085:2 5 (_ #<store-connection 256.99 703dfbc2daa0>)
926:4 4 (_ #<store-connection 256.99 703dfbc2daa0>)
In ./guix/store.scm:
2095:12 3 (_ #<store-connection 256.99 703dfbc2daa0>)
1433:5 2 (map/accumulate-builds #<store-connection 256.99 703dfbc2daa0> #<procedure 703deff26ae0 at ./guix/stor?> ?)
1449:15 1 (_ #<store-connection 256.99 703dfbc2daa0> ("/gnu/store/mvzv1cm695y0ilmi8ggmbhw2dvl9cj4h-guix-daemo?" ?) ?)
1449:15 0 (loop #f)

./guix/store.scm:1449:15: In procedure loop:
ERROR:
1. &store-protocol-error:
message: "build of `/gnu/store/pbjinv80mxrx2wryn36jyqjgzdh60p95-git-minimal-2.46.0.drv' failed"
status: 1
guix pull: error: You found a bug: the program '/gnu/store/b81k7xyiicnscpxwxky1047n1pnivg2c-compute-guix-derivation'
failed to compute the derivation for Guix (version: "d95588242c605fbb72e25fe36a0903a1538e9018"; system: "x86_64-linux";
host version: "1.4.0"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.

here's the build log:


Starting download of /gnu/store/9zh4mcmwp2afyl4ig56943w64czdz2kp-gnutls-3.8.3.tar.xz

Starting download of /gnu/store/9zh4mcmwp2afyl4ig56943w64czdz2kp-gnutls-3.8.3.tar.xz
@ download-started /gnu/store/9zh4mcmwp2afyl4ig56943w64czdz2kp-gnutls-3.8.3.tar.xz http://www.crysys.hu/gnutls/v3.8/gnutls-3.8.3.tar.xz1861
@ download-progress /gnu/store/9zh4mcmwp2afyl4ig56943w64czdz2kp-gnutls-3.8.3.tar.xz http://www.crysys.hu/gnutls/v3.8/gnutls-3.8.3.tar.xz1861 1861
@ download-progress /gnu/store/9zh4mcmwp2afyl4ig56943w64czdz2kp-gnutls-3.8.3.tar.xz http://www.crysys.hu/gnutls/v3.8/gnutls-3.8.3.tar.xz1861 1861
@ download-succeeded /gnu/store/9zh4mcmwp2afyl4ig56943w64czdz2kp-gnutls-3.8.3.tar.xz http://www.crysys.hu/gnutls/v3.8/gnutls-3.8.3.tar.xz1861

I guess the problem is that this mirror isn't providing a proper 404 status. Unrelated, but it would also be nice to do the initial download over https for this mirror, they have HSTS enabled.
S
S
Simon Tournier wrote 6 hours ago
8734ivzfq1.fsf@gmail.com
Hi,

On Thu, 17 Oct 2024 at 18:46, guix-error via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (11 lines)
> # guix pull
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Building from this channel:
> guix https://git.savannah.gnu.org/git/guix.git d955882
> building /gnu/store/hq172xkf1kanw4v2xj46wix1aq6a12yg-guile-gnutls-4.0.0.tar.gz.drv...
> building /gnu/store/1vp4cjnwxr55basnbjr4vfd5l5pmf41c-gnutls-3.8.3.tar.xz.drv...
> /sha256 hash mismatch for /gnu/store/9zh4mcmwp2afyl4ig56943w64czdz2kp-gnutls-3.8.3.tar.xz:
> expected hash: 0ghpyhhfa3nsraph6dws50jb3dc8g2cfl7dizdnyrm179fawakzp
> actual hash: 00brsbxk90wy9x9nxx34d9idcvkdl32f0b5kbpdm8zl78jgsawdf
> hash mismatch for store item '/gnu/store/9zh4mcmwp2afyl4ig56943w64czdz2kp-gnutls-3.8.3.tar.xz'

That’s because upstream did an in-place replacement and Guix cannot fix
the world. :-)

Well, you should allow substitutes, i.e., content coming from Guix
project server.

I think that’s not a bug on Guix side. Closing?

Cheers,
simon
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 73858@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 73858
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch