Subject: Re: bug#41457: guix pull: channel d8feee9 - extraneous field initializers (sha256)

From: Ricardo Wurmus <[email-masked]>
Date: Fri, 22 May 2020 16:49:33 +0200

Hi,

I can reproduce this:

--8<---------------cut here---------------start------------->8---
[[email-masked]:~/code/guix] (1005) $ ~/.config/guix/current/bin/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	cd5d5f5
Computing Guix derivation for 'x86_64-linux'...  ice-9/psyntax.scm:1585:32: In procedure expand-macro:
Syntax error:
unknown location: %origin: extraneous field initializers (sha256) in form (%origin (method url-fetch) (uri (string-append "mirror://gnu/bash/bash-" version ".tar.gz")) (sha256 (base32 "0kgvfwqdcd90waczf4gx39xnrxzijhjrzyzv7s8v4w31qqm0za5l")) (patch-flags (quote ("-p0"))) (patches (cons (search-patch "bash-linux-pgrp-pipe.patch") %patch-series-5.0)))
-guix pull: error: You found a bug: the program '/gnu/store/fsch1y8hilmkg21rmgk256j3wfi2w7wk-compute-guix-derivation'
failed to compute the derivation for Guix (version: "cd5d5f53228fd5bf96d9f790aa2606ae71fa68d7"; system: "x86_64-linux";
host version: "be0ecfb1787b9e6954bf745bceeb1b9d2669d51a"; pull-version: 1).
Please report it by email to <[email-masked]>.

[[email-masked]:~/code/guix] (1006) $ ~/.config/guix/current/bin/guix describe
Generation 8	Apr 15 2020 10:05:07	(current)
  guix-bimsb 78833aa
    repository URL: https://github.com/BIMSBbioinfo/guix-bimsb
    branch: master
    commit: 78833aa4c89fb317cdd67f17ff27111228d870a9
  …
  guix be0ecfb
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: be0ecfb1787b9e6954bf745bceeb1b9d2669d51a
--8<---------------cut here---------------end--------------->8---

It seems to be related to the commits between
c7d2dd69004b020de5d86898d2497ab3c8435c37 and
1ad5209d904d471ded6cf53b4e29b64e963dea3f.

I’m trying this now as a work-around:

    ~/.config/guix/current/bin/guix pull --commit=1ad5209d904d471ded6cf53b4e29b64e963dea3f

-- 
Ricardo