[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#811683: FTBFS with GCC 6: could not convert a from x to y



Package: kopete
Version: 4:15.08.3-1
Severity: important
User: debian-gcc@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
...
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/protocols/gadu && /usr/bin/c++   -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=20 -DKDE_DEPRECATED_WARNINGS -DMAKE_KOPETE_GADU_LIB -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/protocols/gadu -I/<<PKGBUILDDIR>>/protocols/gadu -I/<<PKGBUILDDIR>>/libkopete -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libkopete -I/<<PKGBUILDDIR>>/libkopete/ui -I/<<PKGBUILDDIR>>/libkopete/private -I/<<PKGBUILDDIR>>/libkopete/contactlist -I/<<PKGBUILDDIR>>/libkopete/tasks -I/<<PKGBUILDDIR>>/protocols/gadu/} -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/Qt
> Network -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -DNDEBUG -DQT_NO_DEBUG -fPIC   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kopete_gadu.dir/gaduprotocol.o -c /<<PKGBUILDDIR>>/protocols/gadu/gaduprotocol.cpp
> In file included from /<<PKGBUILDDIR>>/plugins/history2/history2plugin.cpp:42:0:
> /<<PKGBUILDDIR>>/plugins/history2/history2logger.h:97:81: error: could not convert 'false' from 'bool' to 'const Kopete::MetaContact*'
>                                       int offset=0, const Kopete::MetaContact *c=false, bool reverseOrder=true);
>                                                                                  ^~~~~
> 

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise


Reply to: