Bug#667245: libffado: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:10:15 UTC 2012


Package: libffado
Version: 2.0.99+svn2019-1
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.

tests/test-dice-eap.cpp:296:16: error: 'sleep' was not declared in this scope

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/libffado_2.0.99+svn2019-1_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.

[...]
g++ -o tests/streaming/teststreaming-ipc.o -c -O2 -m64 -fPIC -pthread -DNDEBUG -I. -Isrc -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include tests/streaming/teststreaming-ipc.cpp
g++ -o tests/streaming/ffado-test-streaming-ipc -pthread tests/streaming/teststreaming-ipc.o -Lsrc -lm -lffado -lpthread -liec61883 -lraw1394 -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lrt -lglib-2.0
g++ -o tests/streaming/test-ipcclient.o -c -O2 -m64 -fPIC -pthread -DNDEBUG -I. -Isrc -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include tests/streaming/test-ipcclient.cpp
g++ -o tests/streaming/ffado-test-streaming-ipcclient -pthread tests/streaming/test-ipcclient.o -Lsrc -lm -lffado -lpthread -liec61883 -lraw1394 -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lrt -lglib-2.0
g++ -o tests/systemtests/test-isorecv-1.o -c -O2 -m64 -fPIC -pthread -DNDEBUG -I. -Isrc -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include tests/systemtests/test-isorecv-1.cpp
g++ -o tests/systemtests/realtimetools.o -c -O2 -m64 -fPIC -pthread -DNDEBUG -I. -Isrc -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include tests/systemtests/realtimetools.cpp
g++ -o tests/systemtests/ffado-test-isorecv -pthread tests/systemtests/test-isorecv-1.o tests/systemtests/realtimetools.o -Lsrc -lm -lffado -liec61883 -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lglib-2.0 -lraw1394 -lrt -lpthread
g++ -o tests/systemtests/test-isoxmit-1.o -c -O2 -m64 -fPIC -pthread -DNDEBUG -I. -Isrc -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include tests/systemtests/test-isoxmit-1.cpp
g++ -o tests/systemtests/ffado-test-isoxmit -pthread tests/systemtests/test-isoxmit-1.o tests/systemtests/realtimetools.o -Lsrc -lm -lffado -liec61883 -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lglib-2.0 -lraw1394 -lrt -lpthread
g++ -o tests/systemtests/gen-loadpulses.o -c -O2 -m64 -fPIC -pthread -DNDEBUG -I. -Isrc -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include tests/systemtests/gen-loadpulses.cpp
g++ -o tests/systemtests/gen-loadpulses -pthread tests/systemtests/gen-loadpulses.o tests/systemtests/realtimetools.o -Lsrc -lm -lffado -liec61883 -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lglib-2.0 -lraw1394 -lrt -lpthread
g++ -o tests/systemtests/test-clock_nanosleep.o -c -O2 -m64 -fPIC -pthread -DNDEBUG -I. -Isrc -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include tests/systemtests/test-clock_nanosleep.cpp
g++ -o tests/systemtests/test-clock_nanosleep -pthread tests/systemtests/test-clock_nanosleep.o tests/systemtests/realtimetools.o -Lsrc -lm -lffado -liec61883 -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lglib-2.0 -lraw1394 -lrt -lpthread
g++ -o tests/systemtests/test-sysload.o -c -O2 -m64 -fPIC -pthread -DNDEBUG -I. -Isrc -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include tests/systemtests/test-sysload.cpp
g++ -o tests/systemtests/test-sysload -pthread tests/systemtests/test-sysload.o tests/systemtests/realtimetools.o -Lsrc -lm -lffado -liec61883 -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lglib-2.0 -lraw1394 -lrt -lpthread
g++ -o tests/test-avccmd.o -c -O2 -m64 -fPIC -pthread -DNDEBUG -I. -Isrc -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include tests/test-avccmd.cpp
g++ -o tests/test-avccmd -pthread tests/test-avccmd.o -Lsrc -lm -lffado -lpthread -liec61883 -lraw1394 -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lrt -lglib-2.0
g++ -o tests/test-bufferops.o -c -O2 -m64 -fPIC -pthread -DNDEBUG -I. -Isrc -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include tests/test-bufferops.cpp
In file included from tests/test-bufferops.cpp:29:0:
src/libstreaming/amdtp/AmdtpBufferOps.h:38:2: warning: #warning SSE2 build [-Wcpp]
g++ -o tests/test-bufferops -pthread tests/test-bufferops.o -Lsrc -lm -lffado -lpthread -liec61883 -lraw1394 -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lrt -lglib-2.0
g++ -o tests/test-devicestringparser.o -c -O2 -m64 -fPIC -pthread -DNDEBUG -I. -Isrc -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include tests/test-devicestringparser.cpp
g++ -o tests/test-devicestringparser -pthread tests/test-devicestringparser.o -Lsrc -lm -lffado -lpthread -liec61883 -lraw1394 -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lrt -lglib-2.0
g++ -o tests/test-dice-eap.o -c -O2 -m64 -fPIC -pthread -DNDEBUG -I. -Isrc -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include tests/test-dice-eap.cpp
tests/test-dice-eap.cpp: In function 'int main(int, char**)':
tests/test-dice-eap.cpp:296:16: error: 'sleep' was not declared in this scope
scons: *** [tests/test-dice-eap.o] Error 1
scons: building terminated because of errors.
make: *** [debian/stamp-scons-build] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit status 2





More information about the pkg-multimedia-maintainers mailing list