Danny Milosavljevic <dan...@scratchpost.org> skribis: > Also, newer PDF files have an RDF header specifying some extra information > in an XML-like format. For example there's an instance UUID (PDF/A specifies > that it's recommended to set this to an empty string), and a document UUID. > The latter again is time-based.
If it’s time-based, then the solution may be to honor SOURCE_DATE_EPOCH. I asked on #reproducible-builds (OFTC). A patch had been proposed upstream but rejected: http://bugs.ghostscript.com/show_bug.cgi?id=696765 See also <https://wiki.debian.org/ReproducibleBuilds/PdfGeneratedByGhostscript>. Ludo’.