me
/
guix
Archived
1
0
Fork 0

gnu: procps: Disable faulty floating point test.

* gnu/packages/linux.scm (procps)[arguments]: Add 'disable-strtod-test'
phase.
master
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
1 changed files with 9 additions and 0 deletions

View File

@ -590,6 +590,15 @@ block devices, UUIDs, TTYs, and many other tools.")
(srfi srfi-26)) (srfi srfi-26))
#:phases #:phases
(modify-phases %standard-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 (add-after
'install 'post-install 'install 'post-install
;; Remove commands and man pages redudant with ;; Remove commands and man pages redudant with