Package: gnokii 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.5.0rc1&key=UNDEF_REF Full build log is available here: http://clang.debian.net/logs/2014-06-16/gnokii_0.6.30+dfsg-1_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 gnokii.orig/gnokii-0.6.30+dfsg/debian/changelog gnokii/gnokii-0.6.30+dfsg/debian/changelog --- gnokii.orig/gnokii-0.6.30+dfsg/debian/changelog 2014-08-08 14:22:43.037958461 -0500 +++ gnokii/gnokii-0.6.30+dfsg/debian/changelog 2014-08-08 14:37:06.069973491 -0500 @@ -1,3 +1,10 @@ +gnokii (0.6.30+dfsg-2) unstable; urgency=low + + * Fix FTBFS with clang + - Fixed undefined reference error + + -- Arthur Marble <art...@info9.net> Fri, 08 Aug 2014 14:37:06 -0500 + gnokii (0.6.30+dfsg-1) unstable; urgency=low * new upstream release diff -Naur gnokii.orig/gnokii-0.6.30+dfsg/debian/patches/clang-ftbfs.diff gnokii/gnokii-0.6.30+dfsg/debian/patches/clang-ftbfs.diff --- gnokii.orig/gnokii-0.6.30+dfsg/debian/patches/clang-ftbfs.diff 1969-12-31 18:00:00.000000000 -0600 +++ gnokii/gnokii-0.6.30+dfsg/debian/patches/clang-ftbfs.diff 2014-08-08 14:33:46.173970009 -0500 @@ -0,0 +1,14 @@ +--- a/include/config.h ++++ b/include/config.h +@@ -410,6 +410,11 @@ + /* #undef inline */ + #endif + ++/* If using clang define inline as empty for compatibility. */ ++#ifdef __clang__ ++#define inline ++#endif ++ + /* Define to `int' if <sys/types.h> does not define. */ + /* #undef pid_t */ + diff -Naur gnokii.orig/gnokii-0.6.30+dfsg/debian/patches/series gnokii/gnokii-0.6.30+dfsg/debian/patches/series --- gnokii.orig/gnokii-0.6.30+dfsg/debian/patches/series 2014-08-08 14:22:43.037958461 -0500 +++ gnokii/gnokii-0.6.30+dfsg/debian/patches/series 2014-08-08 14:23:28.881959260 -0500 @@ -1,2 +1,3 @@ change_configfile_order.patch debian-changes-0.6.30+dfsg-1 +clang-ftbfs.diff