Bug#1011036: mailfront: reproducible-builds: build path triggers differing buildid

Vagrant Cascadian vagrant at reproducible-builds.org
Sun May 15 21:44:42 BST 2022


Source: mailfront
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 triggers different buildid in /usr/lib/mailfront/*.so:

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

  ./usr/lib/mailfront/backend-echo.so

  ...NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»...Build·ID:·018da3a354a5af384c85c7ec0a93f96d596038bc
  vs.
  ...NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»...Build·ID:·9e821d0b9661312dde9181fc7619275241606d73

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.


There is another outstanding reproducibility issue(sort order of md5sum
files), but applying this patch should significantly reduce the
differences when tested on tests.reproducible-builds.org.


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: 722 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220515/30bd59bf/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/30bd59bf/attachment.sig>


More information about the Reproducible-bugs mailing list