Your message dated Tue, 21 Nov 2023 00:19:10 +0000
with message-id <[email protected]>
and subject line Bug#990300: fixed in auctex 13.2-1
has caused the Debian Bug report #990300,
regarding auctex: reproducible builds: Embedded timestamps in .el files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
990300: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990300
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: auctex
Severity: normal
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

The build timestamp is embedded in various .el files:

  
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/auctex.html

  ./usr/share/emacs/site-lisp/tex-site.el

  ;;;###·(autoloads·nil·"tex"·"tex.el"·(25292·55595·0·0))
  vs.
  ;;;###·(autoloads·nil·"tex"·"tex.el"·(24767·51934·0·0))

  ./usr/share/emacs/site-lisp/preview-latex.el

  ;;;###·(autoloads·nil·"preview"·"preview.el"·(25292·55677·147326
  vs.
  ;;;###·(autoloads·nil·"preview"·"preview.el"·(24767·52242·102378

The tex-site.el is is patched from debian/patches, so the timestamp
varies at the time of build and preview-latex.el is generated during the
build, so the timestamp varies.

The attached patches fix this by setting the timestamp on tex.el from
debian/rules using debian/changelog as a reference timestamp, and
patching Makefile.in to do the same for preview-latex.el.

Applying these patches should make auctex reproducible in the current
tests.reproducible-builds.org infrastructure.


Thanks for maintaining auctex!


live well,
  vagrant
From dcb820e3f7e09a844df70b0068f59a4831248408 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Fri, 25 Jun 2021 03:36:17 +0000
Subject: [PATCH 1/2] debian/rules: Set the timestamp on the patched tex.el
 file to avoid embedding timestamps in the shipped .el file.

https://tests.reproducible-builds.org/debian/issues/timestamps_in_emacs_autoloads_issue.html
https://bugs.debian.org/824050
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22213
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index fc8813f0..44ee25e3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,6 +50,10 @@ ELCC := $(shell pwd)/debian/elcc
 override_dh_auto_build: debian/clean
 	chmod -R a+rX debian/
 	chmod a+x debian/elcc
+	# Set the date on files that are patched to avoid inconsistent
+	# embedded timestamps:
+	# https://tests.reproducible-builds.org/debian/issues/timestamps_in_emacs_autoloads_issue.html
+	touch --reference debian/changelog tex.el
 	$(MAKE) ELCC=$(ELCC)
 	rm --force auto-loads.el
 	$(MAKE) auto-loads.el
-- 
2.32.0

From 16c7380b96b37841a0c6533c428310ef278f12c6 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Fri, 25 Jun 2021 03:40:45 +0000
Subject: [PATCH 2/2] debian/patches: Set the timestamp on the generated
 preview-latex.el file to avoid embedding timestamps in the shipped .el file.

https://tests.reproducible-builds.org/debian/issues/timestamps_in_emacs_autoloads_issue.html
https://bugs.debian.org/824050
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22213
---
 ...p-on-the-generated-preview-latex.el-.patch | 28 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 29 insertions(+)
 create mode 100644 debian/patches/0007-Set-the-timestamp-on-the-generated-preview-latex.el-.patch

diff --git a/debian/patches/0007-Set-the-timestamp-on-the-generated-preview-latex.el-.patch b/debian/patches/0007-Set-the-timestamp-on-the-generated-preview-latex.el-.patch
new file mode 100644
index 00000000..a4349b5d
--- /dev/null
+++ b/debian/patches/0007-Set-the-timestamp-on-the-generated-preview-latex.el-.patch
@@ -0,0 +1,28 @@
+From e3c2aede384f443397c02c183691697c73d502d7 Mon Sep 17 00:00:00 2001
+From: Vagrant Cascadian <[email protected]>
+Date: Fri, 25 Jun 2021 03:38:05 +0000
+Subject: [PATCH] Set the timestamp on the generated preview-latex.el file to
+ avoid embedding timestamps in the shipped .el file.
+
+https://tests.reproducible-builds.org/debian/issues/timestamps_in_emacs_autoloads_issue.html
+https://bugs.debian.org/824050
+https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22213
+---
+ Makefile.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.in b/Makefile.in
+index 95bc0eb5..24177bea 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -222,6 +222,7 @@ lisp:	tex-site.el $(AUCSRC) $(STYLESRC) $(PREVIEWSRC)
+ 
+ preview-latex.el: preview.el
+ 	rm -f preview-latex.el
++	touch --reference debian/copyright preview-latex.el ; \
+ 	-$(EMACS) -batch -no-site-file -no-init-file $(PREVIEW_AUTOLOAD) ; \
+ 	test -r $@ || { \
+ 	  echo ";; Auto-generated preview-latex.el" > $@ ; \
+-- 
+2.32.0
+
diff --git a/debian/patches/series b/debian/patches/series
index 5c13931a..bc0123a8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 0004-TeX-view-program-selection-Customize-for-Debian.patch
 0005-TeX-auto-global-Customize-for-Debian.patch
 0006-preview-image-type-Customize-for-Debian.patch
+0007-Set-the-timestamp-on-the-generated-preview-latex.el-.patch
-- 
2.32.0

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: auctex
Source-Version: 13.2-1
Done: Davide G. M. Salvetti <[email protected]>

We believe that the bug you reported is fixed in the latest version of
auctex, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Davide G. M. Salvetti <[email protected]> (supplier of updated auctex package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 20 Nov 2023 23:59:01 +0100
Source: auctex
Architecture: source
Version: 13.2-1
Distribution: unstable
Urgency: medium
Maintainer: Davide G. M. Salvetti <[email protected]>
Changed-By: Davide G. M. Salvetti <[email protected]>
Closes: 990300 1028238 1031145 1040484 1042874 1043257 1053161 1056160
Changes:
 auctex (13.2-1) unstable; urgency=medium
 .
   * [3c41e87] New upstream release 13.2
     Thanks to Amr Ibrahim, AlMa, Janusz S. Bień, Xiyue Deng, Marcelo Laia, 
Hilmar Preusse
     (Closes: #1028238, #1040484, #1042874, #1043257, #1053161, #1056160)
   * [4db638b] debian/patches: Remove upstream merged, rebase.
     Thanks to Xiyue Deng
   * [1bb5677] debian/patches: Add Use UTF-8, renumber.
     Thanks to lintian
   * [daf33b7] debian/{patches,rules}: Set timestamps to reproducible build.
     Thanks to Vagrant Cascadian (Closes: #990300)
   * [0fe85cf] debian/auctex.NEWS: Update for upstream releases from 11.92 to 
12.2
   * [4599742] debian/auctex.NEWS: Update for upstream releases from 12.3 to 
13.2
   * [a5fb566] debian/control (Build-Depends-Indep): Update debhelper compat 
level
   * [a0a3448] debian/control (Description): Remove no more needed XEmacs 
reference
   * [49e2340] debian/control: Remove constraints unnecessary since buster.
     Thanks to The Debian Janitor
   * [20df982] debian/control (Standards-Version): Upgrade to 4.6.2.
   * [82ac517] debian/control (Build-Depends-Indep): Add 
texlive-latex-recommended
   * [d00ad14] debian/control (Homepage): Use secure URI
   * [becd0da] debian/auctex.emacsen-install: Be verbose while byte compiling
   * [096b158] debian/auctex.{postinst,postrm,preinst}: Remove ancient cleanup 
code
   * [e87c8e7] debian/update-auctex-elisp: Disable font-lock while parsing 
macros
   * [5b8a070] debian/auctex.lintian-overrides: Transition to "pointed hints"
   * [7b08a2c] debian/auctex.lintian-overrides: Add upstream changelog override
   * [f70fea5] Refactor dh_installdocs related stuff
   * [598b51f] debian/po/ro.po: Romanian translation.
     Thanks to Remus-Gabriel Chelu (Closes: #1031145)
   * [1b37d3a] debian/{COPYRIGHT,copyright}: Update
   * [8b4ebe5] debian/changelog: Fix spelling
Checksums-Sha1:
 e6783f66a24bcc89c1a12f8391f946bc5c93ba76 2050 auctex_13.2-1.dsc
 b18ea543dd95be88adf83baa259f4801447fa25d 946452 auctex_13.2.orig.tar.xz
 4dd1cba515da465992a1fcb2c287905b00fd33d0 58816 auctex_13.2-1.debian.tar.xz
 86b44d04112e1bc8734f00c3847e535aca97e69f 12622 auctex_13.2-1_amd64.buildinfo
Checksums-Sha256:
 601f4f47c152843c38e3cb9104e5c78475ccd11a86930b167e91da822e9a55b6 2050 
auctex_13.2-1.dsc
 0332fd9084329c0c5f8b4853b7f870a11bd853fd6d615726f1c90d06175519bf 946452 
auctex_13.2.orig.tar.xz
 01e274a2531ef5eeb2e5bbd3933003ba307e7c341b4c121c6f68dcda8c7de594 58816 
auctex_13.2-1.debian.tar.xz
 ed8d0177b4091fefd17f6cf55dbb3bc11bb4f7cbe1898b96bb713d29a1b078cf 12622 
auctex_13.2-1_amd64.buildinfo
Files:
 00f8901e0594da2ad639f8c17aa7a481 2050 tex optional auctex_13.2-1.dsc
 078df82b03b68895ddff7bda8a751d9f 946452 tex optional auctex_13.2.orig.tar.xz
 3f87f528b6c619b193d2f8c886bd6ad9 58816 tex optional auctex_13.2-1.debian.tar.xz
 e8a419193d6415c20407eb48db08b463 12622 tex optional 
auctex_13.2-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEjeOMymQII+s0PJa1LsYVsujTpTUFAmVb7UQACgkQLsYVsujT
pTWsSw/+LBNCAXsDYRQ2/lCJvdmOWJGkPmyPQi0EPxJ+FWz5YGFKV4jEo1x5mPM9
ivxABuBKKkkkk8iqfIqRduCd+EhhTHBpNb8qqvEmTOzcwcPlgHBOeZD1azvlgNUN
PRr3GXLcYUZgY43ESLZls6tmeZ/GAoS4Klq048GRadsscpw5x/fK3SC7hv0Y53pG
8g3uPO35ysCYOTzKJXhRqIVy9Kn9QRrNzv9/PHeK55DB9BGh77xqmQrGagKwO8+a
xdqcbsVU9s0y+BC3hwxSAWWXf8B3cs1TXpgrYogjJf881DZXVzsYy8KjGfUzbI41
NkU7D10ZKvjNMCMV/KD5RrbJvjAH2zWXEuWLrYKLwCJmrDdgRoXt82cqYLBkNfdk
racFS7RP4hLRgBugw0ir4ksFkM8f16R0A1Oxr1MXfjQwfvveL9NIIl44jQOeQ9W8
3oWuE1CipOHRigyjHi+7+jsWrTVKAurJwtVdpaAQnDwlYKDp9ExDwQWzz5GmPyOW
PE8BpDHxVNafP+j3yDT4ilfqS8ZvsoZgQTS843Y2t7lYGk2sKAC1VbvqrUqYjQbV
Z6zov1Q2hvjRi4172TxvwF1VWIPsI6FtWp5zNRG4Iad+f7XUsf9JKLcBAmcXtcmo
ny1xLkm4CiJm5tLKTezZsz0VNWAJt/42/xRl0//qBRg8tTiIhrE=
=Oy5f
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to