Source: lambda-align2
Version: 2.0.0-4
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

This is because the manpages embed the build-time number of CPUs. For example:

  -number of threads to run concurrently (ignored if a == skew7ext). In range 
[1..160]. Default: \fI16\fP.
  +number of threads to run concurrently (ignored if a == skew7ext). In range 
[1..150]. Default: \fI15\fP.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2019-01-27 08:46:08.070568672 +0100
--- b/debian/rules      2019-01-27 09:15:22.104204459 +0100
@@ -18,6 +18,8 @@
        dh $@ --builddirectory=build
 
 override_dh_installman:
+       sed -i -e 's@\(defaults to working directory\.\).*@\1@g' 
./debian/lambda-align2/usr/share/man/man1/*.1
+       sed -i -e 's@\(number of threads to run concurrently\.\).*@\1 Default: 
autodetected.@g' ./debian/lambda-align2/usr/share/man/man1/*.1
        sed -i 's/LAMBDA2 MKINDEXN/LAMBDA2_MKINDEXN/' 
./debian/lambda-align2/usr/share/man/man1/lambda2-mkindexn.1
        sed -i 's/^lambda2 mkindexn /lambda2_mkindexn /' 
./debian/lambda-align2/usr/share/man/man1/lambda2-mkindexn.1
        sed -i 's/LAMBDA2 MKINDEXP/LAMBDA2_MKINDEXP/' 
./debian/lambda-align2/usr/share/man/man1/lambda2-mkindexp.1

Reply via email to