Source: transdecoder
Version: 2.0.1+dfsg-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed that 
transdecoder could not be built reproducibly.

Patch attached.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible-build 2015-12-28 03:17:11.152591794 +0100
@@ -0,0 +1,16 @@
+--- transdecoder-2.0.1+dfsg.orig/util/cufflinks_gtf_to_bed.pl
++++ transdecoder-2.0.1+dfsg/util/cufflinks_gtf_to_bed.pl
+@@ -68,11 +68,11 @@ main: {
+ 
+               my $genes_href = $genome_trans_to_coords{$scaff};
+ 
+-              foreach my $gene_id (keys %$genes_href) {
++              foreach my $gene_id (sort keys %$genes_href) {
+ 
+                       my $trans_href = $genes_href->{$gene_id};
+ 
+-                      foreach my $trans_id (keys %$trans_href) {
++                      foreach my $trans_id (sort keys %$trans_href) {
+ 
+                               my $coords_href = $trans_href->{$trans_id};
+ 
--- a/debian/patches/series     2015-12-28 03:15:02.514567260 +0100
--- b/debian/patches/series     2015-12-28 03:17:07.500534389 +0100
@@ -1,2 +1,3 @@
 cd-hit-est-rename
 fix-whatis
+reproducible-build

Reply via email to