Bug#1036367: gcc-13: reproducible builds: build date and timestamps embedded in documentation

Vagrant Cascadian vagrant at reproducible-builds.org
Sat May 20 01:01:26 BST 2023


Source: gcc-13
Version: 13.1.0-2
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The build dates and timestamps are embedded in various files shipped in
documentation.

The attached patches fix this by adding SOURCE_DATE_EPOCH support to the
doxygen scripts used to generate the libstdc++ documentation, and by
adjusting debian/rules2 to remove the leftover _formulas.log files from
the generated package.

According to my local tests, applying these patches should allow gcc-13
to build reproducibly with stable build paths and
DEB_BUILD_OPTIONS="nocheck nolto nopgo".


Thanks for maintaining gcc-13!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Patch-libstdc-to-support-SOURCE_DATE_EPOCH-in-docume.patch
Type: text/x-diff
Size: 1869 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230519/a3623751/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules2-Remove-_formulas.log-files.patch
Type: text/x-diff
Size: 1063 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230519/a3623751/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230519/a3623751/attachment.sig>


More information about the Reproducible-bugs mailing list