Package: eztrace
Severity: minor
Usertags: clang-ftbfs
User: pkg-llvm-t...@lists.alioth.debian.org
Tag: patch


Hello,

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

Thanks,
Arthur
diff -Naur eztrace.orig/eztrace-0.9.1/debian/changelog eztrace/eztrace-0.9.1/debian/changelog 
--- eztrace.orig/eztrace-0.9.1/debian/changelog	2014-03-16 15:48:07.815404925 -0500
+++ eztrace/eztrace-0.9.1/debian/changelog	2014-03-29 17:50:11.605968176 -0500
@@ -1,3 +1,12 @@
+eztrace (0.9.1-6) unstable; urgency=low
+
+  * Fix FTBFS with clang
+    - Fixed the conflicting types error in
+      src/core/eztrace_convert_core.c: moved a function above before where it is
+      called.
+  
+ -- Arthur Marble <art...@info9.net>  Sat, 29 Mar 2014 17:50:11 -0500
+
 eztrace (0.9.1-5) unstable; urgency=low
 
   * control: Replace binutils-dev build-dependency with libiberty-dev for
diff -Naur eztrace.orig/eztrace-0.9.1/debian/patches/clang-ftbfs.diff eztrace/eztrace-0.9.1/debian/patches/clang-ftbfs.diff 
--- eztrace.orig/eztrace-0.9.1/debian/patches/clang-ftbfs.diff	1969-12-31 18:00:00.000000000 -0600
+++ eztrace/eztrace-0.9.1/debian/patches/clang-ftbfs.diff	2014-03-29 17:55:11.309973395 -0500
@@ -0,0 +1,28 @@
+--- a/src/core/eztrace_convert_core.c
++++ b/src/core/eztrace_convert_core.c
+@@ -824,6 +824,12 @@ void* handle_event_thread(void* arg)
+   return NULL;
+ }
+ 
++
++void wait_for_main_thread()
++{
++  sem_wait(&main_thread_sem);
++}
++
+ static int __handle_event_generic(struct fxt_ev_64 *ev)
+ {
+   /* initialize stuff */
+@@ -1028,12 +1034,6 @@ void wait_for_an_event(int trace_index,
+   p_thread->to_be_killed = 1;
+ }
+ 
+-void wait_for_main_thread()
+-{
+-  sem_wait(&main_thread_sem);
+-}
+-
+-
+ void new_handler_thread()
+ {
+   DECLARE_CUR_THREAD(p_thread);
diff -Naur eztrace.orig/eztrace-0.9.1/debian/patches/series eztrace/eztrace-0.9.1/debian/patches/series 
--- eztrace.orig/eztrace-0.9.1/debian/patches/series	2014-03-16 15:48:07.815404925 -0500
+++ eztrace/eztrace-0.9.1/debian/patches/series	2014-03-16 15:48:50.979405677 -0500
@@ -8,3 +8,4 @@
 pptrace-option
 libdir
 static-bfd
+clang-ftbfs.diff

Reply via email to