Package: libqxt
Version: 0.6.2-2
Severity: important
User: [email protected]
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++ -c -m64 -pipe -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT 
> -fPIC -DHAVE_QT -DHAVE_DB -DHAVE_ZEROCONF -DBUILD_QXT_CORE -DQT_NO_DEBUG 
> -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. 
> -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -I../../include 
> -Irelease/.moc -o release/.obj/moc_qxtlocale.o release/.moc/moc_qxtlocale.cpp
> qxtslotjob.cpp: In member function 'QVariant QxtFuture::delayedResult(int)':
> qxtslotjob.cpp:177:34: error: no matching function for call to 
> 'QxtSignalWaiter::wait(int&, bool)'
>      if (!waiter->wait(msec, false))
>                                   ^
> 
> In file included from qxtslotjob_p.h:29:0,
>                  from qxtslotjob.cpp:25:
> ./qxtsignalwaiter.h:43:17: note: candidate: static bool 
> QxtSignalWaiter::wait(const QObject*, const char*, int, 
> QEventLoop::ProcessEventsFlags)
>      static bool wait(const QObject* sender, const char* signal, int msec = 
> -1, QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents);
>                  ^~~~
> 
> ./qxtsignalwaiter.h:43:17: note:   no known conversion for argument 2 from 
> 'bool' to 'const char*'
> In file included from qxtslotjob_p.h:29:0,
>                  from qxtslotjob.cpp:25:
> ./qxtsignalwaiter.h:44:10: note: candidate: bool QxtSignalWaiter::wait(int, 
> QEventLoop::ProcessEventsFlags)
>      bool wait(int msec = -1, QEventLoop::ProcessEventsFlags flags = 
> QEventLoop::AllEvents);
>           ^~~~
> 
> ./qxtsignalwaiter.h:44:10: note:   no known conversion for argument 2 from 
> 'bool' to 'QEventLoop::ProcessEventsFlags {aka 
> QFlags<QEventLoop::ProcessEventsFlag>}'
> Makefile:706: recipe for target 'release/.obj/qxtslotjob.o' failed
> make[3]: *** [release/.obj/qxtslotjob.o] Error 1

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

Reply via email to