Package: lastfm Version: 1:1.1.3.0-1 Usertags: ftbfs-gcc-4.3 Tags: patch Your package fails to build with GCC 4.3. Version 4.3 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. In GCC 4.3, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). Some background of this can be found at http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot (20070326-1 or higher) from unstable. (Currently not available for i386, but for amd64, powerpc and ia64. I hope to have i386 binaries in the archive in the near future.) > Automatic build of lastfm_1:1.1.3.0-1 on em64t by sbuild/amd64 0.53 ... > from appinfo.cpp:25: > /usr/include/qt4/QtGui/qimage.h: In member function 'bool > QImageTextKeyLang::operator<(const QImageTextKeyLang&) const': > /usr/include/qt4/QtGui/qimage.h:56: warning: suggest parentheses around && > within || > g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG_STREAM -DQT_NO_DEBUG > -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB > -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore > -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork > -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui > -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml > -I/usr/include/qt4 -I. -Ilib -IlibLastFMTools -Ibuild -Ibuild -o > build/versionnumber.o versionnumber.cpp > versionnumber.cpp: In member function 'void > CVersionNumber::ParseVersionString(const std::string&)': > versionnumber.cpp:74: error: 'atoi' was not declared in this scope > make[2]: *** [build/versionnumber.o] Error 1 > make[2]: Leaving directory `/build/tbm/lastfm-1.1.3.0/src' --- src/versionnumber.cpp~ 2007-05-04 08:20:53.000000000 +0000 +++ src/versionnumber.cpp 2007-05-04 08:20:59.000000000 +0000 @@ -21,6 +21,7 @@ #include "versionnumber.h" +#include <cstdlib> #include <sstream> using namespace std; After fixing this, the package fails with: playercommandparser.cpp: In member function 'void CPlayerCommandParser::Parse(const std::string&, CPlayerCommand&)': playercommandparser.cpp:56: error: no matching function for call to 'CPlayerCommandParser::ParseArgs(std::string&, int&)' playercommandparser.h:71: note: candidates are: void CPlayerCommandParser::ParseArgs(std::string&, std::map<char, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<char>, std::allocator<std::pair<const char, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&) playercommandparser.cpp: In member function 'void CPlayerCommandParser::ParseArgs(std::string&, std::map<char, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<char>, std::allocator<std::pair<const char, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&)': ... but please fix the header inclusion for now. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]