Question: Why are build timestamps embedded in generated JavaHelp files?
I found that Ghidra 12.1.4 is not bit-for-bit reproducible because the JavaHelp generators embed the current wall-clock time in generated files:
help/Base_HelpSet.hs
help/Base_map.xml
help/Base_TOC.xmlFor example, two otherwise identical builds produced:
-<!-- HelpSet auto-generated on Sun Sep 27 07:38:35 UTC 2026 -->
+<!-- HelpSet auto-generated on Sun Sep 27 07:57:23 UTC 2026 -->The timestamps are generated by the JavaHelp build code and are only present in comments.
This causes Nix's reproducibility check to return an error.
Is there any specific reason these generated files include the build timestamp? If the timestamp is useful for development/debugging, would there be any objection to making it reproducible (for example, by honoring SOURCE_DATE_EPOCH) rather than removing it?
I'm asking before proposing a change because I'd like to preserve whatever purpose the timestamp currently serves while avoiding nondeterministic build output.
Source: NationalSecurityAgency/ghidra