From 1d43756107077797e0168190ac12ee2564c8e76d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 17 Oct 2018 21:10:19 +0300 Subject: 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 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 . #:parallel-tests? #f)) ; undeterministic failures (native-inputs `(("perl" ,perl))) -- cgit v1.2.3