Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
rocm-docs-core could not be built reproducibly.
This is because it embeds the timestamps of various files based on
their modification times into the documentation.
A patch is attached that will prefer SOURCE_DATE_EPOCH if this variable
is available. This should almost certainly be merged into your existing
debian/patches/0003-Don-t-fail-if-not-in-git-repo.patch patch, but I
thought it would be easier to read and review here if I did that already.
[0] https://reproducible-builds.org/
Regards,