Bug#1022130: tsdecrypt: reproducible-builds: build path embedded in various binaries
Vagrant Cascadian
vagrant at reproducible-builds.org
Thu Oct 20 18:35:06 BST 2022
Source: tsdecrypt
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
The build path is embedded in various binaries:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/tsdecrypt.html
/usr/bin/tsdecrypt_dvbcsa
/build/1st/tsdecrypt-10.0/tsdecrypt.c:948
vs.
/build/2/tsdecrypt-10.0/2nd/tsdecrypt.c:948
The attached patch to debian/rules fixes this by passing the default
CFLAGS to the two make invocations, which includes -ffile-prefix-map to
avoid embedding build paths.
According to my local tests, with this patch applied, and the patch
submitted in https://bugs.debian.org/829713, tsdecrypt should build
reproducibly on tests.reproducible-builds.org!
If it would be helpful, I would like to NMU with this patch and the
patch from #829713 in the near future in time for bookworm.
Thanks for maintaining tsdecrypt!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-debian-rules-Pass-default-CFLAGS.patch
Type: text/x-diff
Size: 878 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221020/4f80a7db/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/20221020/4f80a7db/attachment.sig>
More information about the Reproducible-bugs
mailing list