Bug#1011500: tuxcmd-modules: reproducible-builds: embedded build paths in various binaries

Vagrant Cascadian vagrant at reproducible-builds.org
Tue May 24 01:47:11 BST 2022


Source: tuxcmd-modules
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/lib:

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

  /usr/lib/tuxcmd/libarchive_plugin.so

  /build/1st/tuxcmd-modules-0.6.70+ds/libarchive/strutils.c:27
  vs.
  /build/2/tuxcmd-modules-0.6.70+ds/2nd/libarchive/strutils.c:27

The attached patch fixes this by adjusting various Makefiles to set
-ffile-prefix-map in CFLAGS, which avoids embedding the build path in
the compiled binaries.


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


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Support-passing-ffile-prefix-map-in-various-Makefile.patch
Type: text/x-diff
Size: 3010 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220523/722300a1/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/722300a1/attachment.sig>


More information about the Reproducible-bugs mailing list