[Pkg-kde-extras] Bug#812035: subtitlecomposer: FTBFS with GCC 6: needed for in-class initialization

Martin Michlmayr tbm at hpe.com
Wed Jan 20 04:42:02 UTC 2016


Package: subtitlecomposer
Version: 0.5.7-1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6

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/core/tests && /usr/bin/c++   -DHAVE_CONFIG_H -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=30 -DKDE_DEPRECATED_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/core/tests -I/<<PKGBUILDDIR>>/src/core/tests -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-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   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -fexceptions -DKDESRCDIR="\"/<<PKGBUILDDIR>>/src/core/tests/\"" -o CMakeFiles/core-timetest.dir/timetest.o -c /<<PKGBUILDDIR>>/src/core/tests/timetest.cpp
> Generating kcodecactionext.moc
> Generating xinevideolayerwidget.moc
> Generating playerwidget.moc
> Generating decoder.moc
> In file included from /<<PKGBUILDDIR>>/src/core/time.cpp:20:0:
> /<<PKGBUILDDIR>>/src/core/time.h:34:49: error: 'constexpr' needed for in-class initialization of static data member 'const double SubtitleComposer::Time::MaxSeconds' of non-integral type [-fpermissive]
>   static const double MaxSeconds = MaxMseconds / 1000.0;
>                                                  ^~~~~~



More information about the pkg-kde-extras mailing list