GNU bug report logs - #58694
`sudo --login guix pull` fails

Previous Next

Package: guix;

Reported by: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>

Date: Fri, 21 Oct 2022 21:55:02 UTC

Severity: normal

To reply to this bug, email your comments to 58694 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#58694; Package guix. (Fri, 21 Oct 2022 21:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rostislav Svoboda <rostislav.svoboda <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 21 Oct 2022 21:55:02 GMT) Full text and rfc822 format available.

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

From: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: `sudo --login guix pull` fails
Date: Fri, 21 Oct 2022 23:53:58 +0200
[Message part 1 (text/plain, inline)]
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
\sha256 hash mismatch for
/gnu/store/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz:
  expected hash: 113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4
  actual hash:   1sb0709wirgkag5zcv8c72l4xc5g4qhr6syxf8w8i4vhnjsdg2hp
hash mismatch for store item
'/gnu/store/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz'
build of /gnu/store/xijrkm01sqviaqkgfd1r7gjipzpfxkbz-autoconf-2.69.tar.xz.drv
failed
View build log at
'/var/log/guix/drvs/xi/jrkm01sqviaqkgfd1r7gjipzpfxkbz-autoconf-2.69.tar.xz.drv.bz2'.
building /gnu/store/971s9hm3armq58qxfiigs1pkmc35ynj3-CUnit-2.1-3.tar.bz2.drv...
Backtrace:
          13 (primitive-load
"/gnu/store/45qgzlh67nvkwl7ms1g5h7nxq5yavw2i-compute-guix-derivation")
In ice-9/eval.scm:
    155:9 12 (_ _)
    159:9 11 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?>
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
    152:2 10 (with-fluid* _ _ _)
    152:2  9 (with-fluid* _ _ _)
In ./guix/store.scm:
  2165:24  8 (run-with-store #<store-connection 256.99 7f29132253c0> _
#:guile-for-build _ #:system _ #:target _)
   1993:8  7 (_ _)
In ./guix/gexp.scm:
   300:22  6 (_ _)
   1181:2  5 (_ _)
   1047:2  4 (_ _)
    893:4  3 (_ _)
In ./guix/store.scm:
  2050:12  2 (_ #<store-connection 256.99 7f2901788870>)
   1398:5  1 (map/accumulate-builds #<store-connection 256.99
7f2901788870> #<procedure 7f29116edbd0 at ./guix/stor?> ?)
  1414:15  0 (_ #<store-connection 256.99 7f2901788870> _ _)

./guix/store.scm:1414:15: ERROR:
  1. &store-protocol-error:
      message: "build of
`/gnu/store/lhzya0bkdd3wj1vhs072sqbq70p2k2q5-guile-gnutls-3.7.9.drv'
failed"
      status: 1
guix pull: error: You found a bug: the program
'/gnu/store/45qgzlh67nvkwl7ms1g5h7nxq5yavw2i-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"78d4a08ac3a1de481bc56eef967a2e5ed2a912d5"; system: "x86_64-linux";
host version: "1.3.0"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix <at> gnu.org>.
[jrkm01sqviaqkgfd1r7gjipzpfxkbz-autoconf-2.69.tar.xz.drv.bz2 (application/x-bzip, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#58694; Package guix. (Sat, 26 Nov 2022 13:22:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>, 58694 <at> debbugs.gnu.org
Subject: Re: bug#58694: `sudo --login guix pull` fails
Date: Sat, 26 Nov 2022 11:04:26 +0100
Hi,

On Fri, 21 Oct 2022 at 23:53, Rostislav Svoboda <rostislav.svoboda <at> gmail.com> wrote:
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> \sha256 hash mismatch for
> /gnu/store/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz:
>   expected hash: 113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4
>   actual hash:   1sb0709wirgkag5zcv8c72l4xc5g4qhr6syxf8w8i4vhnjsdg2hp
> hash mismatch for store item
> '/gnu/store/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz'
> build of /gnu/store/xijrkm01sqviaqkgfd1r7gjipzpfxkbz-autoconf-2.69.tar.xz.drv
> failed

Well, I do not know what happened.  It works for me and I get:

--8<---------------cut here---------------start------------->8---
$ guix build /gnu/store/xijrkm01sqviaqkgfd1r7gjipzpfxkbz-autoconf-2.69.tar.xz.drv
1.2 MB will be downloaded:
  /gnu/store/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz
substituting /gnu/store/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz...
downloading from https://ci.guix.gnu.org/nar/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz ...
 autoconf-2.69.tar.xz  1.2MiB                                              533KiB/s 00:02 [##################] 100.0%

/gnu/store/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz

$ guix hash /gnu/store/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz
113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4
--8<---------------cut here---------------end--------------->8---


> View build log at
> '/var/log/guix/drvs/xi/jrkm01sqviaqkgfd1r7gjipzpfxkbz-autoconf-2.69.tar.xz.drv.bz2'.
> building /gnu/store/971s9hm3armq58qxfiigs1pkmc35ynj3-CUnit-2.1-3.tar.bz2.drv...
> Backtrace:
>           13 (primitive-load
> "/gnu/store/45qgzlh67nvkwl7ms1g5h7nxq5yavw2i-compute-guix-derivation")

[...]

> guix pull: error: You found a bug: the program
> '/gnu/store/45qgzlh67nvkwl7ms1g5h7nxq5yavw2i-compute-guix-derivation'
> failed to compute the derivation for Guix (version:
> "78d4a08ac3a1de481bc56eef967a2e5ed2a912d5"; system: "x86_64-linux";
> host version: "1.3.0"; pull-version: 1).
> Please report the COMPLETE output above by email to <bug-guix <at> gnu.org>.

Well, I miss why a hash mismatch returns a backtrace and is not nicely
handled.  Hum, something similar had been reported in #59179 [1].

1: <http://issues.guix.gnu.org/msgid/a55ec561b2d015d62c54958cd927d89a13aab496.camel <at> mdc-berlin.de>

Cheers,
simon






This bug report was last modified 2 years and 201 days ago.

Previous Next


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