guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: commencement: bash-mesboot0: Break store fil


From: guix-commits
Subject: branch master updated: gnu: commencement: bash-mesboot0: Break store file-name in comment.
Date: Wed, 16 Sep 2020 06:45:30 -0400

This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new b85863f  gnu: commencement: bash-mesboot0: Break store file-name in 
comment.
b85863f is described below

commit b85863f7ce99d05205e57358b36ff50656cca08b
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Sep 16 06:57:51 2020 +0200

    gnu: commencement: bash-mesboot0: Break store file-name in comment.
    
    Fixes <https://bugs.gnu.org/43005>.
    Reported by Vagrant Cascadian <vagrant@debian.org>.
    
    * gnu/packages/commencement.scm (bash-mesboot0)[arguments]: Break store file
    name in comment and add unquoted string-append to silence the
    ’assert-no-store-file-names’ check.  The store file name check is really 
meant
    for code; this file name was unfortunately used is a comment.
---
 gnu/packages/commencement.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 565799c..8a0864f 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -788,14 +788,17 @@ $MES -e '(mescc)' module/mescc.scm -- \"$@\"
              (substitute* "config.h"
                (("#define GETCWD_BROKEN 1") "#undef GETCWD_BROKEN"))
              (let ((config.h (open-file "config.h" "a")))
-               (display (string-append "
+               (display (string-append
+                         ;; XXX TODO: remove nested ,(string-append ...) and
+                         ;; store file name on next rebuild cycle
+                         ,(string-append "
 // tcc: error: undefined symbol 'enable_hostname_completion'
 #define enable_hostname_completion(on_or_off) 0
 
-// 
/gnu/store/cq0cmv35s9dhilx14zaghlc08gpc0hwr-tcc-boot0-0.9.26-6.c004e9a/lib/libc.a:
 error: 'sigprocmask' defined twice
+// /gnu/store/" 
"cq0cmv35s9dhilx14zaghlc08gpc0hwr-tcc-boot0-0.9.26-6.c004e9a/lib/libc.a: error: 
'sigprocmask' defined twice
 #define HAVE_POSIX_SIGNALS 1
 #define endpwent(x) 0
-")
+"))
                         config.h)
                (close config.h))
              #t))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]