[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49729] [PATCH core-updates] build-system/gnu: Make gzip files writa
From: |
Sarah Morgensen |
Subject: |
[bug#49729] [PATCH core-updates] build-system/gnu: Make gzip files writable before resetting timestamps. |
Date: |
Sat, 24 Jul 2021 23:12:04 -0700 |
guix/build/gnu-build-system.scm (reset-gzip-timestamps): Ensure gzip
files are writable before resetting their timestamps.
---
Hello Guix,
There have been a number of instances of packages having to add their own phase
before 'reset-gzip-timestamps to make the gzip files writable--perhaps the gnu
build system can take care of this itself? WDYT?
--
Sarah
guix/build/gnu-build-system.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm
index d0f7413268..d84411c090 100644
--- a/guix/build/gnu-build-system.scm
+++ b/guix/build/gnu-build-system.scm
@@ -598,6 +598,8 @@ and 'man/'. This phase moves directories to the right
place if needed."
(string-suffix? ".tgz" file))
(gzip-file? file)))
#:stat lstat)))
+ ;; Ensure the files are writable.
+ (for-each make-file-writable files)
(for-each reset-gzip-timestamp files)))
(match outputs
base-commit: 7bef3be1d318beebaf48ac6daa3140205ba18e98
--
2.31.1
- [bug#49729] [PATCH core-updates] build-system/gnu: Make gzip files writable before resetting timestamps.,
Sarah Morgensen <=
- [bug#49729] [PATCH core-updates 00/20] Remove obsolete phases making gzip files writable., Sarah Morgensen, 2021/07/26
- [bug#49729] [PATCH core-updates 01/20] gnu: python-biom-format: Remove obsolete phase., Sarah Morgensen, 2021/07/26
- [bug#49729] [PATCH core-updates 02/20] gnu: clipper: Remove obsolete phase., Sarah Morgensen, 2021/07/26
- [bug#49729] [PATCH core-updates 03/20] gnu: khmer: Remove obsolete phase., Sarah Morgensen, 2021/07/26
- [bug#49729] [PATCH core-updates 05/20] gnu: emacs: Remove obsolete phase., Sarah Morgensen, 2021/07/26
- [bug#49729] [PATCH core-updates 06/20] gnu: po4a: Remove obsolete phase., Sarah Morgensen, 2021/07/26