Bug#667143: critterding: ftbfs with GCC-4.7

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


Package: critterding
Version: 1.0-beta12.1-1.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.

evolution.cpp:134:15: error: 'usleep' 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/critterding_1.0-beta12.1-1.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.

[...]
mv -f .deps/race.Tpo .deps/race.Plo
/bin/bash ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../utils/bullet -fopenmp  -I/usr/include/freetype2 -I/usr/include/FTGL    -g -O2 -MT testworld1.lo -MD -MP -MF .deps/testworld1.Tpo -c -o testworld1.lo testworld1.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../utils/bullet -fopenmp -I/usr/include/freetype2 -I/usr/include/FTGL -g -O2 -MT testworld1.lo -MD -MP -MF .deps/testworld1.Tpo -c testworld1.cpp  -fPIC -DPIC -o .libs/testworld1.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../utils/bullet -fopenmp -I/usr/include/freetype2 -I/usr/include/FTGL -g -O2 -MT testworld1.lo -MD -MP -MF .deps/testworld1.Tpo -c testworld1.cpp -o testworld1.o >/dev/null 2>&1
mv -f .deps/testworld1.Tpo .deps/testworld1.Plo
/bin/bash ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../utils/bullet -fopenmp  -I/usr/include/freetype2 -I/usr/include/FTGL    -g -O2 -MT roundworld.lo -MD -MP -MF .deps/roundworld.Tpo -c -o roundworld.lo roundworld.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../utils/bullet -fopenmp -I/usr/include/freetype2 -I/usr/include/FTGL -g -O2 -MT roundworld.lo -MD -MP -MF .deps/roundworld.Tpo -c roundworld.cpp  -fPIC -DPIC -o .libs/roundworld.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../utils/bullet -fopenmp -I/usr/include/freetype2 -I/usr/include/FTGL -g -O2 -MT roundworld.lo -MD -MP -MF .deps/roundworld.Tpo -c roundworld.cpp -o roundworld.o >/dev/null 2>&1
mv -f .deps/roundworld.Tpo .deps/roundworld.Plo
/bin/bash ../../../libtool --tag=CXX   --mode=link g++  -g -O2   -o libmodes.la  race.lo testworld1.lo roundworld.lo  
libtool: link: ar cru .libs/libmodes.a .libs/race.o .libs/testworld1.o .libs/roundworld.o 
libtool: link: ranlib .libs/libmodes.a
libtool: link: ( cd ".libs" && rm -f "libmodes.la" && ln -s "../libmodes.la" "libmodes.la" )
make[4]: Leaving directory `/«PKGBUILDDIR»/src/scenes/modes'
make[4]: Entering directory `/«PKGBUILDDIR»/src/scenes'
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../utils/bullet -fopenmp  -I/usr/include/freetype2 -I/usr/include/FTGL    -g -O2 -MT evolution.lo -MD -MP -MF .deps/evolution.Tpo -c -o evolution.lo evolution.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../utils/bullet -fopenmp -I/usr/include/freetype2 -I/usr/include/FTGL -g -O2 -MT evolution.lo -MD -MP -MF .deps/evolution.Tpo -c evolution.cpp  -fPIC -DPIC -o .libs/evolution.o
evolution.cpp: In member function 'virtual void Evolution::draw()':
evolution.cpp:134:15: error: 'usleep' was not declared in this scope
make[4]: *** [evolution.lo] Error 1
make[4]: Leaving directory `/«PKGBUILDDIR»/src/scenes'
make[3]: *** [check-recursive] Error 1
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
dh_auto_test: make -j1 check returned exit code 2
make[3]: Leaving directory `/«PKGBUILDDIR»/src/scenes'
make[2]: Leaving directory `/«PKGBUILDDIR»/src'
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 29
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the debian-science-maintainers mailing list