[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: gnu: vim: Fix build on CoW file systems.
From: |
guix-commits |
Subject: |
04/09: gnu: vim: Fix build on CoW file systems. |
Date: |
Sun, 23 Feb 2020 11:57:04 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit b947ba77e60d3d3c5cc6a1c914096e7dab1f7db7
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Sun Feb 23 17:15:12 2020 +0100
gnu: vim: Fix build on CoW file systems.
* gnu/packages/vim.scm (vim)[arguments]: Add disable-CoW phase.
---
gnu/packages/vim.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 67f245b..579b215 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -84,6 +84,12 @@
#:parallel-tests? #f
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'disable-CoW
+ ;; Disable copy-on-write (CoW) in the build directory. Tests fail
on
+ ;; btrfs (and possibly other CoW file systems) for unclear reasons.
+ ;; This needs to be run early as it only affects newly-created
files.
+ (lambda _
+ (invoke "chattr" "-R" "+C" ".")))
(add-after 'configure 'patch-config-files
(lambda _
(substitute* "runtime/tools/mve.awk"
@@ -128,6 +134,7 @@
`(("libtool" ,libtool)
;; For tests.
+ ("e2fsprogs" ,e2fsprogs) ; for chattr in disable-CoW above
("tzdata" ,tzdata-for-tests)))
(home-page "https://www.vim.org/")
(synopsis "Text editor based on vi")
- branch master updated (73c59b3 -> 4fed945), guix-commits, 2020/02/23
- 02/09: gnu: libostree: Update to 2020.1., guix-commits, 2020/02/23
- 03/09: gnu: hevea: Update to 2.33., guix-commits, 2020/02/23
- 04/09: gnu: vim: Fix build on CoW file systems.,
guix-commits <=
- 01/09: gnu: diffoscope: Update to 137., guix-commits, 2020/02/23
- 05/09: gnu: python-prettytable: Use HTTPS home page., guix-commits, 2020/02/23
- 07/09: gnu: libsvm: Use HTTPS home page., guix-commits, 2020/02/23
- 06/09: gnu: ecl-trivial-features: Use HTTPS home page., guix-commits, 2020/02/23
- 08/09: gnu: radicale: Use HTTPS home page., guix-commits, 2020/02/23
- 09/09: gnu: font-google-material-design-icons: Use HTTPS home page., guix-commits, 2020/02/23