Package: abook Severity: minor Tags: patch User: pkg-llvm-t...@lists.alioth.debian.org 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/abook_0.6.0~pre2-3_unstable_clang.log Thanks, Arthur -- System Information: Debian Release: jessie/sid (unstable) Architecture: amd64 (x86_64) Kernel: Linux 3.13-1-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE="en_US.UTF-8" Shell: /bin/sh linked to /bin/dash Compiler: clang version 3.5.0 (trunk 214055)
diff -Naur abook.orig/abook-0.6.0~pre2/debian/changelog abook/abook-0.6.0~pre2/debian/changelog --- abook.orig/abook-0.6.0~pre2/debian/changelog 2014-07-30 12:00:26.209567307 -0500 +++ abook/abook-0.6.0~pre2/debian/changelog 2014-07-30 13:04:05.737633822 -0500 @@ -1,3 +1,11 @@ +abook (0.6.0~pre2-4) unstable; urgency=low + + * Fix FTBFS with clang + - Fixed undefined reference error + changed inline int field_id to int field_id + + -- Arthur Marble <art...@info9.net> Wed, 30 Jul 2014 13:04:05 -0500 + abook (0.6.0~pre2-3) unstable; urgency=low * Overlooked NMU done by Tim Retout while merging from experimental to diff -Naur abook.orig/abook-0.6.0~pre2/debian/patches/clang-ftbfs.diff abook/abook-0.6.0~pre2/debian/patches/clang-ftbfs.diff --- abook.orig/abook-0.6.0~pre2/debian/patches/clang-ftbfs.diff 1969-12-31 18:00:00.000000000 -0600 +++ abook/abook-0.6.0~pre2/debian/patches/clang-ftbfs.diff 2014-07-30 12:58:55.721628424 -0500 @@ -0,0 +1,11 @@ +--- a/database.h ++++ b/database.h +@@ -60,7 +60,7 @@ struct db_enumerator { + /* + * Field operations + */ +-inline int field_id(int i); ++static inline int field_id(int i); + abook_field *find_standard_field(char *key, int do_declare); + abook_field *real_find_field(char *key, abook_field_list *list, int *nb); + #define find_field(key, list) real_find_field(key, list, NULL) diff -Naur abook.orig/abook-0.6.0~pre2/debian/patches/series abook/abook-0.6.0~pre2/debian/patches/series --- abook.orig/abook-0.6.0~pre2/debian/patches/series 2014-07-30 12:00:26.209567307 -0500 +++ abook/abook-0.6.0~pre2/debian/patches/series 2014-07-30 12:01:09.645568064 -0500 @@ -1,2 +1,3 @@ 02_fix-manpage 03_datafile-f-switch +clang-ftbfs.diff