Debian Bug report logs -
#970888
fai: fai-guide.ps embeds timestamps and tempdirs
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Thomas Lange <lange@debian.org>:
Bug#970888; Package src:fai.
(Fri, 25 Sep 2020 00:24:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Thomas Lange <lange@debian.org>.
(Fri, 25 Sep 2020 00:24:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: fai
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps randomness
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The /usr/share/doc/fai-doc/fai-guide.ps.gz embeds timestamps as well as
the temporary directory used when it was generated:
15 %DVIPSCommandLine:·dvips·-R0·-o·/tmp/tmpafymsm62/fai-guide.ps 15 %DVIPSCommandLine:·dvips·-R0·-o·/tmp/tmp82mwtb5p/fai-guide.ps
16 %+·/tmp/tmpafymsm62/fai-guide.dvi 16 %+·/tmp/tmp82mwtb5p/fai-guide.dvi
17 %DVIPSParameters:·dpi=600 17 %DVIPSParameters:·dpi=600
18 %DVIPSSource:··TeX·output·2021.10.16:0452 18 %DVIPSSource:··TeX·output·2020.09.14:0033
The first patch fixes the timestamp issue by passing exporting
FORCE_SOURCE_DATE=1 in debian/rules.
The second patch fixes the other issue by stripping the temporary
directory from the generated fai-guide.ps in the override_dh_installdocs
target in debian/rules.
Thanks for maintaining fai!
live well,
vagrant
[0001-debian-rules-Use-consistent-timestamp-in-fai-guide.p.patch (text/x-diff, inline)]
From 29220386bd13f122de795a3870341f0300615251 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 25 Sep 2020 00:03:02 +0000
Subject: [PATCH 1/2] debian/rules: Use consistent timestamp in fai-guide.ps
for reproducible builds.
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index 0bd3660a..f6c94ab9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,9 @@
-include VERSION
+# Tell texlive to respect SOURCE_DATE_EPOCH for reproducible builds
+export FORCE_SOURCE_DATE=1
+
%:
dh $@
--
2.28.0
[0002-debian-rules-Remove-embedded-temporary-directory-fro.patch (text/x-diff, inline)]
From 7d8284bfce9c854935a1962d7b5994dd37a19e66 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 25 Sep 2020 00:04:39 +0000
Subject: [PATCH 2/2] debian/rules: Remove embedded temporary directory from
fai-guide.ps for reproducible builds.
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index f6c94ab9..08dc9e7f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,9 @@ export FORCE_SOURCE_DATE=1
override_dh_installdocs:
dh_installdocs -Nfai-server -Nfai-quickstart
sed -i 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' debian/fai-client/usr/share/doc/fai-client/README
+ # Remove embedded temporary directory for reproducible builds
+ sed -i -e 's,/tmp/tmp.*/fai-guide.ps,fai-guide.ps,g' debian/fai-doc/usr/share/doc/fai-doc/fai-guide.ps
+ sed -i -e 's,/tmp/tmp.*/fai-guide.dvi,fai-guide.dvi,g' debian/fai-doc/usr/share/doc/fai-doc/fai-guide.ps
override_dh_installchangelogs:
dh_installchangelogs -Nfai-server -Nfai-quickstart
--
2.28.0
[signature.asc (application/pgp-signature, inline)]
Added tag(s) pending.
Request was from Thomas Lange <lange@debian.org>
to control@bugs.debian.org.
(Sat, 26 Sep 2020 13:30:04 GMT) (full text, mbox, link).
Marked as fixed in versions fai/5.10.
Request was from Thomas Lange <lange@debian.org>
to control@bugs.debian.org.
(Tue, 09 Mar 2021 18:09:12 GMT) (full text, mbox, link).
Marked Bug as done
Request was from Thomas Lange <lange@debian.org>
to control@bugs.debian.org.
(Tue, 09 Mar 2021 18:09:12 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Tue, 09 Mar 2021 18:09:13 GMT) (full text, mbox, link).
Message sent on
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug#970888.
(Tue, 09 Mar 2021 18:09:14 GMT) (full text, mbox, link).
Message #16 received at 970888-submitter@bugs.debian.org (full text, mbox, reply):
close 970888 5.10
thanks
--
viele Grüße Thomas
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 15 Apr 2021 07:27:31 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 10:29:57 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.