Bug#667213: jcgui: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:09:41 UTC 2012


Package: jcgui
Version: 0.7+dfsg0-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.

../src/gx_ui.cpp:161:17: 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/jcgui_0.7+dfsg0-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.

[...]
C++ flags                               
Install prefix                           : /usr 
Install binary                           : /usr/bin 
Jc_Gui share directory                   : /usr/share/Jc_Gui 
Jc_Gui pixmaps directory                 : /usr/share/pixmaps 

make[1]: Leaving directory `/«BUILDDIR»/jcgui-0.7+dfsg0'
   debian/rules override_dh_auto_build
make[1]: Entering directory `/«BUILDDIR»/jcgui-0.7+dfsg0'
./waf
[ 1/16] cxx: src/gx_globals.cpp -> build/default/src/gx_globals_1.o
[ 2/16] cxx: src/gx_child_process.cpp -> build/default/src/gx_child_process_1.o
[ 3/16] cxx: src/gx_engine.cpp -> build/default/src/gx_engine_1.o
[ 4/16] cxx: src/gx_main_interface.cpp -> build/default/src/gx_main_interface_1.o
[ 5/16] cxx: src/gx_gui_helpers.cpp -> build/default/src/gx_gui_helpers_1.o
[ 6/16] cxx: src/gx_jack.cpp -> build/default/src/gx_jack_1.o
[ 7/16] cxx: src/gx_jconv_settings.cpp -> build/default/src/gx_jconv_settings_1.o
[ 8/16] cxx: src/gx_preset.cpp -> build/default/src/gx_preset_1.o
[ 9/16] cxx: src/gx_sndfile.cpp -> build/default/src/gx_sndfile_1.o
[10/16] cxx: src/gx_system.cpp -> build/default/src/gx_system_1.o
[11/16] cxx: src/gx_ui.cpp -> build/default/src/gx_ui_1.o
../src/gx_ui.cpp: In member function 'bool gx_ui::GxUI::renamePreset(const char*, const char*, const char*)':
../src/gx_ui.cpp:161:17: error: 'usleep' was not declared in this scope
Build failed
 -> task failed (err #1): 
	{task: cxx gx_ui.cpp -> gx_ui_1.o}
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/«BUILDDIR»/jcgui-0.7+dfsg0'
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