[Pkg-kde-extras] Bug#811908: kvirc: FTBFS with GCC 6: invalid conversion
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 03:32:09 UTC 2016
Package: kvirc
Version: 4:4.2.0-2
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-invalid-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.
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
...
> [ 95%] Building CXX object src/kvirc/CMakeFiles/kvirc.dir/ui/moc_KviCryptController.cxx.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/kvirc && /usr/bin/c++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=19 -DKDE_DEPRECATED_WARNINGS -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_STL -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -isystem /usr/include/qt4/QtSvg -isystem /usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -isystem /usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -isystem /usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default
> -isystem /usr/include/qt4 -I/usr/include/python2.7 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/kvirc/kernel -I/<<PKGBUILDDIR>>/src/kvirc/kvs -I/<<PKGBUILDDIR>>/src/kvirc/kvs/event -I/<<PKGBUILDDIR>>/src/kvirc/kvs/object -I/<<PKGBUILDDIR>>/src/kvirc/kvs/parser -I/<<PKGBUILDDIR>>/src/kvirc/kvs/tree -I/<<PKGBUILDDIR>>/src/kvirc/module -I/<<PKGBUILDDIR>>/src/kvirc/sparser -I/<<PKGBUILDDIR>>/src/kvirc/ui -I/<<PKGBUILDDIR>>/src/kvirc/../kvilib/tal -I/<<PKGBUILDDIR>>/src/kvirc/../kvilib/config -I/<<PKGBUILDDIR>>/src/kvirc/../kvilib/core -I/<<PKGBUILDDIR>>/src/kvirc/../kvilib/ext -I/<<PKGBUILDDIR>>/src/kvirc/../kvilib/file -I/<<PKGBUILDDIR>>/src/kvirc/../kvilib/irc -I/<<PKGBUILDDIR>>/src/kvirc/../kvilib/locale -I/<<PKGBUILDDIR>>/src/kvirc/../kvilib/net -I/<<PKGBUILDDIR>>/src/kvirc/../kvilib/system -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fomit-frame-pointer -DNDEBUG --no-enforce-eh-specs -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math -ggdb -fvisibility-inlines-hidden -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 -O2 -DNDEBUG -DQT_NO_DEBUG -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kvirc.dir/ui/moc_KviCryptController.cxx.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/kvirc/ui/moc_KviCryptController.cxx
> /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.cpp: In member function 'void KviIrcConnection::closeAllChannels()':
> /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.cpp:672:102: error: conversion from 'int' to 'QEventLoop::ProcessEventsFlags {aka QFlags<QEventLoop::ProcessEventsFlag>}' is ambiguous
> QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers & QEventLoop::ExcludeUserInputEvents);
> ^
>
> In file included from /usr/include/qt4/QtCore/QtGlobal:1:0,
> from /<<PKGBUILDDIR>>/src/kvirc/../kvilib/config/kvi_settings.h:37,
> from /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.h:33,
> from /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.cpp:27:
> /usr/include/qt4/QtCore/qglobal.h:2438:29: note: candidate: constexpr QFlags<Enum>::QFlags(QFlags<Enum>::Zero) [with Enum = QEventLoop::ProcessEventsFlag; QFlags<Enum>::Zero = void**] <near match>
> Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {}
> ^~~~~~
>
> /usr/include/qt4/QtCore/qglobal.h:2438:29: note: conversion of argument 1 would be ill-formed:
> /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.cpp:672:66: error: invalid conversion from 'int' to 'QFlags<QEventLoop::ProcessEventsFlag>::Zero {aka void**}' [-fpermissive]
> QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers & QEventLoop::ExcludeUserInputEvents);
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
>
> In file included from /usr/include/qt4/QtCore/QtGlobal:1:0,
> from /<<PKGBUILDDIR>>/src/kvirc/../kvilib/config/kvi_settings.h:37,
> from /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.h:33,
> from /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.cpp:27:
> /usr/include/qt4/QtCore/qglobal.h:2437:29: note: candidate: constexpr QFlags<Enum>::QFlags(Enum) [with Enum = QEventLoop::ProcessEventsFlag] <near match>
> Q_DECL_CONSTEXPR inline QFlags(Enum f) : i(f) {}
> ^~~~~~
>
> /usr/include/qt4/QtCore/qglobal.h:2437:29: note: conversion of argument 1 would be ill-formed:
> /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.cpp:672:66: error: invalid conversion from 'int' to 'QEventLoop::ProcessEventsFlag' [-fpermissive]
> QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers & QEventLoop::ExcludeUserInputEvents);
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
>
> In file included from /usr/include/qt4/QtGui/qapplication.h:45:0,
> from /usr/include/qt4/QtGui/QApplication:1,
> from /usr/include/KDE/../kapplication.h:45,
> from /usr/include/KDE/KApplication:1,
> from /<<PKGBUILDDIR>>/src/kvirc/../kvilib/tal/KviTalApplication.h:46,
> from /<<PKGBUILDDIR>>/src/kvirc/kernel/KviApplication.h:31,
> from /<<PKGBUILDDIR>>/src/kvirc/ui/KviWindow.h:33,
> from /<<PKGBUILDDIR>>/src/kvirc/ui/KviConsoleWindow.h:30,
> from /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.cpp:48:
> /usr/include/qt4/QtCore/qcoreapplication.h:121:17: note: initializing argument 1 of 'static void QCoreApplication::processEvents(QEventLoop::ProcessEventsFlags)'
> static void processEvents(QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents);
> ^~~~~~~~~~~~~
>
> /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.cpp: In member function 'void KviIrcConnection::closeAllQueries()':
> /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.cpp:681:102: error: conversion from 'int' to 'QEventLoop::ProcessEventsFlags {aka QFlags<QEventLoop::ProcessEventsFlag>}' is ambiguous
> QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers & QEventLoop::ExcludeUserInputEvents);
> ^
>
> In file included from /usr/include/qt4/QtCore/QtGlobal:1:0,
> from /<<PKGBUILDDIR>>/src/kvirc/../kvilib/config/kvi_settings.h:37,
> from /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.h:33,
> from /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.cpp:27:
> /usr/include/qt4/QtCore/qglobal.h:2438:29: note: candidate: constexpr QFlags<Enum>::QFlags(QFlags<Enum>::Zero) [with Enum = QEventLoop::ProcessEventsFlag; QFlags<Enum>::Zero = void**] <near match>
> Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {}
> ^~~~~~
>
> /usr/include/qt4/QtCore/qglobal.h:2438:29: note: conversion of argument 1 would be ill-formed:
> /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.cpp:681:66: error: invalid conversion from 'int' to 'QFlags<QEventLoop::ProcessEventsFlag>::Zero {aka void**}' [-fpermissive]
> QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers & QEventLoop::ExcludeUserInputEvents);
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
>
> In file included from /usr/include/qt4/QtCore/QtGlobal:1:0,
> from /<<PKGBUILDDIR>>/src/kvirc/../kvilib/config/kvi_settings.h:37,
> from /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.h:33,
> from /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.cpp:27:
> /usr/include/qt4/QtCore/qglobal.h:2437:29: note: candidate: constexpr QFlags<Enum>::QFlags(Enum) [with Enum = QEventLoop::ProcessEventsFlag] <near match>
> Q_DECL_CONSTEXPR inline QFlags(Enum f) : i(f) {}
> ^~~~~~
>
> /usr/include/qt4/QtCore/qglobal.h:2437:29: note: conversion of argument 1 would be ill-formed:
> /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.cpp:681:66: error: invalid conversion from 'int' to 'QEventLoop::ProcessEventsFlag' [-fpermissive]
> QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers & QEventLoop::ExcludeUserInputEvents);
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
>
> In file included from /usr/include/qt4/QtGui/qapplication.h:45:0,
> from /usr/include/qt4/QtGui/QApplication:1,
> from /usr/include/KDE/../kapplication.h:45,
> from /usr/include/KDE/KApplication:1,
> from /<<PKGBUILDDIR>>/src/kvirc/../kvilib/tal/KviTalApplication.h:46,
> from /<<PKGBUILDDIR>>/src/kvirc/kernel/KviApplication.h:31,
> from /<<PKGBUILDDIR>>/src/kvirc/ui/KviWindow.h:33,
> from /<<PKGBUILDDIR>>/src/kvirc/ui/KviConsoleWindow.h:30,
> from /<<PKGBUILDDIR>>/src/kvirc/kernel/KviIrcConnection.cpp:48:
> /usr/include/qt4/QtCore/qcoreapplication.h:121:17: note: initializing argument 1 of 'static void QCoreApplication::processEvents(QEventLoop::ProcessEventsFlags)'
> static void processEvents(QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents);
> ^~~~~~~~~~~~~
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the pkg-kde-extras
mailing list