guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: procps: Disable faulty floating point test.


From: Ludovic Courtès
Subject: 01/01: gnu: procps: Disable faulty floating point test.
Date: Fri, 2 Sep 2016 21:50:20 +0000 (UTC)

civodul pushed a commit to branch core-updates
in repository guix.

commit 241826b5abcfd72abbc9bc8a450c171e0f5d0541
Author: Ludovic Courtès <address@hidden>
Date:   Fri Sep 2 23:30:16 2016 +0200

    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 6dee460..61620ab 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:
+             ;; 
<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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]