#1137018 - javacc5: please make the build reproducible (original) (raw)
Debian Bug report logs - #1137018
javacc5: please make the build reproducible
Reply or subscribe to this bug.
Display info messages
Report forwardedto debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> (src:javacc5 for {1137018}), reproducible-bugs@lists.alioth.debian.org (additional cc recipient for {1137018}):Bug#1137018; Package src:javacc5. (Mon, 18 May 2026 17:31:01 GMT) (full text, mbox, link).
Acknowledgement sentto "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, pkg-java-maintainers@lists.alioth.debian.org. (Mon, 18 May 2026 17:31:01 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: javacc5 Version: 5.0-11 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: nocheck X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that javacc5 could not be built reproducibly.
I think this is because the testsuite regenerates some documentation files, and therefore bumps the modification times of these files. This means that if the tests are skipped, these files will have a different timestamp and therefore the package is unreproducible.
A patch is attached that always sets these files to a fixed timestamp (SOURCE_DATE_EPOCH). This is easier than trying to save-and-restore the timestamp before and after the tests.
[0] https://reproducible-builds.org/
Regards,
--
,''. : :' : Chris Lamb . ' lamby@debian.org / chris-lamb.co.uk
`-
[javacc5.diff.txt (text/plain, attachment)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified:Wed Jun 17 20:14:38 2026; Machine Name:bembo
Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.