Bug#1024290: xtb: reproducible builds: Embeds build time, username and hostname in various files:
Vagrant Cascadian
vagrant at reproducible-builds.org
Thu Nov 17 04:06:56 GMT 2022
Source: xtb
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: hostname timestamps username
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
The time, username and hostname are embedded in /usr/bin/xtb and
various other files:
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/xtb.html
/usr/bin/xtb
2022-11-12
vs.
2023-12-15
'pbuilder1 at ionos5-amd64'
vs.
'pbuilder2 at i-capture-the-hostname'
The attached patch fixes this by patching meson.build to use
SOURCE_DATE_EPOCH for the date, and set placeholder values for the user
and hostname.
According to my local tests, With this patch applied xtb should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining xtb!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-meson.build-Fix-reproducible-builds-by-using-SOURCE_.patch
Type: text/x-diff
Size: 1453 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221116/c6181224/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/20221116/c6181224/attachment.sig>
More information about the Reproducible-bugs
mailing list