From 241826b5abcfd72abbc9bc8a450c171e0f5d0541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 2 Sep 2016 23:30:16 +0200 Subject: [PATCH] gnu: procps: Disable faulty floating point test. * gnu/packages/linux.scm (procps)[arguments]: Add 'disable-strtod-test' phase. --- gnu/packages/linux.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 6dee46086f..61620abbb4 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -590,6 +590,15 @@ block devices, UUIDs, TTYs, and many other tools.") (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: + ;; . + (substitute* "Makefile" + (("^(TESTS|check_PROGRAMS) = .*$" all) + (string-append "# " all "\n"))) + #t)) (add-after 'install 'post-install ;; Remove commands and man pages redudant with