gnu: strace: Check before enabling personalities.

* gnu/packages/linux.scm (strace)[arguments]: Add configure flag to
check for personality support.
This commit is contained in:
Efraim Flashner 2018-10-17 21:10:19 +03:00
parent 82402f76be
commit 1d43756107
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -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)))