Bug#811828: clam-networkeditor: FTBFS with GCC 6: no match for

Martin Michlmayr tbm at hpe.com
Wed Jan 20 02:22:19 UTC 2016


Package: clam-networkeditor
Version: 1.4.0-3.1
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
...
> g++ -o src/generated/main.o -c -g -O3 -Wall -pipe -fpermissive -fomit-frame-pointer -DDATA_EXAMPLES_PATH="\"/<<PKGBUILDDIR>>/debian/tmp/usr/share/networkeditor/example-data\"" -DQT_PLUGIN -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DUSE_SNDFILE=1 -DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -DUSE_ID3=1 -DUSE_ALSA=1 -DUSE_JACK=1 -DUSE_PORTAUDIO=1 -DUSE_FFTW3=1 -DCLAM_FLOAT -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_LADSPA=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -DQT_SHARED -I/usr/local/include -I/usr/include/alsa -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore -I/usr/include/libdrm -Isrc -Isrc/jack -Isrc/generated -Isrc/processing -Isrc/prototyper -Isrc/c
> lamWidgetsPlugins -Isrc/clamWidgetsPlugins/generated -Isrc/monitors -Isrc/widgets -I/usr/include -I/usr/include/CLAM -Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/generated src/main.cxx
> In file included from /usr/include/CLAM/DynamicType.hxx:28:0,
>                  from /usr/include/CLAM/ProcessingConfig.hxx:25,
>                  from /usr/include/CLAM/Processing.hxx:32,
>                  from /usr/include/CLAM/Network.hxx:24,
>                  from src/ClamNetworkCanvas.hxx:7,
>                  from src/MainWindow.hxx:2,
>                  from src/main.cxx:26:
> /usr/include/CLAM/XMLAdapter.hxx: In member function 'bool CLAM::XMLAdapter<T>::XMLContent(std::istream&)':
> /usr/include/CLAM/XMLAdapter.hxx:109:13: error: no match for 'operator!=' (operand types are 'std::istream {aka std::basic_istream<char>}' and 'long int')
>    return str!=NULL;
>           ~~~^~~

-> error

> 
> /usr/include/CLAM/XMLAdapter.hxx:109:13: note: candidate: operator!=(int, long int) <built-in>
> /usr/include/CLAM/XMLAdapter.hxx:109:13: note:   no known conversion for argument 1 from 'std::istream {aka std::basic_istream<char>}' to 'int'
> In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
>                  from /usr/include/qt4/QtCore/qobjectdefs.h:45,
>                  from /usr/include/qt4/QtCore/qobject.h:47,
>                  from /usr/include/qt4/QtCore/qcoreapplication.h:45,
>                  from /usr/include/qt4/QtGui/qapplication.h:45,
>                  from /usr/include/qt4/QtGui/QApplication:1,
>                  from src/main.cxx:22:
> /usr/include/qt4/QtCore/qglobal.h:2143:13: note: candidate: bool operator!=(QBool, bool)
>  inline bool operator!=(QBool b1, bool b2) { return !b1 != !b2; }
>              ^~~~~~~~
> 
> /usr/include/qt4/QtCore/qglobal.h:2143:13: note:   no known conversion for argument 1 from 'std::istream {aka std::basic_istream<char>}' to 'QBool'
> /usr/include/qt4/QtCore/qglobal.h:2144:13: note: candidate: bool operator!=(bool, QBool)
>  inline bool operator!=(bool b1, QBool b2) { return !b1 != !b2; }
>              ^~~~~~~~
> 
> /usr/include/qt4/QtCore/qglobal.h:2144:13: note:   no known conversion for argument 1 from 'std::istream {aka std::basic_istream<char>}' to 'bool'
> /usr/include/qt4/QtCore/qglobal.h:2145:13: note: candidate: bool operator!=(QBool, QBool)
>  inline bool operator!=(QBool b1, QBool b2) { return !b1 != !b2; }
>              ^~~~~~~~
> 
> /usr/include/qt4/QtCore/qglobal.h:2145:13: note:   no known conversion for argument 1 from 'std::istream {aka std::basic_istream<char>}' to 'QBool'
> In file included from /usr/include/qt4/QtCore/qstring.h:45:0,
>                  from /usr/include/qt4/QtCore/qobject.h:48,
>                  from /usr/include/qt4/QtCore/qcoreapplication.h:45,
>                  from /usr/include/qt4/QtGui/qapplication.h:45,
>                  from /usr/include/qt4/QtGui/QApplication:1,
>                  from src/main.cxx:22:
> /usr/include/qt4/QtCore/qchar.h:393:13: note: candidate: bool operator!=(QChar, QChar)
>  inline bool operator!=(QChar c1, QChar c2) { return c1.unicode() != c2.unicode(); }
>              ^~~~~~~~
> 
> /usr/include/qt4/QtCore/qchar.h:393:13: note:   no known conversion for argument 1 from 'std::istream {aka std::basic_istream<char>}' to 'QChar'
> In file included from /usr/include/qt4/QtCore/qstring.h:46:0,
>                  from /usr/include/qt4/QtCore/qobject.h:48,
>                  from /usr/include/qt4/QtCore/qcoreapplication.h:45,
>                  from /usr/include/qt4/QtGui/qapplication.h:45,
>                  from /usr/include/qt4/QtGui/QApplication:1,
>                  from src/main.cxx:22:
> /usr/include/qt4/QtCore/qbytearray.h:533:13: note: candidate: bool operator!=(const QByteArray&, const QByteArray&)
>  inline bool operator!=(const QByteArray &a1, const QByteArray &a2)
>              ^~~~~~~~
> 
> /usr/include/qt4/QtCore/qbytearray.h:533:13: note:   no known conversion for argument 1 from 'std::istream {aka std::basic_istream<char>}' to 'const QByteArray&'
> /usr/include/qt4/QtCore/qbytearray.h:535:13: note: candidate: bool operator!=(const QByteArray&, const char*)
>  inline bool operator!=(const QByteArray &a1, const char *a2)
>              ^~~~~~~~
> 
> /usr/include/qt4/QtCore/qbytearray.h:535:13: note:   no known conversion for argument 1 from 'std::istream {aka std::basic_istream<char>}' to 'const QByteArray&'
> /usr/include/qt4/QtCore/qbytearray.h:537:13: note: candidate: bool operator!=(const char*, const QByteArray&)
>  inline bool operator!=(const char *a1, const QByteArray &a2)
>              ^~~~~~~~



More information about the pkg-multimedia-maintainers mailing list