Package: stardict Version: 3.0.1-4.1 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-snapshot from unstable or gcc-4.4 from experimental. > Automatic build of stardict_3.0.1-4.1 on em64t by sbuild/amd64 0.53 ... > x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/sigc++-2.0 > -I/usr/lib/sigc++-2.0/include -Wall -D_REENTRANT -pthread > -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 > -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT data.o > -MD -MP -MF .deps/data.Tpo -c -o data.o data.cpp > data.cpp: In destructor 'DictBase::~DictBase()': > data.cpp:39: error: 'fclose' was not declared in this scope > data.cpp: In member function 'gchar* DictBase::GetWordData(guint32, guint32)': > data.cpp:49: error: 'fseek' was not declared in this scope > data.cpp:56: error: 'fread' was not declared in this scope > data.cpp:173: error: 'fread' was not declared in this scope > data.cpp: In member function 'bool > DictBase::SearchData(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> > > >&, guint32, guint32, gchar*)': > data.cpp:195: error: 'fseek' was not declared in this scope > data.cpp:197: error: 'fread' was not declared in this scope > make[4]: *** [data.o] Error 1 > make[4]: Leaving directory `/build/tbm/stardict-3.0.1/src/lib' --- src/lib/data.cpp~ 2009-04-29 16:45:22.000000000 +0000 +++ src/lib/data.cpp 2009-04-29 16:45:31.000000000 +0000 @@ -25,6 +25,7 @@ #include "data.hpp" #include "getuint32.h" +#include <cstdio> #include <cstring> DictBase::DictBase() --- src/lib/stardict_client.cpp~ 2009-04-29 16:46:40.000000000 +0000 +++ src/lib/stardict_client.cpp 2009-04-29 16:46:48.000000000 +0000 @@ -29,6 +29,7 @@ #include "getuint32.h" #include "stardict_client.hpp" +#include <cstdio> #include <cstdlib> #include <cstring> -- 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