Package: mudlet
Version: 1:2.1-2
Severity: important
User: [email protected]
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
...
> /usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/custom_lines.ui -o ui_custom_lines.h
> g++ -c -m64 -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wno-deprecated
> -Wno-unused-parameter -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_PHONON_LIB
> -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
> -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
> -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui
> -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/phonon
> -I/usr/include/qt4 -I. -Iirc/include -I/usr/include/hunspell
> -I/usr/include/lua5.1 -I/usr/include/yajl -I/usr/include/libdrm
> -I/usr/include/qt4/phonon_compat -I/usr/X11R6/include -Itmp -I. -o
> tmp/TConsole.o TConsole.cpp
> In file included from Host.h:37:0,
> from TCommandLine.h:32,
> from TConsole.h:37,
> from TConsole.cpp:24:
> TimerUnit.h: In constructor 'TimerUnit::TimerUnit(Host*)':
> TimerUnit.h:81:27: warning: 'TimerUnit::mMaxID' will be initialized after
> [-Wreorder]
> qint64 mMaxID;
> ^~~~~~
>
> TimerUnit.h:65:27: warning: 'int TimerUnit::statsActiveTriggers' [-Wreorder]
> int statsActiveTriggers;
> ^~~~~~~~~~~~~~~~~~~
>
> In file included from Host.h:37:0,
> from TCommandLine.h:32,
> from TConsole.h:37,
> from TConsole.cpp:24:
> TimerUnit.h:41:27: warning: when initialized here [-Wreorder]
> TimerUnit( Host * pHost ) : mpHost(pHost),
> mMaxID(0), statsActiveTriggers(0), statsTriggerTotal(0), statsTempTriggers(0)
> {;}
> ^~~~~~~~~
>
> TConsole.cpp: In member function 'void TConsole::changeColors()':
> TConsole.cpp:972:13: warning: unused variable 'mFontHeight'
> [-Wunused-variable]
> int mFontHeight = QFontMetrics( mDisplayFont ).height();
> ^~~~~~~~~~~
>
> TConsole.cpp:1017:13: warning: unused variable 'mFontHeight'
> [-Wunused-variable]
> int mFontHeight = QFontMetrics( mpHost->mDisplayFont ).height();
> ^~~~~~~~~~~
>
> TConsole.cpp: In member function 'QString
> TConsole::getCurrentLine(std::__cxx11::string&)':
> TConsole.cpp:2014:27: error: could not convert 'false' from 'bool' to
> 'QString'
> if( ! pC ) return false;
> ^~~~~
>
> Makefile:1945: recipe for target 'tmp/TConsole.o' failed
> make[2]: *** [tmp/TConsole.o] Error 1
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise