Package: html-xml-utils 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.5.0rc1&key=UNDEF_REF Full build log is available here: http://clang.debian.net/logs/2014-06-16/html-xml-utils_6.7-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 html-xml-utils.orig/html-xml-utils-6.7/debian/changelog html-xml-utils/html-xml-utils-6.7/debian/changelog --- html-xml-utils.orig/html-xml-utils-6.7/debian/changelog 2014-08-11 09:29:15.659988818 -0500 +++ html-xml-utils/html-xml-utils-6.7/debian/changelog 2014-08-11 10:00:08.196021079 -0500 @@ -1,3 +1,12 @@ +html-xml-utils (6.7-2) unstable; urgency=low + + * Fix FTBFS with clang + - Fixed undefined reference error in + types.c + types.e + + -- Arthur Marble <[email protected]> Mon, 11 Aug 2014 10:00:08 -0500 + html-xml-utils (6.7-1) unstable; urgency=medium * New upstream release. diff -Naur html-xml-utils.orig/html-xml-utils-6.7/debian/patches/clang-ftbfs.diff html-xml-utils/html-xml-utils-6.7/debian/patches/clang-ftbfs.diff --- html-xml-utils.orig/html-xml-utils-6.7/debian/patches/clang-ftbfs.diff 1969-12-31 18:00:00.000000000 -0600 +++ html-xml-utils/html-xml-utils-6.7/debian/patches/clang-ftbfs.diff 2014-08-11 09:57:48.424018645 -0500 @@ -0,0 +1,26 @@ +--- a/types.e ++++ b/types.e +@@ -27,8 +27,8 @@ + _Bool pairlist_unset(pairlist *p, const conststring name); + string strapp(string *s,...); + void chomp(string s); +- inline int min(int a, int b); +- inline int max(int a, int b); ++ int min(int a, int b); ++ int max(int a, int b); + string down(const string s); + _Bool hasprefix(conststring s, conststring prefix); + _Bool hasaffix(conststring s, conststring affix); +--- a/types.c ++++ b/types.c +@@ -154,8 +154,8 @@ EXPORT void chomp(string s) + } + } + +-EXPORT inline int min(int a, int b) { return a < b ? a : b; } +-EXPORT inline int max(int a, int b) { return a > b ? a : b; } ++EXPORT int min(int a, int b) { return a < b ? a : b; } ++EXPORT int max(int a, int b) { return a > b ? a : b; } + + /* down -- convert a string to lowercase, return pointer to arg */ + EXPORT string down(const string s) diff -Naur html-xml-utils.orig/html-xml-utils-6.7/debian/patches/series html-xml-utils/html-xml-utils-6.7/debian/patches/series --- html-xml-utils.orig/html-xml-utils-6.7/debian/patches/series 2014-08-11 09:29:15.659988818 -0500 +++ html-xml-utils/html-xml-utils-6.7/debian/patches/series 2014-08-11 09:32:48.171992518 -0500 @@ -1 +1,2 @@ 694460_fix_ftbfs_with_netcat_traditional.patch +clang-ftbfs.diff

