Bug#667137: clam-networkeditor: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:08:21 UTC 2012


Package: clam-networkeditor
Version: 1.4.0-3
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

OutPort.hxx:287:45: error: 'SameType' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/clam-networkeditor_1.4.0-3_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
Version:  1.4.0
Package version:  1.4.0
scons: done reading SConscript files.
scons: Building targets ...
/usr/bin/uic-qt4 -o src/generated/ui_About.hxx src/About.ui
src/About.ui: Warning: The name 'tab' (QWidget) is already in use, defaulting to 'tab1'.
src/About.ui: Warning: The name 'TabPage' (QWidget) is already in use, defaulting to 'TabPage1'.
/usr/bin/uic-qt4 -o src/generated/ui_MainWindow.hxx src/MainWindow.ui
g++ -o src/generated/main.o -c -g -O3 -Wall -pipe -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 -DCLAM_FLOAT -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_LADSPA=1 -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 -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/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtNetwork -Isrc -Isrc/jack -Isrc/generated -Isrc/processing -Isrc/prototyper -Isrc/clamWidgetsPlugins -Isrc/clamWidgetsPlugins/generated -Isrc/monitors -Isrc/widgets -I/usr/include -I/usr/include/CLAM -Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/generated src/main.cxx
g++ -o src/processing/generated/ControlGate.o -c -g -O3 -Wall -pipe -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 -DCLAM_FLOAT -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_LADSPA=1 -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 -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/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtNetwork -Isrc -Isrc/jack -Isrc/generated -Isrc/processing -Isrc/prototyper -Isrc/clamWidgetsPlugins -Isrc/clamWidgetsPlugins/generated -Isrc/monitors -Isrc/widgets -I/usr/include -I/usr/include/CLAM -Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/generated src/processing/ControlGate.cxx
g++ -o src/generated/ProcessingBoxEmbededWidgets.o -c -g -O3 -Wall -pipe -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 -DCLAM_FLOAT -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_LADSPA=1 -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 -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/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtNetwork -Isrc -Isrc/jack -Isrc/generated -Isrc/processing -Isrc/prototyper -Isrc/clamWidgetsPlugins -Isrc/clamWidgetsPlugins/generated -Isrc/monitors -Isrc/widgets -I/usr/include -I/usr/include/CLAM -Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/generated src/ProcessingBoxEmbededWidgets.cxx
g++ -o src/processing/generated/RandomPitches.o -c -g -O3 -Wall -pipe -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 -DCLAM_FLOAT -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_LADSPA=1 -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 -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/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtNetwork -Isrc -Isrc/jack -Isrc/generated -Isrc/processing -Isrc/prototyper -Isrc/clamWidgetsPlugins -Isrc/clamWidgetsPlugins/generated -Isrc/monitors -Isrc/widgets -I/usr/include -I/usr/include/CLAM -Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/generated src/processing/RandomPitches.cxx
In file included from src/processing/RandomPitches.hxx:6:0,
                 from src/processing/RandomPitches.cxx:22:
/usr/include/CLAM/OutPort.hxx: In instantiation of 'bool CLAM::OutPort<Token>::IsConnectableTo(CLAM::InPortBase&) [with Token = std::vector<float, std::allocator<float> >]':
src/processing/RandomPitches.cxx:89:1:   required from here
/usr/include/CLAM/OutPort.hxx:287:45: error: 'SameType' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from /usr/include/CLAM/XMLIterableAdapter.hxx:32:0,
                 from /usr/include/CLAM/DynamicType.hxx:29,
                 from /usr/include/CLAM/Audio.hxx:34,
                 from /usr/include/CLAM/AudioInPort.hxx:26,
                 from src/processing/RandomPitches.hxx:7,
                 from src/processing/RandomPitches.cxx:22:
/usr/include/CLAM/TypeInfo.hxx:30:7: note: 'bool CLAM::SameType(const std::type_info&, const std::type_info&)' declared here, later in the translation unit
scons: *** [src/processing/generated/RandomPitches.o] Error 1
scons: building terminated because of errors.
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the pkg-multimedia-maintainers mailing list