aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-10-17 21:10:19 +0300
committerEfraim Flashner <efraim@flashner.co.il>2018-10-17 21:28:05 +0300
commit1d43756107077797e0168190ac12ee2564c8e76d (patch)
tree7e8c6c475f9342880597ca0e58863fa7bdfc66da /gnu
parent82402f76bebfa3bb563a58227eb4081f9bdb6142 (diff)
downloadpatches-1d43756107077797e0168190ac12ee2564c8e76d.tar
patches-1d43756107077797e0168190ac12ee2564c8e76d.tar.gz
gnu: strace: Check before enabling personalities.
* gnu/packages/linux.scm (strace)[arguments]: Add configure flag to check for personality support.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/linux.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 79a1b0b46a..cd4adf9b6f 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)))