Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1130698

Bug#995647: cfi: reproducible builds: Embedded timestamps in .dvi file

From Vagrant Cascadian <vagrant@reproducible-builds.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#995647: cfi: reproducible builds: Embedded timestamps in .dvi file
Date 2022-12-29 22:20 +0100
Message-ID <FI8tI-ebs2-5@gated-at.bofh.it> (permalink)
References <D4cQx-1Aw-5@gated-at.bofh.it> <D4cQx-1Aw-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: tags 995647 pending

On 2021-10-03, Vagrant Cascadian wrote:
> The build timestamp is embedded in various .dvi files:
>
>   https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/cfi.html
>
>   ./usr/share/doc/cfi-sv/cfi.dvi.gz
>
>   ··TeX·output·2022.
> vs.
>   ··TeX·output·2021.
> 00000020:·3039·2e32·373a·3139·3439·8b00·0000·0100
>
>   ··09.27:1949......
> vs.
>   ··08.26:1527......
>
> The attached patch fixes this by setting FORCE_SOURCE_DATE=1 in
> debian/rules, which texlive needs in order to respect SOURCE_DATE_EPOCH,

Uploaded an NMU fixing this issue to DELAYED/10:

diff -Nru cfi-3.0/debian/changelog cfi-3.0/debian/changelog
--- cfi-3.0/debian/changelog	2021-01-05 07:09:27.000000000 -0800
+++ cfi-3.0/debian/changelog	2022-12-29 12:47:39.000000000 -0800
@@ -1,3 +1,11 @@
+cfi (3.0-10.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/rules: Export FORCE_SOURCE_DATE=1 in order for texlive to
+    respect SOURCE_DATE_EPOCH when generating .dvi file. (Closes: #995647)
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org>  Thu, 29 Dec 2022 12:47:39 -0800
+
 cfi (3.0-10.1) unstable; urgency=medium
 
   * Non maintainer upload by the Reproducible Builds team.
diff -Nru cfi-3.0/debian/rules cfi-3.0/debian/rules
--- cfi-3.0/debian/rules	2012-11-10 12:28:46.000000000 -0800
+++ cfi-3.0/debian/rules	2022-12-29 12:47:39.000000000 -0800
@@ -3,6 +3,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# Ensure texlive respects SOURCE_DATE_EPOCH
+export FORCE_SOURCE_DATE=1
+
 build: build-arch build-indep
 build-arch: build-stamp
 build-indep: build-stamp


live well,
  vagrant

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#995647: cfi: reproducible builds: Embedded timestamps in .dvi file Vagrant Cascadian <vagrant@reproducible-builds.org> - 2022-12-29 22:20 +0100

csiph-web