Bug#1014564: tvtime: reproducible-builds: embedded build paths in /usr/bin/tvtime

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Jul 8 00:42:53 BST 2022


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

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

  /build/1st/tvtime-1.0.11/src/speedy.c:1933
  vs.
  /build/2/tvtime-1.0.11/2nd/src/speedy.c:1933

The attached patch fixes this by switching to using debhelper compat 13
and debhelper's "dh" command, which passes compiler flags to avoid
embedding the build path (e.g. -ffile-prefix-map), and avoids embedding
differing buildids via rpath (even though rpath is later stripped).


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


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


More information about the Reproducible-bugs mailing list