Source: pdb2pqr
Version: 2.1.1+dfsg-6
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
pdb2pqr could not be built reproducibly. This is, in part, due to:

  -SRCPATH = "/build/1st/pdb2pqr-2.1.1+dfsg/"
  +SRCPATH = "/build/2/pdb2pqr-2.1.1+dfsg/2nd/"

… in aconf.py. Patch attached that replaces this path, which won't
exist at runtime anyway. This does not make the entire package
reproducible, unfortunately.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.patch   1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/reproducible-build.patch   2020-03-29 13:16:50.986437256 
+0100
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2020-03-29
+
+--- pdb2pqr-2.1.1+dfsg.orig/src/aconf.py.in
++++ pdb2pqr-2.1.1+dfsg/src/aconf.py.in
+@@ -53,7 +53,7 @@ PDB2PQR_VERSION = "@PDB2PQR_VERSION@"
+ MAXATOMS = @MAXATOMS@
+ 
+ """ The absolute path to root HTML directory"""
+-SRCPATH = "@srcpath@/"
++SRCPATH = "/nonexistent"
+ 
+ """ The path to the web site *directory* """
+ WEBSITE     = "@website@"
--- a/debian/patches/series     2020-03-29 13:11:16.555604968 +0100
--- b/debian/patches/series     2020-03-29 13:16:49.830427241 +0100
@@ -9,3 +9,4 @@
 python3_sundry.patch
 python3_scriptbang.patch
 use_pkg-config.patch
+reproducible-build.patch

Reply via email to