Bug#1011469: transcalc: reproducible-builds: embedded build paths in /usr/bin/transcalc

Vagrant Cascadian vagrant at reproducible-builds.org
Mon May 23 17:37:28 BST 2022


Source: transcalc
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/transcalc:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/transcalc.html

  /build/1st/transcalc-0.14/src/transcalc.c:214
  vs.
  /build/2/transcalc-0.14/2nd/src/transcalc.c:214

The attached patch fixes this by explicitly passing CFLAGS to
dh_auto_build in debian/rules, which includes the -ffile-prefix-map
argument to avoid embedding the absolute path in compiled files.


With this patch applied, transcalc should build reproducibly on
tests.reproducible-builds.org!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Explicitly-pass-CFLAGS-to-dh_auto_build.patch
Type: text/x-diff
Size: 732 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220523/21510fde/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/20220523/21510fde/attachment.sig>


More information about the Reproducible-bugs mailing list