Subject: bug#77152: ‘hypre’ documentation embeds timestamps in PostScript files

From: Ludovic Courtès <[email-masked]>
Date: Fri, 21 Mar 2025 14:23:22 +0100

Hello,

As mentioned in <https://issues.guix.gnu.org/74672>, the “doc” output of
‘hypre’ is non-deterministic:

--8<---------------cut here---------------start------------->8---
$ guix build -c64 -v1 -K /gnu/store/cc591030mmnz23iiqfn0l6czdjlnn78d-hypre-openmpi-2.20.0.drv --check
[…]
$ diff -ru /gnu/store/s8y2fz0kymb03i90d2hwwxc31qgl8jrr-hypre-openmpi-2.20.0-doc{,-check} |head -20
diff -ru /gnu/store/s8y2fz0kymb03i90d2hwwxc31qgl8jrr-hypre-openmpi-2.20.0-doc/share/doc/hypre-2.20.0/ref-manual/_form0_dark_tmp.ps /gnu/store/s8y2fz0kymb03i90d2hwwxc31qgl8jrr-hypre-openmpi-2.20.0-doc-check/share/doc/hypre-2.20.0/ref-manual/_form0_dark_tmp.ps
--- /gnu/store/s8y2fz0kymb03i90d2hwwxc31qgl8jrr-hypre-openmpi-2.20.0-doc/share/doc/hypre-2.20.0/ref-manual/_form0_dark_tmp.ps  1970-01-01 01:00:01.000000000 +0100
+++ /gnu/store/s8y2fz0kymb03i90d2hwwxc31qgl8jrr-hypre-openmpi-2.20.0-doc-check/share/doc/hypre-2.20.0/ref-manual/_form0_dark_tmp.ps    1970-01-01 01:00:01.000000000 +0100
@@ -12,7 +12,7 @@
 %DVIPSCommandLine: dvips -q -D 600 -n 1 -p 1 -o _form0_dark_tmp.ps
 %+ _formulas_dark.dvi
 %DVIPSParameters: dpi=600
-%DVIPSSource:  TeX output 2025.03.01:0415
+%DVIPSSource:  TeX output 2025.03.21:1308
 %%BeginProcSet: tex.pro 0 0
 %!
 /TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
diff -ru /gnu/store/s8y2fz0kymb03i90d2hwwxc31qgl8jrr-hypre-openmpi-2.20.0-doc/share/doc/hypre-2.20.0/ref-manual/_form0_tmp.ps /gnu/store/s8y2fz0kymb03i90d2hwwxc31qgl8jrr-hypre-openmpi-2.20.0-doc-check/share/doc/hypre-2.20.0/ref-manual/_form0_tmp.ps
--- /gnu/store/s8y2fz0kymb03i90d2hwwxc31qgl8jrr-hypre-openmpi-2.20.0-doc/share/doc/hypre-2.20.0/ref-manual/_form0_tmp.ps       1970-01-01 01:00:01.000000000 +0100
+++ /gnu/store/s8y2fz0kymb03i90d2hwwxc31qgl8jrr-hypre-openmpi-2.20.0-doc-check/share/doc/hypre-2.20.0/ref-manual/_form0_tmp.ps 1970-01-01 01:00:01.000000000 +0100
@@ -12,7 +12,7 @@
 %DVIPSCommandLine: dvips -q -D 600 -n 1 -p 1 -o _form0_tmp.ps
 %+ _formulas.dvi
 %DVIPSParameters: dpi=600
-%DVIPSSource:  TeX output 2025.03.01:0415
--8<---------------cut here---------------end--------------->8---

The root of the problem appears to be ‘dvips’.

Ludo’.