gnu: util-linux: Disable tests when building on i586-gnu.
authorLudovic Courtès <ludo@gnu.org>
Sat, 17 Apr 2021 20:46:34 +0000 (22:46 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 17 Apr 2021 20:59:47 +0000 (22:59 +0200)
Works around <https://bugs.gnu.org/47791>
Reported by Maxime Devos <maximedevos@telenet.be>.

* gnu/packages/linux.scm (util-linux)[arguments]: Pass #:tests?.

gnu/packages/linux.scm

index 13253f1..1ea9d80 100644 (file)
@@ -1600,6 +1600,12 @@ providing the system administrator with some help in common tasks.")
                                (string-append "--with-bashcompletiondir="
                                               (assoc-ref %outputs "out")
                                               "/etc/bash_completion.d"))
+
+       ;; FIXME: For now we cannot reliably run tests on GNU/Hurd:
+       ;; <https://bugs.gnu.org/47791>.
+       #:tests? ,(and (not (%current-target-system))
+                      (not (string-suffix? "-gnu" (%current-system))))
+
        #:phases (modify-phases %standard-phases
                   (add-before 'configure 'patch-build-scripts
                     (lambda* (#:key outputs #:allow-other-keys)