Bug#667322: pianobooster: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:11:36 UTC 2012


Package: pianobooster
Version: 0.6.4-3
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.

unrecognized command line option '-mwindows'

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

[...]
[ 67%] Building CXX object CMakeFiles/pianobooster.dir/Cfg.o
[ 69%] Building CXX object CMakeFiles/pianobooster.dir/Piano.o
[ 71%] Building CXX object CMakeFiles/pianobooster.dir/Draw.o
[ 72%] Building CXX object CMakeFiles/pianobooster.dir/Scroll.o
/«PKGBUILDDIR»/src/Scroll.cpp: In member function 'void CScroll::compileSlot(CScroll::CSlotDisplayList)':
/«PKGBUILDDIR»/src/Scroll.cpp:50:9: warning: unused variable 'av8Left' [-Wunused-variable]
[ 74%] Building CXX object CMakeFiles/pianobooster.dir/Notation.o
[ 76%] Building CXX object CMakeFiles/pianobooster.dir/TrackList.o
[ 77%] Building CXX object CMakeFiles/pianobooster.dir/Rating.o
[ 79%] Building CXX object CMakeFiles/pianobooster.dir/Bar.o
[ 81%] Building CXX object CMakeFiles/pianobooster.dir/Settings.o
[ 83%] Building CXX object CMakeFiles/pianobooster.dir/Merge.o
[ 84%] Building CXX object CMakeFiles/pianobooster.dir/moc_QtWindow.o
[ 86%] Building CXX object CMakeFiles/pianobooster.dir/moc_GlView.o
[ 88%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiTopBar.o
[ 89%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiSidePanel.o
[ 91%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiMidiSetupDialog.o
[ 93%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiKeyboardSetupDialog.o
[ 94%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiPreferencesDialog.o
[ 96%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiSongDetailsDialog.o
[ 98%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiLoopingPopup.o
[100%] Building CXX object CMakeFiles/pianobooster.dir/qrc_application.o
Linking CXX executable pianobooster
c++: error: unrecognized command line option '-mwindows'
make[3]: *** [pianobooster] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/build-tree'
make[2]: *** [CMakeFiles/pianobooster.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the Pkg-games-devel mailing list