Bug#1020815: libapache2-mod-python: reproducible-builds: Embedded build paths in mod_python.so

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Sep 27 02:45:19 BST 2022


Source: libapache2-mod-python
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_python.so

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

  /build/1st/libapache2-mod-python-3.5.0+git20211031.e6458ec/src/util.c:339
  vs.
  /build/2/libapache2-mod-python-3.5.0+git20211031.e6458ec/2nd/src/util.c:339

The attached patch to debian/rules fixes this by adding a dh_auto_build
override which passes -ffile-prefix-map via APXSFLAGS.

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

Thanks for maintaining libapache2-mod-python!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Add-dh_auto_build-override-to-pass-ffil.patch
Type: text/x-diff
Size: 895 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220926/055c1398/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/20220926/055c1398/attachment.sig>


More information about the Reproducible-bugs mailing list