gnu: strace: Check before enabling personalities.

* gnu/packages/linux.scm (strace)[arguments]: Add configure flag to
check for personality support.
master
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
1 changed files with 2 additions and 0 deletions

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