Package: bbrun Severity: minor Tags: patch User: [email protected] Usertags: clang-ftbfs
Hello, Using the rebuild infrastructure, your package fails to build with clang (instead of gcc). Detected this kind of error: http://clang.debian.net/status.php?version=3.4.2&key=UNDEF_REF Full build log is available here: http://clang.debian.net/logs/2014-06-16/bbrun_1.6-6_unstable_clang.log Thanks, Arthur -- System Information: Debian Release: jessie/sid (unstable) Architecture: amd64 (x86_64) Kernel: Linux 3.14-2-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE="en_US.UTF-8" Shell: /bin/sh linked to /bin/dash Compiler: Debian clang version 3.5.0-+rc1-2 (tags/RELEASE_35/rc1) (based on LLVM 3.5.0)
diff -Naur bbrun.orig/bbrun-1.6/debian/changelog bbrun/bbrun-1.6/debian/changelog --- bbrun.orig/bbrun-1.6/debian/changelog 2014-08-04 15:06:16.603985541 -0500 +++ bbrun/bbrun-1.6/debian/changelog 2014-08-04 15:57:15.504038810 -0500 @@ -1,3 +1,11 @@ +bbrun (1.6-7) unstable; urgency=low + + * Fix FTBFS with clang + - Fixed undefined reference error in + wmgeneral/list.c + + -- Arthur Marble <[email protected]> Mon, 04 Aug 2014 15:57:15 -0500 + bbrun (1.6-6) unstable; urgency=low * debian/control: diff -Naur bbrun.orig/bbrun-1.6/patches/clang-ftbfs.diff bbrun/bbrun-1.6/patches/clang-ftbfs.diff --- bbrun.orig/bbrun-1.6/patches/clang-ftbfs.diff 1969-12-31 18:00:00.000000000 -0600 +++ bbrun/bbrun-1.6/patches/clang-ftbfs.diff 2014-08-04 15:56:20.340037850 -0500 @@ -0,0 +1,29 @@ +--- a/wmgeneral/list.c ++++ b/wmgeneral/list.c +@@ -38,7 +38,7 @@ Boston, MA 02111-1307, USA. */ + + /* Return a cons cell produced from (head . tail) */ + +-INLINE LinkedList* ++LinkedList* + list_cons(void* head, LinkedList* tail) + { + LinkedList* cell; +@@ -51,7 +51,7 @@ list_cons(void* head, LinkedList* tail) + + /* Return the length of a list, list_length(NULL) returns zero */ + +-INLINE int ++int + list_length(LinkedList* list) + { + int i = 0; +@@ -81,7 +81,7 @@ list_nth(int index, LinkedList* list) + + /* Remove the element at the head by replacing it by its successor */ + +-INLINE void ++void + list_remove_head(LinkedList** list) + { + if (!*list) return; diff -Naur bbrun.orig/bbrun-1.6/patches/series bbrun/bbrun-1.6/patches/series --- bbrun.orig/bbrun-1.6/patches/series 1969-12-31 18:00:00.000000000 -0600 +++ bbrun/bbrun-1.6/patches/series 2014-08-04 15:06:30.023985775 -0500 @@ -0,0 +1 @@ +clang-ftbfs.diff

