Bug#1020759: postal: reproducible-builds: Embedded build paths in binaries

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Sep 26 02:43:33 BST 2022


Source: postal
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:

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

  /usr/bin/postal-list

  /build/1st/postal-0.76+nmu1/expand.cpp:14·(discriminator·2)
  vs.
  /build/2/postal-0.76+nmu1/2nd/expand.cpp:14·(discriminator·2)

The attached patch to debian/rules fixes this by passing the default
CFLAGS to make.

Alternately, updating to use dh and a recent debhelper compat version
might also fix this.

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

Thanks for maintaining postal!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-default-CFLAGS-to-make.patch
Type: text/x-diff
Size: 811 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220925/0b926d77/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/20220925/0b926d77/attachment.sig>


More information about the Reproducible-bugs mailing list