Package: zpspell Version: 0.4.2-4 User: debian-...@lists.debian.org Usertags: ftbfs-gcc-4.4 Tags: patch
Your package fails to build with GCC 4.4, which has cleaned up some more C++ headers. You always have to #include headers directly and cannot rely for things to be included indirectly. You can reproduce this problem with gcc-4.4/g++-4.4 from unstable. > Automatic build of zpspell_0.4.2-4 on em64t by sbuild/amd64 0.53 ... > [ 33%] Building CXX object CMakeFiles/zpspell.dir/zsconn.o > /usr/bin/g++ -g -O2 -g -Wall -O2 > -I/build/tbm/zpspell-0.4.2/obj-x86_64-linux-gnu -I/usr/include/dbus-1.0 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o > CMakeFiles/zpspell.dir/zsconn.o -c /build/tbm/zpspell-0.4.2/zsconn.cpp > /build/tbm/zpspell-0.4.2/zsconn.cpp: In constructor 'ZSConn::ZSConn()': > /build/tbm/zpspell-0.4.2/zsconn.cpp:26: error: 'perror' was not declared in > this scope > /build/tbm/zpspell-0.4.2/zsconn.cpp: In member function > 'std::vector<std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::allocator<std::basic_string<char, > std::char_traits<char>, std::allocator<char> > > > > ZSConn::getSuggestions(const std::string&) const': > /build/tbm/zpspell-0.4.2/zsconn.cpp:101: error: 'perror' was not declared in > this scope > make[3]: *** [CMakeFiles/zpspell.dir/zsconn.o] Error 1 --- zsconn.cpp~ 2009-05-18 10:01:18.000000000 +0000 +++ zsconn.cpp 2009-05-18 10:01:24.000000000 +0000 @@ -9,6 +9,7 @@ Please read the COPYING file. */ +#include <cstdio> #include <iostream> #include <glib.h> --- main.cpp~ 2009-05-18 10:01:39.000000000 +0000 +++ main.cpp 2009-05-18 10:01:48.000000000 +0000 @@ -15,6 +15,7 @@ #include <iostream> #include <getopt.h> +#include <cstdio> #include <cstring> #include "zstring.h" -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org