Bug#1011034: fusesmb: reproducible-builds: embedded build paths in various binaries

Vagrant Cascadian vagrant at reproducible-builds.org
Sun May 15 20:56:34 BST 2022


Source: fusesmb
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 such as /usr/bin/fusesmb
and /usr/bin/fusesmb.cache:

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

  /build/1st/fusesmb-0.8.7/fusesmb.c:1003
  vs.
  /build/2/fusesmb-0.8.7/2nd/fusesmb.c:1003

The attached patch fixes this by passing -ffile-prefix-map to CFLAGS in
debian/rules.

Alternately, updating to "dh" build system and updating debhelper compat
level might also fix the issue.


With these patches applied, fusesmb should build reproducibly on
tests.reproducible-builds.org!


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


More information about the Reproducible-bugs mailing list