Bug#983902: sendmail: reproducible builds: embeds build path in site.config.m4 documentation files

Vagrant Cascadian vagrant at reproducible-builds.org
Wed Mar 3 02:40:08 GMT 2021


Source: sendmail
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 the site.config.m4 files shipped in the
documentation of sendmail-doc and sendmail-base packages:

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

  /usr/share/doc/sendmail-base/site.config.m4.gz

  define(`confOPTIMIZE',··`-g·-O2·-ffile-prefix-map=/build/1st/sendmail-8.15.2=.·-fstack-pro..
  vs.
  define(`confOPTIMIZE',··`-g·-O2·-ffile-prefix-map=/build/2/sendmail-8.15.2/2nd=.·-fstack-pro...


The attached patch fixes this by replacing the build path with
"BUILDPATH" in debian/rules before installing the documentation.

With this patch applied, sendmail should become reproducible.


Thanks for maintaining sendmail!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Avoid-embedding-the-build-path-in-site..patch
Type: text/x-diff
Size: 1138 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210302/9ca9715c/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/20210302/9ca9715c/attachment.sig>


More information about the Reproducible-bugs mailing list