[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #59074] Tarball contains creation date, making it non-reproducible
From: |
Mohammad Akhlaghi |
Subject: |
[bug #59074] Tarball contains creation date, making it non-reproducible |
Date: |
Sun, 6 Sep 2020 23:01:35 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0 |
URL:
<https://savannah.gnu.org/bugs/?59074>
Summary: Tarball contains creation date, making it
non-reproducible
Project: GNU Astronomy Utilities
Submitted by: makhlaghi
Submitted on: Mon 07 Sep 2020 04:01:34 AM BST
Category: Installation
Severity: 3 - Normal
Item Group: Output not reasonable
Status: Postponed
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
After the release of Gnuastro 0.13, it was reported
<https://lists.gnu.org/archive/html/bug-gnuastro/2020-09/msg00000.html> that
the checksums don't match (while the GPG signature was valid!).
After looking into the difference (in P.S.), I just noticed what happened:
First I made the tarballs, gpg-signed them and uploaded them to gnu.org. Then
something came up and I had to go do other things. In the process, I
(unintentionally!) deleted the old tarballs (they were in a temporary
directory!). Also, in this period, the hour passed midnight in my timezone!
So in the newly created tarball, the date in the automatically generated file
('doc/version.texi') was changed, causing this problem!
Having the date hard-coded in the tarball thus makes it non-reproducible,
which is not good! We should remove this and just get the date at run-time,
not hard-code it in the source.
P.S.
diff -bur incomputer/gnuastro-0.13/ uploaded/gnuastro-0.13
diff -bur incomputer/gnuastro-0.13/doc/stamp-vti
uploaded/gnuastro-0.13/doc/stamp-vti
--- incomputer/gnuastro-0.13/doc/stamp-vti 2020-09-07 01:25:27.000000000
+0100
+++ uploaded/gnuastro-0.13/doc/stamp-vti 2020-09-07 01:01:02.000000000
+0100
@@ -1,4 +1,4 @@
-@set UPDATED 7 September 2020
+@set UPDATED 6 September 2020
@set UPDATED-MONTH September 2020
@set EDITION 0.13
@set VERSION 0.13
diff -bur incomputer/gnuastro-0.13/doc/version.texi
uploaded/gnuastro-0.13/doc/version.texi
--- incomputer/gnuastro-0.13/doc/version.texi 2020-09-07 01:21:37.000000000
+0100
+++ uploaded/gnuastro-0.13/doc/version.texi 2020-09-07 01:01:02.000000000
+0100
@@ -1,4 +1,4 @@
-@set UPDATED 7 September 2020
+@set UPDATED 6 September 2020
@set UPDATED-MONTH September 2020
@set EDITION 0.13
@set VERSION 0.13
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59074>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #59074] Tarball contains creation date, making it non-reproducible,
Mohammad Akhlaghi <=