guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: strace: Check before enabling personalities.


From: Efraim Flashner
Subject: 01/01: gnu: strace: Check before enabling personalities.
Date: Wed, 17 Oct 2018 14:28:24 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 1d43756107077797e0168190ac12ee2564c8e76d
Author: Efraim Flashner <address@hidden>
Date:   Wed Oct 17 21:10:19 2018 +0300

    gnu: strace: Check before enabling personalities.
    
    * gnu/packages/linux.scm (strace)[arguments]: Add configure flag to
    check for personality support.
---
 gnu/packages/linux.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 79a1b0b..cd4adf9 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -961,6 +961,8 @@ Zerofree requires the file system to be unmounted or 
mounted read-only.")
              (substitute* "strace.c"
                (("/bin/sh") (which "sh")))
              #t)))
+       ;; Don't fail if the architecture doesn't support different 
personalities.
+       #:configure-flags '("--enable-mpers=check")
        ;; See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32459>.
        #:parallel-tests? #f))           ; undeterministic failures
     (native-inputs `(("perl" ,perl)))



reply via email to

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