Source: python-pyramid
Version: 1.10.4+dfsg-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpaths
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
python-pyramid could not be built reproducibly.

This is because the help2man commands actually fail to execute
correctly and include build paths in their error message. This is
due to PYTHONPATH being set to the incorrect location.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2020-12-05 10:17:41.692633597 +0000
--- b/debian/rules      2020-12-05 10:43:47.202030285 +0000
@@ -19,8 +19,8 @@
 
 override_dh_installman:
        mkdir -p $(CURDIR)/debian/manpages3
+       export PYTHONPATH=$(CURDIR)/debian/python3-pyramid/usr/lib/$(shell 
py3versions -d)/dist-packages; \
        cd $(CURDIR)/debian/python3-pyramid/usr/bin; \
-       export PYTHONPATH=$(CURDIR); \
        set -x; \
        for file in *; do \
            help2man --version-string=$${pkgversion} \

Reply via email to