Bug#811736: libdrumstick: FTBFS with GCC 6: narrowing conversion
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 01:46:45 UTC 2016
Package: libdrumstick
Version: 0.5.0-3
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-narrowing
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
...
> [ 24%] Building CXX object utils/buildsmf/CMakeFiles/drumstick-buildsmf.dir/buildsmf.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/utils/buildsmf && /usr/bin/c++ -DHAVE_ALSA -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DRTKIT_SUPPORT -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/utils/buildsmf -I/<<PKGBUILDDIR>>/utils/buildsmf -I/usr/include/alsa -I/<<PKGBUILDDIR>>/library/include -I/<<PKGBUILDDIR>>/library -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtSvg -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtDBus -isystem /usr/include/qt4/QtCore -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/Qt3Support -I/usr/share/qt4/mkspecs/default -I/<<PKGBUILDDIR>>/utils -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/utils -I/<<PKGBUILDDIR>>/u
> tils/common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/utils/common -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -UQT_NO_EXCEPTIONS -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/drumstick-buildsmf.dir/buildsmf.cpp.o -c /<<PKGBUILDDIR>>/utils/buildsmf/buildsmf.cpp
> /<<PKGBUILDDIR>>/utils/buildsmf/buildsmf.cpp: In member function 'void QSMFBuilder::trackHandler(int)':
> /<<PKGBUILDDIR>>/utils/buildsmf/buildsmf.cpp:57:66: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing]
> 0x40, 0x00, 0x7f, 0x00, 0x41, 0xf7 };
> ^
>
> /<<PKGBUILDDIR>>/utils/buildsmf/buildsmf.cpp:57:66: error: narrowing conversion of '247' from 'int' to 'char' inside { } [-Wnarrowing]
> utils/buildsmf/CMakeFiles/drumstick-buildsmf.dir/build.make:94: recipe for target 'utils/buildsmf/CMakeFiles/drumstick-buildsmf.dir/buildsmf.cpp.o' failed
> make[3]: *** [utils/buildsmf/CMakeFiles/drumstick-buildsmf.dir/buildsmf.cpp.o] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> CMakeFiles/Makefile2:359: recipe for target 'utils/buildsmf/CMakeFiles/drumstick-buildsmf.dir/all' failed
> make[2]: *** [utils/buildsmf/CMakeFiles/drumstick-buildsmf.dir/all] Error 2
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the pkg-multimedia-maintainers
mailing list