From 84feaca4888c9916e1a97bb81e5d157673488b70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 17 Apr 2021 22:46:34 +0200 Subject: [PATCH] gnu: util-linux: Disable tests when building on i586-gnu. Works around Reported by Maxime Devos . * gnu/packages/linux.scm (util-linux)[arguments]: Pass #:tests?. --- gnu/packages/linux.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 13253f1ed6..1ea9d80834 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1600,6 +1600,12 @@ (define-public util-linux (string-append "--with-bashcompletiondir=" (assoc-ref %outputs "out") "/etc/bash_completion.d")) + + ;; FIXME: For now we cannot reliably run tests on GNU/Hurd: + ;; . + #: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)