Bash package breaking guix build after hash system update

  • Done
  • quality assurance status badge
Details
4 participants
  • Edouard Klein
  • Draven via web
  • Tobias Geerinckx-Rice
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Edouard Klein
Severity
serious
Merged with
E
E
Edouard Klein wrote on 22 May 2020 10:55
(address . bug-guix@gnu.org)
87ftbsbb87.fsf@alice.lan
Hi guys,

My apologies if this has already been reported.

It seems that the hash system update of a few days ago broke guix. When I try to guix pull
or to build guix from master, I get the following error:

-----
building /gnu/store/ra216y72fbkg8rbx41mhr15hcis5i91m-compute-guix-derivation.drv...
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: "d8feee9f18ede0d1ea4d0e4876f09a0dab770295"; system: "x86_64-linux";
host version: "1.1.0"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.
-----

The error is more precise when trying to make (after a make clean; make
clean-go):
-----
gnu/packages/bash.scm:120:13: error: (%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))): extraneous field initializers (sha256)
-----

Of course it is also possible that I did something wrong.

Cheers,

Edouard.
D
D
Draven via web wrote on 22 May 2020 16:41
(address . 41449@debbugs.gnu.org)
7f41efe2b740.7f4ff5d46762b30@guile.gnu.org
Hi peeps :)
I also have this bug

$ guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
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: "751d1f01e4f0607d41e4c859d944753b18466652"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.

Thanks :)
Mats
R
R
Ricardo Wurmus wrote on 23 May 2020 06:51
(name . GNU bug tracker automated control server)(address . control@debbugs.gnu.org)
87a71zckza.fsf@elephly.net
severity 41449 serious
close 41449
merge 41457 41449
quit
T
T
Tobias Geerinckx-Rice wrote on 23 May 2020 14:09
Re: Processed (with 1 errors): your mail
(name . GNU bug tracker automated control server)(address . control@debbugs.gnu.org)
87a71yx37l.fsf@nckx
severity 41462 serious
merge 41457 41462
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXskSfgAKCRANsP+IT1Vt
eS9MAP983O2etSA4QUxLsAkra/94rbjk+A47EGwiSDTQHTfASwD/YZsp+w86KLOh
qxvPGrikmwJMEFEGpTDI2EWDLHj0cAg=
=hRgF
-----END PGP SIGNATURE-----

?
Your comment

This issue is archived.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 41449
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