Your message dated Mon, 02 Nov 2026 21:05:49 +0000
with message-id <[email protected]>
and subject line Bug#1152747: fixed in fop 1:2.10+dfsg1-3
has caused the Debian Bug report #1152747,
regarding fop: reproducible builds: Improve use of SOURCE_DATE_EPOCH for
timestamps in PDF 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.)
--
1152747: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152747
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fop
Severity: normal
Tags: patch
User: [email protected]
Usertags: timestamps toolchain
X-Debbugs-Cc: [email protected], tony mancill
<[email protected]>
I think I found one of the remaining places where timestamps were
sneaking into CreateDate when using fop to generate PDFs.
If this sounds familiar, that is because this is a follow-up to the
original bug which partially fixed the issues:
https://bugs.debian.org/978499
It has been nagging at me in the 5 or so years since; I think I finally
identified where in the code needs to be adjusted!
This patch is more of a proof-of-concept than a real patch, although it
did appear to fix the one remaining issue for the pam and treeview
packages.
diff --git
a/fop-core/src/main/java/org/apache/fop/render/intermediate/IFRenderer.java
b/fop-core/src/main/java/org/apache/fop/render/intermediate/IFRenderer.java
index 84e4e3a..a4d8d7c 100644
--- a/fop-core/src/main/java/org/apache/fop/render/intermediate/IFRenderer.java
+++ b/fop-core/src/main/java/org/apache/fop/render/intermediate/IFRenderer.java
@@ -544,7 +544,8 @@ public class IFRenderer extends
AbstractPathOrientedRenderer {
} else {
xmpBasic.setCreatorTool(Version.getVersion());
}
- xmpBasic.setMetadataDate(new java.util.Date());
+ final Long sourcedate = (1000 * Long.parseLong("1793491658"));
+ xmpBasic.setMetadataDate(new java.util.Date(sourcedate));
if (getUserAgent().getCreationDate() != null) {
xmpBasic.setCreateDate(getUserAgent().getCreationDate());
} else {
Obviously hard-coding this is the wrong way to fix this (well, it is
reproducible!), but adjusting it to use SOURCE_DATE_EPOCH like in the
earlier
debian/patches/0001-PDFInfo.java-Support-SOURCE_DATE_EPOCH-environment-v.patch
should hopefully do the trick? I struggle a bit with the Java code
necessary to pull this off myself, but at least identified *where* in
the code it needed to be fixed.
Other packages using fop to generate PDFs seem to mostly be working even
without this:
https://tests.reproducible-builds.org/debian/issues/unstable/timestamps_in_pdf_generated_by_apache_fop_issue.html
live well,
vagrant
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: fop
Source-Version: 1:2.10+dfsg1-3
Done: Juan Manuel Méndez Rey <[email protected]>
We believe that the bug you reported is fixed in the latest version of
fop, 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.
Juan Manuel Méndez Rey <[email protected]> (supplier of updated fop
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: SHA512
Format: 1.8
Date: Sun, 01 Nov 2026 18:25:54 +0100
Source: fop
Architecture: source
Version: 1:2.10+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers
<[email protected]>
Changed-By: Juan Manuel Méndez Rey <[email protected]>
Closes: 1152747
Changes:
fop (1:2.10+dfsg1-3) unstable; urgency=medium
.
* Team upload.
* Also use SOURCE_DATE_EPOCH for the XMP metadata date set in
IFRenderer, so xmp:CreateDate is reproducible. Thanks to Vagrant
Cascadian for finding the place in the code (Closes: #1152747)
Checksums-Sha1:
3c74312209d8d947073de7511c72d112d87c3c54 2702 fop_2.10+dfsg1-3.dsc
7625728255deb7e882ab69de43571bc9367b3123 875008 fop_2.10+dfsg1-3.debian.tar.xz
6aac49689281d312621661500f99552f90962170 18445
fop_2.10+dfsg1-3_source.buildinfo
Checksums-Sha256:
d562532d62a7493006980a05809d29038a521cb68e9db2cba849173757edcc22 2702
fop_2.10+dfsg1-3.dsc
6572b2e8e6a16bd5a19ac28d87f6ea7e5b8a607a058e4ef820825e510bab30e1 875008
fop_2.10+dfsg1-3.debian.tar.xz
ec2766992191dfd61fe56b4980312f8f60460f34f187c78edc6fa4744ee7efc9 18445
fop_2.10+dfsg1-3_source.buildinfo
Files:
96b1d9efc1bfbcba6f25557a09749d93 2702 text optional fop_2.10+dfsg1-3.dsc
9da5bb4702e9e7ce74f09f1cb5e6f32b 875008 text optional
fop_2.10+dfsg1-3.debian.tar.xz
38229b173dd6c71b8609ed63e73e6893 18445 text optional
fop_2.10+dfsg1-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmro+IgACgkQ4n8s+EWM
L6QENg//a6tnoCtPv0t0pg2w4Cki+Xcwpe4Nhw6pMA8B1iZARXMqO2q9TS5+pnnZ
k6IsUU59BEjH57IdmfgAE7Vzmq88xjfIePvuf5lqdx/MHXXQUOXy6shmqINFl8iG
Ufo+oKs4DsuDGfT3MH2mKI7Oj0ZuYnCa2GOawJRzdtC6FBjuaQM6lgxmftw8aS45
ipWMxqtkFwyjOkRs97CQrauY+P+rdPmA3nUysZdh2y6uTirK1NlBFVOTqSfE6JNy
tUnj0evWvzLsoV3qzfMfVzq20Hx2RjHMNEL0sQwHClvpW6CYRwuUAEDqjsBLkhSM
GciDOXu/xYo9z4rROSqkgKLjsbp9T+VDek1EtDZpEpiSI1O4L1L8ys9+9F9uBPiB
SnJOZploDHz+Q033CM4Ty8ZGg5g3rz0k7itBR9jVwu6qeszYEtt6Dw5mmJWV1SeQ
yNFdv+DLGvPaqat8bKBcZ44hdA/CsOGjgMsuMiRMKzIBy1fkt6ai+bbUzYBPoEIg
umLlXMNtW7mzYgJycdRgrrol47Y2COKIZkaqw9g1UpHDKYmLxt5GMmxqjIlSRuI0
DxRtm/l9BLojivF5VSM3oJy76fQ+K8z4HjlvwihRPX3uzKD+UctDpUnSEfisoVvj
RceUqqZBe3D288Dt8gM7zqg/ja9p+96tHaPELo2zZfPWHw9FI34=
=LDaT
-----END PGP SIGNATURE-----
pgpPEIrfKPzfZ.pgp
Description: PGP signature
--- End Message ---