[Buildd-tools-devel] Bug#362205: FTBFS with GCC 4.2: no matching function for call

Martin Michlmayr tbm at cyrius.com
Wed Apr 12 20:24:21 UTC 2006


Package: schroot
Version: 0.2.8-1

Your package fails to build with GCC 4.2.  Version 4.2 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  The bug below is in your package
and not because I'm using a snapshot of the compiler so please take a
look at it.  You can reproduce this with the gcc-snapshot package.


> Automatic build of schroot_0.2.8-1 on em64t by sbuild/amd64 1.112
...
>  x86_64-linux-gnu-g++ -DGETTEXT_PACKAGE=\"schroot\" -DLOCALEDIR=\"/usr/share/locale\" -D_GNU_SOURCE -I. -I. -I.. -pedantic -Wall -Wcast-align -Wextra -Wwrite-strings -Wswitch-default -Wcast-qual -Wunused-variable -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wold-style-cast -Woverloaded-virtual -fstrict-aliasing -g -O2 -MT sbuild-chroot.lo -MD -MP -MF .deps/sbuild-chroot.Tpo -c sbuild-chroot.cc -o sbuild-chroot.o
> sbuild-chroot.cc: In member function 'virtual void sbuild::chroot::get_keyfile(sbuild::keyfile&) const':
> sbuild-chroot.cc:372: error: no matching function for call to 'sbuild::keyfile::set_list_value(const std::string&, const char [8], const 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> > > >&)'
> sbuild-chroot.cc:378: error: no matching function for call to 'sbuild::keyfile::set_list_value(const std::string&, const char [7], const 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> > > >&)'
> sbuild-chroot.cc:381: error: no matching function for call to 'sbuild::keyfile::set_list_value(const std::string&, const char [12], const 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> > > >&)'
> sbuild-chroot.cc:392: error: no matching function for call to 'sbuild::keyfile::set_list_value(const std::string&, const char [15], const 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> > > >&)'
> sbuild-chroot.cc: In member function 'virtual void sbuild::chroot::set_keyfile(const sbuild::keyfile&)':
> sbuild-chroot.cc:425: error: no matching function for call to 'sbuild::keyfile::get_list_value(std::string&, const char [8], sbuild::keyfile::priority, sbuild::string_list&) const'
> sbuild-chroot.cc:435: error: no matching function for call to 'sbuild::keyfile::get_list_value(std::string&, const char [7], sbuild::keyfile::priority, sbuild::string_list&) const'
> sbuild-chroot.cc:440: error: no matching function for call to 'sbuild::keyfile::get_list_value(std::string&, const char [12], sbuild::keyfile::priority, sbuild::string_list&) const'
> sbuild-chroot.cc:459: error: no matching function for call to 'sbuild::keyfile::get_list_value(std::string&, const char [15], sbuild::keyfile::priority, sbuild::string_list&) const'
> make[5]: *** [sbuild-chroot.lo] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/




More information about the Buildd-tools-devel mailing list