Bug#1021498: tcm: reproducible-builds: build path embedded in /usr/bin/tcm
Vagrant Cascadian
vagrant at reproducible-builds.org
Sun Oct 9 17:48:27 BST 2022
Source: tcm
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 /usr/bin/tcm:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/tcm.html
/build/1st/tcm-2.20+TSQD/src/ed/helper.c:31·(discriminator·2)
vs.
/build/2/tcm-2.20+TSQD/2nd/src/ed/helper.c:31·(discriminator·2)
The attached patch to debian/rules fixes this by adding
-ffile-prefix-map to CFLAGS.
Alternately, using the default CFLAGS from dpkg-buildflags or switching
to "dh" and a recent debhelper compat level might resolve this issue.
According to my local tests, with this patch applied, tcm should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining tcm!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Add-ffile-prefix-map-to-CFLAGS-to-avoid.patch
Type: text/x-diff
Size: 735 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221009/3f2a65ca/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/20221009/3f2a65ca/attachment.sig>
More information about the Reproducible-bugs
mailing list