[Debian-zh-dev] Bug#667169: fqterm: ftbfs with GCC-4.7

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


Package: fqterm
Version: 0.9.6.10-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.

fqterm_trace.h:62:9: error: 'pause' 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/fqterm_0.9.6.10-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.

[...]
/usr/bin/make -f CMakeFiles/Makefile2 all
make[2]: Entering directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
/usr/bin/make -f src/common/CMakeFiles/fqterm_common.dir/build.make src/common/CMakeFiles/fqterm_common.dir/depend
make[3]: Entering directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 9
[  1%] Generating fqterm_shortcuthelper.moc
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/common && /usr/bin/moc-qt4 -o /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/common/fqterm_shortcuthelper.moc /«PKGBUILDDIR»/src/common/fqterm_shortcuthelper.h
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 8
[  2%] Generating fqterm_sound.moc
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/common && /usr/bin/moc-qt4 -o /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/common/fqterm_sound.moc /«PKGBUILDDIR»/src/common/fqterm_sound.h
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /«PKGBUILDDIR» /«PKGBUILDDIR»/src/common /«PKGBUILDDIR»/obj-x86_64-linux-gnu /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/common /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/common/CMakeFiles/fqterm_common.dir/DependInfo.cmake --color=
Scanning dependencies of target fqterm_common
make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
/usr/bin/make -f src/common/CMakeFiles/fqterm_common.dir/build.make src/common/CMakeFiles/fqterm_common.dir/build
make[3]: Entering directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 1
[  3%] Building CXX object src/common/CMakeFiles/fqterm_common.dir/common.o
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/common && /usr/bin/g++   -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DAUDIO_OSS -D_OS_LINUX_ -DQT_NO_DEBUG -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Os -DNDEBUG -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/common    -Wall -D FQTERM_VERSION_STRING=\"0.9.6\" -D FQTERM_SVN_REVISION=\"0\" -o CMakeFiles/fqterm_common.dir/common.o -c /«PKGBUILDDIR»/src/common/common.cpp
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 2
[  4%] Building CXX object src/common/CMakeFiles/fqterm_common.dir/fqterm_trace.o
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/common && /usr/bin/g++   -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DAUDIO_OSS -D_OS_LINUX_ -DQT_NO_DEBUG -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Os -DNDEBUG -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/common    -Wall -D FQTERM_VERSION_STRING=\"0.9.6\" -D FQTERM_SVN_REVISION=\"0\" -o CMakeFiles/fqterm_common.dir/fqterm_trace.o -c /«PKGBUILDDIR»/src/common/fqterm_trace.cpp
In file included from /«PKGBUILDDIR»/src/common/fqterm_trace.cpp:29:0:
/«PKGBUILDDIR»/src/common/fqterm_trace.h: In function 'void FQTerm::soft_break()':
/«PKGBUILDDIR»/src/common/fqterm_trace.h:62:9: error: 'pause' was not declared in this scope
make[3]: *** [src/common/CMakeFiles/fqterm_common.dir/fqterm_trace.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [src/common/CMakeFiles/fqterm_common.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the Chinese-developers mailing list