Bug#1020889: libapache2-mod-auth-pgsql: reproducible-builds: Embedded build paths in mod_auth_pgsql.so

Vagrant Cascadian vagrant at reproducible-builds.org
Wed Sep 28 00:14:22 BST 2022


Source: libapache2-mod-auth-pgsql
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_pgsql.so:

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

  /build/1st/libapache2-mod-auth-pgsql-2.0.3/mod_auth_pgsql.c:298
  vs.
  /build/2/libapache2-mod-auth-pgsql-2.0.3/2nd/mod_auth_pgsql.c:298

The attached patch to the upstream Makefile debian/rules fixes this by
passing -ffile-prefix-map to apxs2.

According to my local tests, with this patch applied
libapache2-mod-auth-pgsql should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining libapache2-mod-auth-pgsql!

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


More information about the Reproducible-bugs mailing list