Bug#866330: cd-hit: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Jun 28 21:25:33 UTC 2017
Source: cd-hit
Version: 4.6.7-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that cd-hit could not be built reproducibly.
This is because the help2man call to cd-hit-div fails as it does not
support --help argument, and the error message contains the absolute
build path.
Patch attached. It adds a very basic "usage" stanza, thus fixing both
issues at once.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb, Debian Project Leader
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/patches/enable_help2man.patch 2017-06-28 22:02:55.736716965 +0100
--- b/debian/patches/enable_help2man.patch 2017-06-28 22:18:48.946156579 +0100
+--- cd-hit-4.6.7.orig/cd-hit-div.pl
++++ cd-hit-4.6.7/cd-hit-div.pl
+@@ -4,6 +4,11 @@
+ #or throw away seq
+
+ $in = shift; $in or die "no input file";
++if ($in eq "--help") {
++ print "Usage: $0 IN OUT DIV\n\n";
++ print "Divide a FASTA file into pieces.\n";
++ exit;
++}
+ $out = shift; $out or die "no output file";
+ $div = shift; $div or die "no div number";
+
More information about the Reproducible-bugs
mailing list