Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1149138
| From | Vagrant Cascadian <vagrant@reproducible-builds.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1037269: freetds: reproducible-builds: time derived build number embedded in documentation |
| Date | 2023-06-10 00:00 +0200 |
| Message-ID | <GESjf-eODp-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Source: freetds Severity: normal Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org A build number derived from the build time is embedded in various /usr/share/doc/freetds-doc/reference/*_source.html files: https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/freetds.html #define·TDS_VERSION_BUILD_NUMBER·856 vs. #define·TDS_VERSION_BUILD_NUMBER·1256 The attached patch to configure.ac fixes this by instead using the value of SOURCE_DATE_EPOCH for the BUILD_NUMBER if it is set, and falling back to the default behavior if it is not set. Alternately, I tried instead passing --date=@$SOURCE_DATE_EPOCH to the various date calls, but for some reason that was not sufficient. According to my local tests, with this patch applied freetds should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining freetds! live well, vagrant
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#1037269: freetds: reproducible-builds: time derived build number embedded in documentation Vagrant Cascadian <vagrant@reproducible-builds.org> - 2023-06-10 00:00 +0200
csiph-web