🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #866

Bug#1121406: clhep: reproducible-builds: build date in PDF file

#866
From: Vagrant Cascadian
Date: Wed, 14 Oct 2026 18:20
89 lines
4636 bytes
--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2026-09-22, Vagrant Cascadian wrote:
> On 2025-11-25, Vagrant Cascadian wrote:
>> The date is embedded in a shipped PDF file:
>>
>>   https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/dif=
foscope-results/clhep.html
>>
>>   ./usr/share/doc/clhep/GenericFunctions/genericFunctions.pdf.gz
>>
>>   November=C2=B724,=C2=B72025
>>   vs.
>>   December=C2=B727,=C2=B72026
>>
>> The attached patch sets FORCE_SOURCE_DATE in debian/rules to ensure that
>> texlive respects SOURCE_DATE_EPOCH for a reproducible date.
>>
>> According to my local tests, with this patch applied clhep should
>> build reproducibly on tests.reproducible-builds.org!
>
> I can confirm that this is still an issue, and the patch still fixes it.
>
> I would like to perform a Non-Maintainer Upload (NMU) in the coming
> weeks applying the patch. Please let me know if there are outstanding
> concerns!

I have uploaded an NMU to DELAYED/10, debdiff attached, and also
proposed a merge request:

https://salsa.debian.org/science-team/clhep/-/merge_requests/1

live well,
  vagrant

--=-=-=
Content-Type: text/plain
Content-Disposition: inline; filename=clhep-nmu-2.4.7.1-2.1.debdiff.txt
Content-Transfer-Encoding: quoted-printable

diff -Nru clhep-2.4.7.1/debian/changelog clhep-2.4.7.1/debian/changelog
=2D-- clhep-2.4.7.1/debian/changelog	2025-11-23 01:32:03.000000000 -0800
+++ clhep-2.4.7.1/debian/changelog	2026-10-14 10:51:00.000000000 -0700
@@ -1,3 +1,11 @@
+clhep (2.4.7.1-2.1) unstable; urgency=3Dmedium
+
+  * Non-maintainer upload.
+  * debian/rules: Set FORCE_SOURCE_DATE=3D1 for reproducible PDF generatio=
n.
+    (Closes: #1121406)
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org>  Wed, 14 Oct 2026 =
10:51:00 -0700
+
 clhep (2.4.7.1-2) unstable; urgency=3Dmedium
=20
   * Team upload.
diff -Nru clhep-2.4.7.1/debian/rules clhep-2.4.7.1/debian/rules
=2D-- clhep-2.4.7.1/debian/rules	2025-11-23 01:32:03.000000000 -0800
+++ clhep-2.4.7.1/debian/rules	2026-10-14 10:43:18.000000000 -0700
@@ -2,6 +2,9 @@
=20
 export DEB_BUILD_MAINT_OPTIONS =3D hardening=3D+all
=20
+# Ensure pdflatex respects SOURCE_DATE_EPOCH when generating PDFs
+export FORCE_SOURCE_DATE =3D 1
+
 %:
 	dh $@  --sourcedirectory=3DCLHEP --buildsystem=3Dcmake+ninja
=20

--=-=-=--

--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCas/FdgAKCRDcUY/If5cW
qu6SAQDABV5CwBKgSY69LL1xxflOX4GpdSlCZUD/IOe3U6rEJAEAu0OBWeYMSe2c
Mt0qYdCTgJeVvR4Zmu/dVDwH7pRNGwA=
=EnS6
-----END PGP SIGNATURE-----
--==-=-=--
Technical Details
Message-ID: <NObK1-5vrD-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <LV9y9-fJBd-5@gated-at.bofh.it> <NGfB7-1csP-7@gated-at.bofh.it> <LV9y9-fJBd-5@gated-at.bofh.it> <NGfB7-1csP-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1121406: clhep: reproducible-builds: build date in PDF file
Date: Wed, 14 Oct 2026 20:20:01 +0200
Message-ID: <NObK1-5vrD-5@gated-at.bofh.it>
References: <LV9y9-fJBd-5@gated-at.bofh.it> <NGfB7-1csP-7@gated-at.bofh.it> <LV9y9-fJBd-5@gated-at.bofh.it> <NGfB7-1csP-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct 14 18:11:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Vagrant Cascadian <vagrant@reproducible-builds.org>, 1121406@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-science-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1121406
X-Debian-Pr-Package: src:clhep
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: clhep
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="==-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996800
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 89
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 14 Oct 2026 11:09:58 -0700
X-Original-Message-ID: <87ik34taq1.fsf@wireframe>
X-Original-References: <87o6op7o7h.fsf@wireframe> <87mrt958fa.fsf@wireframe> <87o6op7o7h.fsf@wireframe> <87mrt958fa.fsf@wireframe>