Bug#701259: clam-networkeditor: ftbfs with GCC-4.8

Matthias Klose doko at debian.org
Sat Feb 23 11:20:19 UTC 2013


Package: src:clam-networkeditor
Version: 1.4.0-3.1
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.8

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

  xtime.hxx:38:3: error: expected identifier before numeric constant

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/clam-networkeditor_1.4.0-3.1_unstable_gcc48.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev

The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
might be caused by the updated glibc.

[...]
scons prefix=/«PKGBUILDDIR»/debian/tmp/usr clam_prefix=/usr qt_plugins_install_path=/lib/qt4/plugins/designer release=1 verbose=1 double=0 
scons: Reading SConscript files ...

scons: warning: QTDIR variable is not defined, using moc executable as a hint (QTDIR=/usr)
File "/usr/share/clam/sconstools/qt4.py", line 208, in _detect
Loading nsis tool...
Lodading dmg tool...
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 -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 -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 -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 -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 -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 -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
In file included from /usr/include/pthread.h:24:0,
                 from /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr-default.h:35,
                 from /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr.h:148,
                 from /usr/include/c++/4.8/ext/atomicity.h:33,
                 from /usr/include/c++/4.8/bits/basic_string.h:39,
                 from /usr/include/c++/4.8/string:52,
                 from /usr/include/qt4/QtCore/qstring.h:54,
                 from /usr/include/qt4/QtCore/qobject.h:48,
                 from /usr/include/qt4/QtGui/qwidget.h:46,
                 from /usr/include/qt4/QtGui/QWidget:1,
                 from src/ProcessingBox.hxx:4,
                 from src/ProcessingBoxEmbededWidgets.cxx:1:
/usr/include/CLAM/xtime.hxx:38:3: error: expected identifier before numeric constant
   TIME_UTC=1,
   ^
/usr/include/CLAM/xtime.hxx:38:3: error: expected '}' before numeric constant
/usr/include/CLAM/xtime.hxx:38:3: error: expected unqualified-id before numeric constant
In file included from /usr/include/CLAM/Lock.hxx:26:0,
                 from /usr/include/CLAM/Mutex.hxx:26,
                 from /usr/include/CLAM/PortMonitor.hxx:6,
                 from src/monitors/OscilloscopeMonitor.hxx:5,
                 from src/monitors/VumeterMonitor.hxx:5,
                 from src/ProcessingBoxEmbededWidgets.cxx:8:
/usr/include/CLAM/xtime.hxx:156:1: error: expected declaration before '}' token
 } // end of namespace CLAM
 ^
scons: *** [src/generated/ProcessingBoxEmbededWidgets.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