[Pkg-scicomp-devel] Bug#568620: life - FTBFS: error: ambiguous overload for 'operator<<'

Bastian Blank waldi at debian.org
Sat Feb 6 08:49:59 UTC 2010


Source: life
Version: 0.9.18-1
Severity: serious

There was an error while trying to autobuild your package:

> sbuild (Debian sbuild) 0.59.1 (24 Jan 2010) on debian-31.osdl.marist.edu
[...]
> [  1%] Building CXX object life/lifecore/CMakeFiles/lifecore.dir/application.cpp.o
> cd /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/obj-s390-linux-gnu/life/lifecore && /usr/bin/g++   -Dlifecore_EXPORTS -DHAVE_MPI=1 -DHAVE_MPI_H=1 -DBOOST_PARAMETER_MAX_ARITY=15 -DBOOST_TEST_DYN_LINK -DHAVE_METIS_H=1 -DHAVE_PETSC -DHAVE_PETSC_H -DHAVE_GMSH=1 -O3 -DNDEBUG -fPIC -I/usr/include/metis -I/build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/obj-s390-linux-gnu -I/build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18 -I/build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/contrib/gmm/include -I/usr/lib/slepcdir/3.0.0/include -I/usr/lib/petscdir/3.0.0/include -I/usr/include/vtk-5.4 -I/usr/lib/lam/include -I/usr/include/tcl8.5 -I/usr/include/python2.5 -I/usr/lib/jvm/default-java/include -I/usr/include/libxml2 -I/usr/include/freetype2   -o CMakeFiles/lifecore.dir/application.cpp.o -c /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/application.cpp
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/application.cpp: In member function 'char** Life::Application::unknownArgv() const':
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/application.cpp:370: error: ambiguous overload for 'operator<<' in '((Life::DebugStream*)((Life::DebugStream*)Life::Debug(int, int (*)(const char*, ...))(0u).Life::DebugStream::operator<<(((const char*)"new arg ")))->Life::DebugStream::operator<<(((const std::string&)((const std::string*)s))))->Life::DebugStream::operator<<(((const char*)" size = ")) << ((const std::string*)s)->std::basic_string<_CharT, _Traits, _Alloc>::size [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]()'
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:134: note: candidates are: Life::DebugStream& Life::DebugStream::operator<<(bool)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:135: note:                 Life::DebugStream& Life::DebugStream::operator<<(Life::int16_type)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:136: note:                 Life::DebugStream& Life::DebugStream::operator<<(Life::int32_type)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:137: note:                 Life::DebugStream& Life::DebugStream::operator<<(Life::int64_type)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:138: note:                 Life::DebugStream& Life::DebugStream::operator<<(Life::uint16_type)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:139: note:                 Life::DebugStream& Life::DebugStream::operator<<(Life::uint32_type)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:140: note:                 Life::DebugStream& Life::DebugStream::operator<<(Life::uint64_type)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:142: note:                 Life::DebugStream& Life::DebugStream::operator<<(double)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:143: note:                 Life::DebugStream& Life::DebugStream::operator<<(std::complex<double>)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:149: note:                 Life::DebugStream& Life::DebugStream::operator<<(const char*) <near match>
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:150: note:                 Life::DebugStream& Life::DebugStream::operator<<(const std::string&) <near match>
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:151: note:                 Life::DebugStream& Life::DebugStream::operator<<(Life::DebugStream& (*)(Life::DebugStream&)) <near match>
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/application.cpp: In member function 'void Life::Application::parseAndStoreOptions(boost::program_options::command_line_parser, bool)':
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/application.cpp:587: error: ambiguous overload for 'operator<<' in 'Life::Debug(int, int (*)(const char*, ...))(0u).Life::DebugStream::operator<<(((const char*)"[Application::Application] number of unrecognized options: ")) << ((Life::Application*)this)->Life::Application::_M_to_pass_further.std::vector<_Tp, _Alloc>::size [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]()'
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:134: note: candidates are: Life::DebugStream& Life::DebugStream::operator<<(bool)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:135: note:                 Life::DebugStream& Life::DebugStream::operator<<(Life::int16_type)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:136: note:                 Life::DebugStream& Life::DebugStream::operator<<(Life::int32_type)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:137: note:                 Life::DebugStream& Life::DebugStream::operator<<(Life::int64_type)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:138: note:                 Life::DebugStream& Life::DebugStream::operator<<(Life::uint16_type)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:139: note:                 Life::DebugStream& Life::DebugStream::operator<<(Life::uint32_type)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:140: note:                 Life::DebugStream& Life::DebugStream::operator<<(Life::uint64_type)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:142: note:                 Life::DebugStream& Life::DebugStream::operator<<(double)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:143: note:                 Life::DebugStream& Life::DebugStream::operator<<(std::complex<double>)
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:149: note:                 Life::DebugStream& Life::DebugStream::operator<<(const char*) <near match>
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:150: note:                 Life::DebugStream& Life::DebugStream::operator<<(const std::string&) <near match>
> /build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/life/lifecore/debug.hpp:151: note:                 Life::DebugStream& Life::DebugStream::operator<<(Life::DebugStream& (*)(Life::DebugStream&)) <near match>
> make[3]: *** [life/lifecore/CMakeFiles/lifecore.dir/application.cpp.o] Error 1
> make[3]: Leaving directory `/build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/obj-s390-linux-gnu'
> make[2]: *** [life/lifecore/CMakeFiles/lifecore.dir/all] Error 2
> make[2]: Leaving directory `/build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/obj-s390-linux-gnu'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd-life_0.9.18-1-s390-NEoUa2/life-0.9.18/obj-s390-linux-gnu'
> make: *** [debian/stamp-makefile-build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the Pkg-scicomp-devel mailing list