From a9e7d6564b42cf62bab73eef3cf2bc99851ef379 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Tue, 12 Jun 2018 16:11:51 +0200 Subject: [PATCH] gnu: multipath-tools: Fix build. (multipath-tools)[arguments]: Pass -n to gzip to avoid timestamp related warnings causing build failures. --- gnu/packages/linux.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 69c81591f1..377d46d502 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2995,7 +2995,10 @@ (define-public multipath-tools (let ((lvm2 (assoc-ref inputs "lvm2")) (udev (assoc-ref inputs "udev"))) (substitute* "Makefile.inc" - (("\\$\\(prefix\\)/usr") "$(prefix)")) + (("\\$\\(prefix\\)/usr") "$(prefix)") + ;; Do not save timestamp to avoid gzip "timestamp + ;; out-of-range" warnings. + (("gzip -9") "gzip -9n")) (substitute* '("kpartx/Makefile" "libmultipath/Makefile") (("/usr/include/libdevmapper.h") (string-append lvm2 "/include/libdevmapper.h"))