Bug#811844: composite: FTBFS with GCC 6: no match for

Martin Michlmayr tbm at hpe.com
Wed Jan 20 02:35:06 UTC 2016


Package: composite
Version: 0.006.2+dfsg0-4
Severity: important
User: debian-gcc at lists.debian.org
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 /<<BUILDDIR>>/composite-0.006.2+dfsg0/obj-x86_64-linux-gnu/src/Tritium && /usr/bin/c++   -DFLAC_SUPPORT -DJACK_SUPPORT -DLADSPA_SUPPORT -DLRDF_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_XML_LIB -DTritium_EXPORTS -I/<<BUILDDIR>>/composite-0.006.2+dfsg0/obj-x86_64-linux-gnu -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtCore -I/<<BUILDDIR>>/composite-0.006.2+dfsg0 -I/<<BUILDDIR>>/composite-0.006.2+dfsg0/src/Tritium/.  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -DNDEBUG -fPIC   -o CMakeFiles/Tritium.dir/src/Sampler.o -c /<<BUILDDIR>>/composite-0.006.2+dfsg0/src/Tritium/src/Sampler.cpp
> /<<BUILDDIR>>/composite-0.006.2+dfsg0/src/Tritium/src/LocalFileMng.cpp: In member function 'int Tritium::LocalFileMng::savePlayList(const string&)':
> /<<BUILDDIR>>/composite-0.006.2+dfsg0/src/Tritium/src/LocalFileMng.cpp:719:20: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
>              return NULL;
>                     ^~~~
> 
> /<<BUILDDIR>>/composite-0.006.2+dfsg0/src/Tritium/src/LocalFileMng.cpp: In member function 'int Tritium::LocalFileMng::loadPlayList(const string&)':
> /<<BUILDDIR>>/composite-0.006.2+dfsg0/src/Tritium/src/LocalFileMng.cpp:736:21: error: no match for 'operator==' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'long int')
>          if ( verify == NULL ) {
>               ~~~~~~~^~~~
> 
> /<<BUILDDIR>>/composite-0.006.2+dfsg0/src/Tritium/src/LocalFileMng.cpp:736:21: note: candidate: operator==(int, long int) <built-in>
> /<<BUILDDIR>>/composite-0.006.2+dfsg0/src/Tritium/src/LocalFileMng.cpp:736:21: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'int'
> In file included from /usr/include/qt4/QtCore/qchar.h:45:0,
>                  from /usr/include/qt4/QtCore/qstring.h:45,
>                  from /usr/include/qt4/QtCore/qdir.h:45,
>                  from /usr/include/qt4/QtCore/qabstractfileengine.h:45,
>                  from /usr/include/qt4/QtCore/QtCore:3,
>                  from /<<BUILDDIR>>/composite-0.006.2+dfsg0/src/Tritium/./Tritium/Logger.hpp:30,
>                  from /<<BUILDDIR>>/composite-0.006.2+dfsg0/src/Tritium/src/LocalFileMng.cpp:26:
> /usr/include/qt4/QtCore/qglobal.h:2140:13: note: candidate: bool operator==(QBool, bool)
>  inline bool operator==(QBool b1, bool b2) { return !b1 == !b2; }
>              ^~~~~~~~



More information about the pkg-multimedia-maintainers mailing list