Package: knutclient
Version: 1.0.5-1
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
...
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   
> -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=24 -DKDE_DEPRECATED_WARNINGS 
> -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG_OUTPUT -DQT_NO_STL -D_BSD_SOURCE 
> -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src 
> -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/QtNetwork -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  -Wnon-virtu
> al-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   -D_GNU_SOURCE 
> -D_LARGEFILE64_SOURCE -o CMakeFiles/knutclient.dir/knutprefdlg.cpp.o -c 
> /<<PKGBUILDDIR>>/src/knutprefdlg.cpp
> /<<PKGBUILDDIR>>/src/knutprefdlg.cpp: In member function 'virtual void 
> KNutPrefDlg::slotApply()':
> /<<PKGBUILDDIR>>/src/knutprefdlg.cpp:349:18: warning: variable 'changeFonts' 
> set but not used [-Wunused-but-set-variable]
>      unsigned int changeFonts;
>                   ^~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/src/knutprefdlg.cpp: In member function 'void 
> KNutPrefDlg::initFonts()':
> /<<PKGBUILDDIR>>/src/knutprefdlg.cpp:961:67: error: no matching function for 
> call to 'KFontChooser::KFontChooser(QFrame*&, bool, QStringList&)'
>    m_fontWidget = new KFontChooser(mainPageWidget, false, fontsList);
>                                                                    ^
> 
> In file included from /usr/include/qt4/QtGui/qrgb.h:45:0,
>                  from /usr/include/qt4/QtGui/qcolor.h:45,
>                  from /usr/include/qt4/QtGui/QColor:1,
>                  from /<<PKGBUILDDIR>>/src/knutconst.h:21,
>                  from /<<PKGBUILDDIR>>/src/knutupsdata.h:21,
>                  from /<<PKGBUILDDIR>>/src/knutnewupsdlg.h:21,
>                  from /<<PKGBUILDDIR>>/src/knutprefdlg.h:21,
>                  from /<<PKGBUILDDIR>>/src/knutprefdlg.cpp:18:
> /usr/include/kfontchooser.h:258:5: note: candidate: 
> KFontChooser::KFontChooser(const KFontChooser&)
>      Q_DISABLE_COPY(KFontChooser)
>      ^
> 
> /usr/include/kfontchooser.h:258:5: note:   candidate expects 1 argument, 3 
> provided
> In file included from /usr/include/KDE/../kfontdialog.h:28:0,
>                  from /usr/include/KDE/KFontDialog:1,
>                  from /<<PKGBUILDDIR>>/src/knutprefdlg.h:31,
>                  from /<<PKGBUILDDIR>>/src/knutprefdlg.cpp:18:
> /usr/include/kfontchooser.h:116:12: note: candidate: 
> KFontChooser::KFontChooser(QWidget*, const DisplayFlags&, const QStringList&, 
> int, Qt::CheckState*)
>    explicit KFontChooser( QWidget *parent = 0L,
>             ^~~~~~~~~~~~
> 
> /usr/include/kfontchooser.h:116:12: note:   no known conversion for argument 
> 2 from 'bool' to 'const DisplayFlags& {aka const 
> QFlags<KFontChooser::DisplayFlag>&}'
> src/CMakeFiles/knutclient.dir/build.make:305: recipe for target 
> 'src/CMakeFiles/knutclient.dir/knutprefdlg.cpp.o' failed
> make[3]: *** [src/CMakeFiles/knutclient.dir/knutprefdlg.cpp.o] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'

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

Reply via email to