Package: ampliconnoise
Severity: minor
Usertags: clang-ftbfs
User: [email protected]
Tag: patch


Hello,

Using the rebuild infrastructure, your package fails to build with clang 
(instead of gcc).

Thanks,
Arthur
diff -Naur ampliconnoise.orig/ampliconnoise-1.29/debian/changelog ampliconnoise/ampliconnoise-1.29/debian/changelog
--- ampliconnoise.orig/ampliconnoise-1.29/debian/changelog	2014-02-24 18:46:04.952100226 -0600
+++ ampliconnoise/ampliconnoise-1.29/debian/changelog	2014-02-24 19:01:17.160116111 -0600
@@ -1,3 +1,12 @@
+ampliconnoise (1.29-2) unstable; urgency=low
+
+  * Fix the FTBFS with clang:
+    - Fixed the non-void function should return a value in
+      FCluster/FCluster.c
+      SplitClusterEven/SplitClusterEven.c
+
+ -- Arthur Marble <[email protected]>  Mon, 24 Feb 2014 19:01:09 -0600
+
 ampliconnoise (1.29-1) unstable; urgency=medium
 
   * New upstream version
diff -Naur ampliconnoise.orig/ampliconnoise-1.29/debian/patches/clang-ftbfs.diff ampliconnoise/ampliconnoise-1.29/debian/patches/clang-ftbfs.diff 
--- ampliconnoise.orig/ampliconnoise-1.29/debian/patches/clang-ftbfs.diff	1969-12-31 18:00:00.000000000 -0600
+++ ampliconnoise/ampliconnoise-1.29/debian/patches/clang-ftbfs.diff	2014-02-24 18:59:21.272114093 -0600
@@ -0,0 +1,31 @@
+--- a/FCluster/FCluster.c
++++ b/FCluster/FCluster.c
+@@ -857,7 +857,7 @@ int outputCluster(t_Params *ptParams, t_
+   free(anIndex); 
+   free(szOtuFile);
+   free(szListFile);
+-  return;
++  return 0;
+   
+ }
+ 
+--- a/SplitClusterEven/SplitClusterEven.c
++++ b/SplitClusterEven/SplitClusterEven.c
+@@ -375,7 +375,7 @@ double maxDepth(t_Node* ptTree, double*
+     maxDepth(ptTree->ptLeft, pdDepth);
+   }
+ 
+-  return;
++  return 0;
+ }
+ 
+ double setDepth(t_Node* ptTree, double dDepth)
+@@ -390,7 +390,7 @@ double setDepth(t_Node* ptTree, double d
+     setDepth(ptTree->ptRight, dDepth + ptTree->dRight);
+   }
+ 
+-  return;
++  return 0;
+ }
+ 
+ void writeIndices(t_Node* ptTree, FILE* ofp)
diff -Naur ampliconnoise.orig/ampliconnoise-1.29/debian/patches/series ampliconnoise/ampliconnoise-1.29/debian/patches/series
--- ampliconnoise.orig/ampliconnoise-1.29/debian/patches/series	2014-02-24 18:46:04.952100226 -0600
+++ ampliconnoise/ampliconnoise-1.29/debian/patches/series	2014-02-24 18:55:02.360109584 -0600
@@ -1,3 +1,4 @@
 fix-path-for-data.patch
 fix-segfault-on-non-fasta-input.patch
 hardening.patch
+clang-ftbfs.diff

Reply via email to