Package: pdns Version: 2.9.21.2-1 User: debian-...@lists.debian.org Usertags: ftbfs-gcc-4.4 Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. GCC 4.4 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. > Automatic build of pdns_2.9.21.2-1 on em64t by sbuild/amd64 0.53 ... > if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../.. -pthread > -D_GNU_SOURCE -Wall -g -O2 -Wall -O2 -MT rcpgenerator.o -MD -MP -MF > ".deps/rcpgenerator.Tpo" -c -o rcpgenerator.o `test -f > '../../rcpgenerator.cc' || echo './'`../../rcpgenerator.cc; \ > then mv -f ".deps/rcpgenerator.Tpo" ".deps/rcpgenerator.Po"; else rm -f > ".deps/rcpgenerator.Tpo"; exit 1; fi > ../../rcpgenerator.cc: In member function 'void > RecordTextReader::xfrTime(uint32_t&)': > ../../rcpgenerator.cc:55: error: 'sscanf' was not declared in this scope > ../../rcpgenerator.cc: In member function 'void > RecordTextWriter::xfrTime(const uint32_t&)': > ../../rcpgenerator.cc:337: error: 'snprintf' was not declared in this scope > ../../rcpgenerator.cc: In member function 'void > RecordTextWriter::xfrHexBlob(const std::string&)': > ../../rcpgenerator.cc:389: error: 'snprintf' was not declared in this scope > make[5]: *** [rcpgenerator.o] Error 1 --- pdns/rcpgenerator.cc~ 2009-01-04 08:58:06.000000000 +0000 +++ pdns/rcpgenerator.cc 2009-01-04 08:58:12.000000000 +0000 @@ -20,6 +20,7 @@ #include "dnsparser.hh" #include "misc.hh" #include <boost/lexical_cast.hpp> +#include <cstdio> #include <iostream> #include "base64.hh" using namespace boost; --- pdns/dnsparser.cc~ 2009-01-04 08:58:28.000000000 +0000 +++ pdns/dnsparser.cc 2009-01-04 08:58:39.000000000 +0000 @@ -19,6 +19,7 @@ #include "dnsparser.hh" #include "dnswriter.hh" #include <boost/lexical_cast.hpp> +#include <cstdio> using namespace boost; -- 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