Bug#1020650: tmpreaper: reproducible-builds: Embedded build path in /usr/sbin/tmpreaper

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Sep 24 21:18:00 BST 2022


Source: tmpreaper
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/sbin/tmpreaper:

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

  /build/1st/tmpreaper-1.6.17/tmpreaper.c:752
  vs.
  /build/2/tmpreaper-1.6.17/2nd/tmpreaper.c:752

The attached patch fixes this by passing the -ffile-prefix-map argument
via CFLAGS in debian/rules. Another option that *might* fix this and
other issues would be to fully switch to dh and a recent debhelper
compat level.


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


Thanks for maintaining tmpreaper!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-ffile-prefix-map-via-CFLAGS-to-avo.patch
Type: text/x-diff
Size: 910 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220924/2b7cad88/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/20220924/2b7cad88/attachment.sig>


More information about the Reproducible-bugs mailing list