Package: ois Version: 1.3.0+dfsg0-3 Severity: important Tags: sid wheezy User: [email protected] 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. ./linux/LinuxJoyStickEvents.cpp:100:77: error: 'read' 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/ois_1.3.0+dfsg0-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. [...] /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT OISForceFeedback.lo -MD -MP -MF .deps/OISForceFeedback.Tpo -c -o OISForceFeedback.lo OISForceFeedback.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT OISForceFeedback.lo -MD -MP -MF .deps/OISForceFeedback.Tpo -c OISForceFeedback.cpp -fPIC -DPIC -o .libs/OISForceFeedback.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT OISForceFeedback.lo -MD -MP -MF .deps/OISForceFeedback.Tpo -c OISForceFeedback.cpp -o OISForceFeedback.o >/dev/null 2>&1 mv -f .deps/OISForceFeedback.Tpo .deps/OISForceFeedback.Plo /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT OISException.lo -MD -MP -MF .deps/OISException.Tpo -c -o OISException.lo OISException.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT OISException.lo -MD -MP -MF .deps/OISException.Tpo -c OISException.cpp -fPIC -DPIC -o .libs/OISException.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT OISException.lo -MD -MP -MF .deps/OISException.Tpo -c OISException.cpp -o OISException.o >/dev/null 2>&1 mv -f .deps/OISException.Tpo .deps/OISException.Plo /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT EventHelpers.lo -MD -MP -MF .deps/EventHelpers.Tpo -c -o EventHelpers.lo `test -f './linux/EventHelpers.cpp' || echo './'`./linux/EventHelpers.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT EventHelpers.lo -MD -MP -MF .deps/EventHelpers.Tpo -c ./linux/EventHelpers.cpp -fPIC -DPIC -o .libs/EventHelpers.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT EventHelpers.lo -MD -MP -MF .deps/EventHelpers.Tpo -c ./linux/EventHelpers.cpp -o EventHelpers.o >/dev/null 2>&1 mv -f .deps/EventHelpers.Tpo .deps/EventHelpers.Plo /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT LinuxInputManager.lo -MD -MP -MF .deps/LinuxInputManager.Tpo -c -o LinuxInputManager.lo `test -f './linux/LinuxInputManager.cpp' || echo './'`./linux/LinuxInputManager.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT LinuxInputManager.lo -MD -MP -MF .deps/LinuxInputManager.Tpo -c ./linux/LinuxInputManager.cpp -fPIC -DPIC -o .libs/LinuxInputManager.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT LinuxInputManager.lo -MD -MP -MF .deps/LinuxInputManager.Tpo -c ./linux/LinuxInputManager.cpp -o LinuxInputManager.o >/dev/null 2>&1 mv -f .deps/LinuxInputManager.Tpo .deps/LinuxInputManager.Plo /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT LinuxJoyStickEvents.lo -MD -MP -MF .deps/LinuxJoyStickEvents.Tpo -c -o LinuxJoyStickEvents.lo `test -f './linux/LinuxJoyStickEvents.cpp' || echo './'`./linux/LinuxJoyStickEvents.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT LinuxJoyStickEvents.lo -MD -MP -MF .deps/LinuxJoyStickEvents.Tpo -c ./linux/LinuxJoyStickEvents.cpp -fPIC -DPIC -o .libs/LinuxJoyStickEvents.o ./linux/LinuxJoyStickEvents.cpp: In member function 'virtual void OIS::LinuxJoyStick::capture()': ./linux/LinuxJoyStickEvents.cpp:100:77: error: 'read' was not declared in this scope ./linux/LinuxJoyStickEvents.cpp: In static member function 'static OIS::JoyStickInfoList OIS::LinuxJoyStick::_scanJoys()': ./linux/LinuxJoyStickEvents.cpp:275:13: error: 'close' was not declared in this scope ./linux/LinuxJoyStickEvents.cpp:283:12: error: 'close' was not declared in this scope ./linux/LinuxJoyStickEvents.cpp: In static member function 'static void OIS::LinuxJoyStick::_clearJoys(OIS::JoyStickInfoList&)': ./linux/LinuxJoyStickEvents.cpp:294:20: error: 'close' was not declared in this scope make[2]: *** [LinuxJoyStickEvents.lo] Error 1 make[2]: Leaving directory `/«BUILDDIR»/ois-1.3.0+dfsg0/src' make[1]: *** [all-recursive] Error 1 make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2
_______________________________________________ pkg-multimedia-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
