unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#49729] [PATCH core-updates] build-system/gnu: Make gzip files writable before resetting timestamps.
@ 2021-07-25  6:12 Sarah Morgensen
  2021-07-25 15:26 ` Maxime Devos
                   ` (2 more replies)
  0 siblings, 3 replies; 29+ messages in thread
From: Sarah Morgensen @ 2021-07-25  6:12 UTC (permalink / raw)
  To: 49729

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





^ permalink raw reply related	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2022-01-17 17:12 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-25  6:12 [bug#49729] [PATCH core-updates] build-system/gnu: Make gzip files writable before resetting timestamps Sarah Morgensen
2021-07-25 15:26 ` Maxime Devos
2021-07-25 20:45   ` Sarah Morgensen
2021-07-26 20:49     ` Maxime Devos
2021-07-28  1:21       ` Sarah Morgensen
2021-07-27  2:16 ` [bug#49729] [PATCH core-updates 00/20] Remove obsolete phases making gzip files writable Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 01/20] gnu: python-biom-format: Remove obsolete phase Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 02/20] gnu: clipper: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 03/20] gnu: khmer: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 04/20] gnu: cups-minimal: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 05/20] gnu: emacs: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 06/20] gnu: po4a: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 07/20] gnu: go-golang-org-x-crypto: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 08/20] gnu: go-github-com-docker-distribution: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 09/20] gnu: go-github-com-gdamore-tcell: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 10/20] gnu: python-plotly: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 11/20] gnu: go-ipfs: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 12/20] gnu: python-scikit-learn: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 13/20] gnu: jalv-select: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 14/20] gnu: lmms: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 15/20] gnu: helm: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 16/20] gnu: arcanist: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 17/20] gnu: python-pdfminer-six: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 18/20] gnu: go-github-com-prometheus-common: " Sarah Morgensen
2021-07-27  2:56   ` [bug#49729] [PATCH core-updates 19/20] gnu: pre-commit: " Sarah Morgensen
2021-07-27 19:26   ` [bug#49729] [PATCH core-updates 20/20] gnu: cpuid: Remove obsolete file permissions change Sarah Morgensen
2021-10-26 13:14 ` [bug#49729] (No Subject) Attila Lendvai
2021-12-24  5:51   ` [bug#49729] [PATCH core-updates] build-system/gnu: Make gzip files writable before resetting timestamps Maxim Cournoyer
2022-01-17 17:09     ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).