gnu: procps: Disable faulty floating point test.

* gnu/packages/linux.scm (procps)[arguments]: Add 'disable-strtod-test'
phase.
This commit is contained in:
Ludovic Courtès 2016-09-02 23:30:16 +02:00
parent 075be8dbe0
commit 241826b5ab
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -590,6 +590,15 @@ (define-public procps
(srfi srfi-26))
#:phases
(modify-phases %standard-phases
(add-before 'check 'disable-strtod-test
(lambda _
;; Disable the 'strtod' test, which fails on 32-bit systems.
;; This is what upstream does:
;; <https://gitlab.com/procps-ng/procps/commit/100afbc1491be388f1429021ff65d969f4b1e08f>.
(substitute* "Makefile"
(("^(TESTS|check_PROGRAMS) = .*$" all)
(string-append "# " all "\n")))
#t))
(add-after
'install 'post-install
;; Remove commands and man pages redudant with