unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Rostislav Svoboda <rostislav.svoboda@gmail.com>, 58694@debbugs.gnu.org
Subject: bug#58694: `sudo --login guix pull` fails
Date: Sat, 26 Nov 2022 11:04:26 +0100	[thread overview]
Message-ID: <86zgceav6d.fsf@gmail.com> (raw)
In-Reply-To: <CAEtmmezgQCEyGuJ_v5FRny-3hgc=MP_d0QVHzRiMUe35R8op8A@mail.gmail.com>

Hi,

On Fri, 21 Oct 2022 at 23:53, Rostislav Svoboda <rostislav.svoboda@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@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@mdc-berlin.de>

Cheers,
simon






      reply	other threads:[~2022-11-26 13:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-21 21:53 bug#58694: `sudo --login guix pull` fails Rostislav Svoboda
2022-11-26 10:04 ` zimoun [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86zgceav6d.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=58694@debbugs.gnu.org \
    --cc=rostislav.svoboda@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).