Bug#811649: FTBFS with GCC 6: cannot convert x to y

Paul Chitescu paulc at voip.null.ro
Wed Jan 20 16:37:48 UTC 2016


Hi!

Thanks for the report, fixed the errors upstream (currently 5.5.1 devel) 
by SVN commits 6084, 6085.

Paul Chitescu


On 01/20/2016 02:37 AM, Martin Michlmayr wrote:
> Package: yate
> Version: 5.4.0-1-1
> Severity: important
> User: debian-gcc at lists.debian.org
> Usertags: ftbfs-gcc-6 gcc-6-cannot-convert
>
> 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.
>
>> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
> ...
>> mkdir -p sig && g++ -Wall   -I.. -I.. -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-check-new  -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN  -export-dynamic -shared -Wl,--unresolved-symbols=ignore-in-shared-libs -Wl,--retain-symbols-file,/dev/null -Wl,-z,relro -Wl,-z,now -o sig/camel_map.yate -I../libs/ysig -I../libs/yasn  sig/camel_map.cpp -lyatesig -L../libs/yasn -lyasn -L.. -lyate
>> mkdir -p server && g++ -Wall   -I.. -I.. -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-check-new  -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN  -export-dynamic -shared -Wl,--unresolved-symbols=ignore-in-shared-libs -Wl,--retain-symbols-file,/dev/null -Wl,-z,relro -Wl,-z,now -o server/zapcard.yate -I../libs/ysig   server/zapcard.cpp -lyatesig -L.. -lyate
>> sig/ss7_lnp_ansi.cpp:1468:30: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>>       Debug(&__plugin,DebugAll,"BlockedCode created [%p] - code '%s' blocked for "FMT64U" seconds with gap="FMT64U" seconds, cause=%s",
>>                                ^
>>
>> sig/ss7_lnp_ansi.cpp:1468:87: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>>       Debug(&__plugin,DebugAll,"BlockedCode created [%p] - code '%s' blocked for "FMT64U" seconds with gap="FMT64U" seconds, cause=%s",
>>                                                                                         ^
>>
>> sig/ss7_lnp_ansi.cpp:1481:31: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>>       DDebug(&__plugin,DebugAll,"BlockedCode created [%p] - code '%s' has gap interval="FMT64" seconds",this,m_code.c_str(),
>>                                 ^
>>
>> sig/ss7_lnp_ansi.cpp:1488:31: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>>       DDebug(&__plugin,DebugAll,"BlockedCode created [%p] - code '%s' update duration="FMT64" seconds, gap="FMT64" seconds",this,m_code.c_str(),
>>                                 ^
>>
>> sig/ss7_lnp_ansi.cpp:1488:91: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>>       DDebug(&__plugin,DebugAll,"BlockedCode created [%p] - code '%s' update duration="FMT64" seconds, gap="FMT64" seconds",this,m_code.c_str(),
>>                                                                                             ^
>>
>> server/zapcard.cpp: In static member function 'static TelEngine::SignallingComponent* {anonymous}::ZapInterface::create(const TelEngine::String&, TelEngine::NamedList&)':
>> server/zapcard.cpp:1784:9: error: cannot convert 'bool' to 'TelEngine::SignallingComponent*' in return
>>    return false;
>>           ^~~~~
>>
>> server/zapcard.cpp: At global scope:
>> server/zapcard.cpp:1529:6: warning: 'bool {anonymous}::ZapDevice::getChanParams(TelEngine::NamedList&)' defined but not used [-Wunused-function]
>>   bool ZapDevice::getChanParams(NamedList& dest)
>>        ^~~~~~~~~
>>
>> Makefile:279: recipe for target 'server/zapcard.yate' failed
>> make[2]: *** [server/zapcard.yate] Error 1
>> make[2]: *** Waiting for unfinished jobs....
>> server/ciscosm.cpp:1950:6: warning: 'void {anonymous}::SLT::sendControllerR(unsigned int)' defined but not used [-Wunused-function]
>>   void SLT::sendControllerR(unsigned int linkState)
>>        ^~~
>>
>> server/ciscosm.cpp:1155:6: warning: 'bool {anonymous}::RudpSocket::running()' defined but not used [-Wunused-function]
>>   bool RudpSocket::running()
>>        ^~~~~~~~~~
>>
>> sig/ss7_lnp_ansi.cpp:703:6: warning: 'bool {anonymous}::LNPClient::mandatoryParams({anonymous}::LNPClient::Operation, TelEngine::NamedList&)' defined but not used [-Wunused-function]
>>   bool LNPClient::mandatoryParams(Operation opCode, NamedList& params)
>>        ^~~~~~~~~
>>
>> server/mgcpca.cpp:820:6: warning: 'void {anonymous}::MGCPWrapper::gotDTMF(char)' defined but not used [-Wunused-function]
>>   void MGCPWrapper::gotDTMF(char tone)
>>        ^~~~~~~~~~~
>>
>> sig/camel_map.cpp:7009:14: warning: '{anonymous}::Transaction* {anonymous}::IDMap::findByTcapID(const char*)' defined but not used [-Wunused-function]
>>   Transaction* IDMap::findByTcapID(const char* tcapID)
>>                ^~~~~
>>
>> ar rcs qt4client.a qt4client.o qt4client.moc.o
>> g++ -Wall -Wl,-z,relro -Wl,-z,now -o ../../libyateqt4.so.5.4.0 -shared -Wl,-soname=libyateqt4.so.5.4.0 qt4client.o qt4client.moc.o -lQtUiTools -lQtGui -lQtXml -lQtCore -L../.. -lyate
>> cd ../.. && ln -sf libyateqt4.so.5.4.0 libyateqt4.so




More information about the Pkg-voip-maintainers mailing list