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/diffoscope-results/clhep.html
>
>   ./usr/share/doc/clhep/GenericFunctions/genericFunctions.pdf.gz
>
>   November·24,·2025
>   vs.
>   December·27,·2026
>
> 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!

live well,
  vagrant

> From f16dc481429b4d13f7434bea32174df6555984c7 Mon Sep 17 00:00:00 2001
> From: Vagrant Cascadian <[email protected]>
> Date: Tue, 25 Nov 2025 13:07:14 -0800
> Subject: [PATCH] debian/rules: Set FORCE_SOURCE_DATE=1 for reproducible PDF
>  generation.
>
> ---
>  debian/rules | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/debian/rules b/debian/rules
> index ead6449..5c516e0 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -2,6 +2,9 @@
>  
>  export DEB_BUILD_MAINT_OPTIONS = hardening=+all
>  
> +# Ensure pdflatex respects SOURCE_DATE_EPOCH when generating PDFs
> +export FORCE_SOURCE_DATE = 1
> +
>  %:
>       dh $@  --sourcedirectory=CLHEP --buildsystem=cmake+ninja
>  
> -- 
> 2.39.5

Attachment: signature.asc
Description: PGP signature

-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to