Bug#1029801: tbox: reproducible builds: timestamp embedded in tbox.config.h

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Jan 27 22:57:29 GMT 2023


Source: tbox
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 time is embedded in /usr/include/tbox/tbox.config.h:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/tbox.html

  /usr/include/tbox/tbox.config.h

  #define·TB_CONFIG_VERSION_BUILD·20240228
  vs.
  #define·TB_CONFIG_VERSION_BUILD·20230127

The attached patch to configure fixes this by calling date with
arguments to ensure a deterministic timestamp, falling back to the
default behavior.

According to my local tests, with this patch applied, tbox should
build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining tbox!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-Use-determistic-timestamp-from-SOURCE_DATE.patch
Type: text/x-diff
Size: 947 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230127/a34625b2/attachment.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/20230127/a34625b2/attachment.sig>


More information about the Reproducible-bugs mailing list