Bug#811835: opal: FTBFS with GCC 6: no match for

Martin Michlmayr tbm at hpe.com
Wed Jan 20 02:32:35 UTC 2016


Package: opal
Version: 3.10.10~dfsg2-2
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-no-match

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++  -Wall -Wextra -Wstrict-aliasing -Wfloat-equal -Wno-comment -Wno-unused -Winit-self -Wno-missing-field-initializers -DP_64BIT -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -fexceptions -I/usr/include/SDL -felide-constructors -Wreorder -fPIC     -I/<<PKGBUILDDIR>>/include  -c /<<PKGBUILDDIR>>/src/codec/ratectl.cxx -o /<<PKGBUILDDIR>>/lib_linux_x86_64/obj/ratectl.o
> /<<PKGBUILDDIR>>/src/im/msrp.cxx: In member function 'bool MSRPProtocol::SendREPORT(const PString&, const PString&, const PString&, const PMIMEInfo&)':
> /<<PKGBUILDDIR>>/src/im/msrp.cxx:838:47: error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and 'std::ostream {aka std::basic_ostream<char>}')
>      PStringStream str; str << ::setfill('\r') << mime.PrintContents(str);
>                         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/src/im/msrp.cxx:838:47: note: candidate: operator<<(int, int) <built-in>
> /<<PKGBUILDDIR>>/src/im/msrp.cxx:838:47: note:   no known conversion for argument 2 from 'std::ostream {aka std::basic_ostream<char>}' to 'int'
> In file included from /usr/include/c++/6/istream:39:0,
>                  from /usr/include/c++/6/sstream:38,
>                  from /usr/include/c++/6/bits/quoted_string.h:38,
>                  from /usr/include/c++/6/iomanip:45,
>                  from /usr/include/ptlib/object.h:58,
>                  from /usr/include/ptlib/psync.h:43,
>                  from /usr/include/ptlib/critsec.h:34,
>                  from /usr/include/ptlib/contain.h:42,
>                  from /usr/include/ptlib.h:56,
>                  from /<<PKGBUILDDIR>>/src/im/msrp.cxx:31:
> /usr/include/c++/6/ostream:108:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
>        operator<<(__ostream_type& (*__pf)(__ostream_type&))
>        ^~~~~~~~
> 
> /usr/include/c++/6/ostream:108:7: note:   no known conversion for argument 1 from 'std::ostream {aka std::basic_ostream<char>}' to 'std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&) {aka std::basic_ostream<char>& (*)(std::basic_ostream<char>&)}'
> /usr/include/c++/6/ostream:117:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<char>]
>        operator<<(__ios_type& (*__pf)(__ios_type&))
>        ^~~~~~~~



More information about the Pkg-voip-maintainers mailing list