unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 2c66bec074e5d926a0913122175a086daebe3f70 1372 bytes (raw)
name: gnu/packages/patches/hdf4-reproducibility.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 
Remove/patch unreproducible config data.
---
 configure           | 9 ++++++++-
 libhdf4.settings.in | 6 +++---
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index eb9f346..ebab94d 100755
--- a/configure
+++ b/configure
@@ -23163,7 +23163,14 @@ H4_VERSION="`cut -d' ' -f3 $srcdir/README.txt | head -1`"
 
 
 ## Configuration date
- CONFIG_DATE="`date`"
+CONFIG_DATE="`date -u`"
+if test -n "$SOURCE_DATE_EPOCH"; then
+  CONFIG_DATE=`date -u -d "@$SOURCE_DATE_EPOCH" 2>/dev/null \
+               || date -u -r "$SOURCE_DATE_EPOCH" 2>/dev/null`
+  if test -z "$CONFIG_DATE"; then
+    as_fn_error $? "malformed SOURCE_DATE_EPOCH" "$LINENO" 5
+  fi
+fi
 
 ## User doing the configuration
  CONFIG_USER="`whoami`@`hostname`"
diff --git a/libhdf4.settings.in b/libhdf4.settings.in
index 1d9bbb9..4180d72 100644
--- a/libhdf4.settings.in
+++ b/libhdf4.settings.in
@@ -5,10 +5,10 @@ General Information:
 -------------------
 		   HDF4 Version: @H4_VERSION@
 		  Configured on: @CONFIG_DATE@
-		  Configured by: @CONFIG_USER@
+		  Configured by: guix
 		 Configure mode: @CONFIG_MODE@
-		    Host system: @host_cpu@-@host_vendor@-@host_os@
-              Uname information: @UNAME_INFO@
+		    Host system: guix
+              Uname information: guix
 		      Libraries: @STATIC_SHARED@
 	     Installation point: @prefix@
 
-- 
2.10.0


debug log:

solving 2c66bec ...
found 2c66bec in https://yhetil.org/guix-devel/20161011.105744.1519945377775544087.post@thomasdanckaert.be/

applying [1/1] https://yhetil.org/guix-devel/20161011.105744.1519945377775544087.post@thomasdanckaert.be/
diff --git a/gnu/packages/patches/hdf4-reproducibility.patch b/gnu/packages/patches/hdf4-reproducibility.patch
new file mode 100644
index 0000000..2c66bec

1:18: trailing whitespace.
 
1:19: trailing whitespace.
 
1:30: trailing whitespace.
 
1:39: space before tab in indent.
 		   HDF4 Version: @H4_VERSION@
1:40: space before tab in indent.
 		  Configured on: @CONFIG_DATE@
Checking patch gnu/packages/patches/hdf4-reproducibility.patch...
Applied patch gnu/packages/patches/hdf4-reproducibility.patch cleanly.
warning: squelched 6 whitespace errors
warning: 11 lines add whitespace errors.

index at:
100644 2c66bec074e5d926a0913122175a086daebe3f70	gnu/packages/patches/hdf4-reproducibility.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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).