Bug#977001: blitz++: reproducible builds: build time embedded in bzconfig.h

Vagrant Cascadian vagrant at reproducible-builds.org
Wed Dec 9 21:48:23 GMT 2020


Source: blitz++
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 file /usr/include/blitz/gnu/bzconfig.h contains an embedded timestamp:

  https://tests.reproducible-builds.org/debian/rb-pkg/buster/amd64/diffoscope-results/blitz++.html

  421 #define·BZ__config_date·"Sun·Dec··6·02:21:14·-12·2020"·	421 #define·BZ__config_date·"Sun·Jan··9·11:08:27·+14·2022"·


The attached patch fixes this by patching to use the SOURCE_DATE_EPOCH
environment variable to set the value for DATE.

  https://reproducible-builds.org/docs/source-date-epoch/

The patch relies on gnu date extensions/syntax (--utc, --date) and may
need further work to make it portable across multiple date
implementations for upstream.


Thanks for maintaining blitz++


live well,
  vagrant

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-patches-Patch-to-use-SOURCE_DATE_EPOCH-to-set.patch
Type: text/x-diff
Size: 2162 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20201209/4141c362/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/debian-science-maintainers/attachments/20201209/4141c362/attachment.sig>


More information about the debian-science-maintainers mailing list