Package: taopm 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=WRONG_MAIN_DECLARATION Full build log is available here: http://clang.debian.net/logs/2014-06-16/taopm_1.0-3_unstable_clang.log Thanks, Arthur -- System Information: Debian Release: jessie/sid (unstable) Architecture: amd64 (x86_64) Kernel: Linux 3.15-trunk-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 213365)
diff -Naur taopm.orig/taopm-1.0/debian/changelog taopm/taopm-1.0/debian/changelog --- taopm.orig/taopm-1.0/debian/changelog 2014-07-17 08:57:20.066794118 -0500 +++ taopm/taopm-1.0/debian/changelog 2014-07-18 08:42:39.287206815 -0500 @@ -1,3 +1,13 @@ +taopm (1.0-4) unstable; urgency=low + + * Fix FTBFS with clang + - Fixed "C++ requires a type specifier for all declarations" error in + tao2aiff/tao2aiff.cc + tao2wav/tao2wav.cc + taoparse/taoparser.yy + + -- Arthur Marble <art...@info9.net> Fri, 18 Jul 2014 08:42:39 -0500 + taopm (1.0-3) unstable; urgency=low * Depends on c++-compiler. This is needed because TAO generates temporary C++ diff -Naur taopm.orig/taopm-1.0/debian/patches/clang-ftbfs.diff taopm/taopm-1.0/debian/patches/clang-ftbfs.diff --- taopm.orig/taopm-1.0/debian/patches/clang-ftbfs.diff 1969-12-31 18:00:00.000000000 -0600 +++ taopm/taopm-1.0/debian/patches/clang-ftbfs.diff 2014-07-18 06:39:28.076175443 -0500 @@ -0,0 +1,61 @@ +Index: taopm-1.0/taoparse/taoparser.yy +=================================================================== +--- taopm-1.0.orig/taoparse/taoparser.yy ++++ taopm-1.0/taoparse/taoparser.yy +@@ -2947,7 +2947,7 @@ void UNINDENT(void) + indent[indentLevel*4]='\0'; + } + +-main(int argc, char **argv) ++int main(int argc, char **argv) + { + ++argv, --argc; /* skip over program name */ + if ( argc > 0 ) +@@ -2964,4 +2964,6 @@ main(int argc, char **argv) + std::cout.setf(std::ios::showpoint); + + yyparse(); ++ ++ return 0; + } +Index: taopm-1.0/tao2aiff/tao2aiff.cc +=================================================================== +--- taopm-1.0.orig/tao2aiff/tao2aiff.cc ++++ taopm-1.0/tao2aiff/tao2aiff.cc +@@ -29,7 +29,7 @@ + #include <cstring> + + +-main(int argc, char **argv) ++int main(int argc, char **argv) + { + char AIFFfilename[256]; + char infilename[256]; +@@ -160,6 +160,8 @@ main(int argc, char **argv) + // Free AFfileestup structure as we don't need it any more + + afFreeFileSetup(setup); ++ ++ return 0; + } + + //$Id: tao2aiff.cc,v 1.3 2000/01/05 00:24:05 tao Exp $ +Index: taopm-1.0/tao2wav/tao2wav.cc +=================================================================== +--- taopm-1.0.orig/tao2wav/tao2wav.cc ++++ taopm-1.0/tao2wav/tao2wav.cc +@@ -28,7 +28,7 @@ + #include <cstdlib> + #include <cstring> + +-main(int argc, char **argv) ++int main(int argc, char **argv) + { + char WAVfilename[256]; + char infilename[256]; +@@ -159,4 +159,5 @@ main(int argc, char **argv) + // Free AFfileestup structure as we don't need it any more + + afFreeFileSetup(setup); ++ return 0; + } diff -Naur taopm.orig/taopm-1.0/debian/patches/series taopm/taopm-1.0/debian/patches/series --- taopm.orig/taopm-1.0/debian/patches/series 2014-07-17 08:57:20.066794118 -0500 +++ taopm/taopm-1.0/debian/patches/series 2014-07-18 04:10:07.225962660 -0500 @@ -1,3 +1,4 @@ 01-add-missing-headers.diff 02-fix-parser-yyerror.diff 03-fix-shell-standard-out.diff +clang-ftbfs.diff