Bug#1011503: libapache2-mod-auth-plain: reproducible-builds: embedded build paths in mod_auth_plain.so

Vagrant Cascadian vagrant at reproducible-builds.org
Tue May 24 03:04:00 BST 2022


Source: libapache2-mod-auth-plain
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
/usr/lib/apache2/modules/mod_auth_plain.so:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/libapache2-mod-auth-plain.html

  /build/1st/libapache2-mod-auth-plain-2.0.52/mod_auth_plain.c:300
  vs.
  /build/2/libapache2-mod-auth-plain-2.0.52/2nd/mod_auth_plain.c:300

The attached patch fixes this by adjusting the Makefile to pass
-ffile-prefix-map to apxs, which avoids embedding the build path in
compiled files.


With this patch applied, libapache2-mod-auth-plain should build
reproducibly on tests.reproducible-builds.org!


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


More information about the Reproducible-bugs mailing list