[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: multipath-tools: Fix build.
From: |
Mathieu Othacehe |
Subject: |
01/01: gnu: multipath-tools: Fix build. |
Date: |
Tue, 12 Jun 2018 10:14:49 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit a9e7d6564b42cf62bab73eef3cf2bc99851ef379
Author: Mathieu Othacehe <address@hidden>
Date: Tue Jun 12 16:11:51 2018 +0200
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 69c8159..377d46d 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2995,7 +2995,10 @@ arrays when needed.")
(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"))