Kurt Roeckx wrote:
Package: pdns
Version: 2.9.17-4
Severity: serious
Tags: sid

Hi,

Your package is failing to build on a few arches with the
following error:
 ia64-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -D_GNU_SOURCE -Wall -g -O2 -Wal
l -O2 -c ldapbackend.cc -MT ldapbackend.lo -MD -MP -MF .deps/ldapbackend.TPlo
-fPIC -DPIC -o .libs/ldapbackend.o
In file included from ldapbackend.hh:30,
                 from ldapbackend.cc:1:
../../pdns/dnspacket.hh: In member function `int DNSPacket::parse(const char*,
   int)':
../../pdns/dnspacket.hh:305: error: ambiguous overload for 'operator<<' in '
   (+(+(+(+(+(+theL((&string("",
   (&allocator<char>())))))->Logger::operator<<(Logger::Warning))->Logger::oper
ator<<((&string("Ignoring
   packet: question too short from ",
   (&allocator<char>())))))->Logger::operator<<((&DNSPacket::getRemote()
   const())))->Logger::operator<<((&string(", offset ",
   (&allocator<char>())))))->Logger::operator<<((offset +
   15)))->Logger::operator<<((&string(">=", (&allocator<char>())))) << (this +
   88)->std::basic_string<_CharT, _Traits, _Alloc>::length [with _CharT = char,
   _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]()'
../../pdns/logger.hh:111: error: candidates are: Logger&
   Logger::operator<<(const std::string&) <near match>
../../pdns/logger.hh:112: error:                 Logger&
   Logger::operator<<(int)
../../pdns/logger.hh:113: error:                 Logger&
   Logger::operator<<(unsigned int)
make[3]: *** [ldapbackend.lo] Error 1



Kurt


Yes i know,

Do you have access to a alpha, ia64 or a s390 ? I can't test the builds
if i provide a patch.

I think it's a problem in libstdc++ that doesn't implement to push a
64bit integer to a iostream (that's what i investigated until now)

Matthijs Mohlmann

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to