GNU bug report logs - #26790
[PATCH] bash.scm: fix keyword order in 'bash-minimal'

Previous Next

Package: guix-patches;

Reported by: Sergei Trofimovich <slyfox <at> inbox.ru>

Date: Fri, 5 May 2017 21:52:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26790 in the body.
You can then email your comments to 26790 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#26790; Package guix-patches. (Fri, 05 May 2017 21:52:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sergei Trofimovich <slyfox <at> inbox.ru>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 05 May 2017 21:52:02 GMT) Full text and rfc822 format available.

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

From: Sergei Trofimovich <slyfox <at> inbox.ru>
To: guix-patches <at> gnu.org
Cc: Andy Wingo <wingo <at> igalia.com>, rennes <rennes <at> openmailbox.org>, Ludovic Courtès <ludo <at> gnu.org>, Manolis Ragkousis <manolis837 <at> gmail.com>, Sergei Trofimovich <slyfox <at> inbox.ru>
Subject: [PATCH] bash.scm: fix keyword order in 'bash-minimal'
Date: Fri,  5 May 2017 22:51:25 +0100
'bash-minimal' is a package derived from 'bash' package.
'bash-minimal' is supposed to override keywords from
'bash', but does not do it due to ordering issue.

Patch changes order
from "#:modules ... 'bash'-keywords"
to   "'bash'-keywords #:modules ..."

That fixes guix bootstrap failure on core-updates
reported by rennes, Manolis Ragkousis and tracked
down by Andy Wingo in:
    https://lists.gnu.org/archive/html/guix-devel/2017-05/msg00010.html

* gnu/packages/bash.scm(bash-minimal): fix #:modules ordering

Signed-off-by: Sergei Trofimovich <slyfox <at> inbox.ru>
---
 gnu/packages/bash.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index ef22728a9..38aa1786e 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -211,11 +211,11 @@ without modification.")
     (outputs (delete "include" (package-outputs bash)))
 
     (arguments
-     (let ((args `(#:modules ((guix build gnu-build-system)
+     (let ((args `(,@(package-arguments bash)
+                   #:modules ((guix build gnu-build-system)
                               (guix build utils)
                               (srfi srfi-1)
-                              (srfi srfi-26))
-                   ,@(package-arguments bash))))
+                              (srfi srfi-26)))))
        (substitute-keyword-arguments args
          ((#:configure-flags flags)
           `(list "--without-bash-malloc"
-- 
2.12.2





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Tue, 30 May 2017 20:02:02 GMT) Full text and rfc822 format available.

Notification sent to Sergei Trofimovich <slyfox <at> inbox.ru>:
bug acknowledged by developer. (Tue, 30 May 2017 20:02:02 GMT) Full text and rfc822 format available.

Message #10 received at 26790-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Sergei Trofimovich <slyfox <at> inbox.ru>
Cc: Andy Wingo <wingo <at> igalia.com>, rennes <rennes <at> openmailbox.org>,
 26790-done <at> debbugs.gnu.org, Manolis Ragkousis <manolis837 <at> gmail.com>
Subject: Re: bug#26790: [PATCH] bash.scm: fix keyword order in 'bash-minimal'
Date: Tue, 30 May 2017 22:00:05 +0200
Sergei Trofimovich <slyfox <at> inbox.ru> skribis:

> 'bash-minimal' is a package derived from 'bash' package.
> 'bash-minimal' is supposed to override keywords from
> 'bash', but does not do it due to ordering issue.
>
> Patch changes order
> from "#:modules ... 'bash'-keywords"
> to   "'bash'-keywords #:modules ..."
>
> That fixes guix bootstrap failure on core-updates
> reported by rennes, Manolis Ragkousis and tracked
> down by Andy Wingo in:
>     https://lists.gnu.org/archive/html/guix-devel/2017-05/msg00010.html
>
> * gnu/packages/bash.scm(bash-minimal): fix #:modules ordering

Pushed to ‘core-updates’ as a30188f561af3f84a1da687dffb4192e621929fc
where I adjusted the commit log.

Thank you!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 28 Jun 2017 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 316 days ago.

Previous Next


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