Bug#1014428: xmacro: reproducible-builds: embedded build paths in /usr/bin/xmacro*

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Jul 5 21:24:43 BST 2022


Source: xmacro
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 in /usr/bin:

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

  /usr/bin/xmacroplay

  /build/1st/xmacro-0.3pre-20000911/xmacroplay.cpp:472
  vs.
  /build/2/xmacro-0.3pre-20000911/2nd/xmacroplay.cpp:472

The attached patch fixes this by switching to using the debhelper's "dh"
command, which passes compiler flags to avoid embedding the build path
(e.g. -ffile-prefix-map).


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


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Switch-to-dh.patch
Type: text/x-diff
Size: 2329 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220705/1dd1c637/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/20220705/1dd1c637/attachment.sig>


More information about the Reproducible-bugs mailing list