Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468912 - [gamerlay] games-rpg/solarus does not build
Summary: [gamerlay] games-rpg/solarus does not build
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vadim A. Misbakh-Soloviov (mva)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-07 18:45 UTC by No Name
Modified: 2013-05-17 19:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description No Name 2013-05-07 18:45:16 UTC
...

[ 66%] Building CXX object src/CMakeFiles/solarus.dir/TransitionScrolling.cpp.o
cd /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/src && /usr/bin/i686-pc-linux-gnu-g++  -DDATAPATH=\"/usr/share/games/solarus\"  -DNDEBUG -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer  -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include/snes_spc    -g -ansi -pedantic -Wall -Werror -o CMakeFiles/solarus.dir/TransitionScrolling.cpp.o -c /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/src/TransitionScrolling.cpp
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/CMakeFiles 
[ 66%] Building CXX object src/CMakeFiles/solarus.dir/Dungeon.cpp.o
cd /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/src && /usr/bin/i686-pc-linux-gnu-g++  -DDATAPATH=\"/usr/share/games/solarus\"  -DNDEBUG -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer  -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include/snes_spc    -g -ansi -pedantic -Wall -Werror -o CMakeFiles/solarus.dir/Dungeon.cpp.o -c /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/src/Dungeon.cpp
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/CMakeFiles 49
[ 67%] Building CXX object src/CMakeFiles/solarus.dir/SpriteAnimationDirection.cpp.o
cd /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/src && /usr/bin/i686-pc-linux-gnu-g++  -DDATAPATH=\"/usr/share/games/solarus\"  -DNDEBUG -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer  -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include/snes_spc    -g -ansi -pedantic -Wall -Werror -o CMakeFiles/solarus.dir/SpriteAnimationDirection.cpp.o -c /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/src/SpriteAnimationDirection.cpp
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/CMakeFiles 
[ 67%] Building CXX object src/CMakeFiles/solarus.dir/GameoverSequence.cpp.o
cd /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/src && /usr/bin/i686-pc-linux-gnu-g++  -DDATAPATH=\"/usr/share/games/solarus\"  -DNDEBUG -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer  -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include/snes_spc    -g -ansi -pedantic -Wall -Werror -o CMakeFiles/solarus.dir/GameoverSequence.cpp.o -c /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/src/GameoverSequence.cpp
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/CMakeFiles 50
[ 68%] Building CXX object src/CMakeFiles/solarus.dir/lowlevel/FileTools.cpp.o
cd /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/src && /usr/bin/i686-pc-linux-gnu-g++  -DDATAPATH=\"/usr/share/games/solarus\"  -DNDEBUG -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer  -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include/snes_spc    -g -ansi -pedantic -Wall -Werror -o CMakeFiles/solarus.dir/lowlevel/FileTools.cpp.o -c /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/src/lowlevel/FileTools.cpp
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/CMakeFiles 
[ 68%] Building CXX object src/CMakeFiles/solarus.dir/lowlevel/Music.cpp.o
cd /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/src && /usr/bin/i686-pc-linux-gnu-g++  -DDATAPATH=\"/usr/share/games/solarus\"  -DNDEBUG -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer  -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include/snes_spc    -g -ansi -pedantic -Wall -Werror -o CMakeFiles/solarus.dir/lowlevel/Music.cpp.o -c /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/src/lowlevel/Music.cpp
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/CMakeFiles 51
[ 69%] Building CXX object src/CMakeFiles/solarus.dir/lowlevel/Sound.cpp.o
cd /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/src && /usr/bin/i686-pc-linux-gnu-g++  -DDATAPATH=\"/usr/share/games/solarus\"  -DNDEBUG -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer  -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include/snes_spc    -g -ansi -pedantic -Wall -Werror -o CMakeFiles/solarus.dir/lowlevel/Sound.cpp.o -c /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/src/lowlevel/Sound.cpp
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/CMakeFiles 
[ 69%] Building CXX object src/CMakeFiles/solarus.dir/lowlevel/VideoManager.cpp.o
cd /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/src && /usr/bin/i686-pc-linux-gnu-g++  -DDATAPATH=\"/usr/share/games/solarus\"  -DNDEBUG -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer  -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include/snes_spc    -g -ansi -pedantic -Wall -Werror -o CMakeFiles/solarus.dir/lowlevel/VideoManager.cpp.o -c /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/src/lowlevel/VideoManager.cpp
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/CMakeFiles 52
[ 70%] Building CXX object src/CMakeFiles/solarus.dir/lowlevel/TextSurface.cpp.o
cd /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build/src && /usr/bin/i686-pc-linux-gnu-g++  -DDATAPATH=\"/usr/share/games/solarus\"  -DNDEBUG -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer  -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include -I/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/include/snes_spc    -g -ansi -pedantic -Wall -Werror -o CMakeFiles/solarus.dir/lowlevel/TextSurface.cpp.o -c /var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/src/lowlevel/TextSurface.cpp
/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/src/lowlevel/VideoManager.cpp: In Elementfunktion »void VideoManager::blit_scale2x(Surface*, Surface*)«:
/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/src/lowlevel/VideoManager.cpp:340:7: Fehler: Variable »a« gesetzt, aber nicht verwendet [-Werror=unused-but-set-variable]
/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/src/lowlevel/VideoManager.cpp:340:13: Fehler: Variable »c« gesetzt, aber nicht verwendet [-Werror=unused-but-set-variable]
/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/src/lowlevel/VideoManager.cpp:340:29: Fehler: Variable »g« gesetzt, aber nicht verwendet [-Werror=unused-but-set-variable]
/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999/src/lowlevel/VideoManager.cpp:340:35: Fehler: Variable »i« gesetzt, aber nicht verwendet [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/solarus.dir/lowlevel/VideoManager.cpp.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: Leaving directory `/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build'
make[1]: *** [src/CMakeFiles/solarus.dir/all] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build'
make: *** [all] Fehler 2
emake failed
 * ERROR: games-rpg/solarus-9999 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3037:  Called cmake-utils_src_compile
 *   environment, line  749:  Called _execute_optionaly 'src_compile'
 *   environment, line  257:  Called enable_cmake-utils_src_compile
 *   environment, line 1032:  Called cmake-utils_src_make
 *   environment, line  764:  Called emake_src_make
 *   environment, line 1000:  Called die
 * The specific snippet of code:
 *           emake VERBOSE=1 "$@" || die;
 * 
 * If you need support, post the output of `emerge --info '=games-rpg/solarus-9999'`,
 * the complete build log and the output of `emerge -pqv '=games-rpg/solarus-9999'`.
 * This ebuild is from an overlay named 'gamerlay': '/var/lib/layman/gamerlay/'
 * The complete build log is located at '/var/tmp/portage/games-rpg/solarus-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-rpg/solarus-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build'
 * S: '/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999'

>>> Failed to emerge games-rpg/solarus-9999, Log file:

>>>  '/var/tmp/portage/games-rpg/solarus-9999/temp/build.log'

 * Messages for package games-rpg/solarus-9999:

 * ERROR: games-rpg/solarus-9999 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3037:  Called cmake-utils_src_compile
 *   environment, line  749:  Called _execute_optionaly 'src_compile'
 *   environment, line  257:  Called enable_cmake-utils_src_compile
 *   environment, line 1032:  Called cmake-utils_src_make
 *   environment, line  764:  Called emake_src_make
 *   environment, line 1000:  Called die
 * The specific snippet of code:
 *           emake VERBOSE=1 "$@" || die;
 * 
 * If you need support, post the output of `emerge --info '=games-rpg/solarus-9999'`,
 * the complete build log and the output of `emerge -pqv '=games-rpg/solarus-9999'`.
 * This ebuild is from an overlay named 'gamerlay': '/var/lib/layman/gamerlay/'
 * The complete build log is located at '/var/tmp/portage/games-rpg/solarus-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-rpg/solarus-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999_build'
 * S: '/var/tmp/portage/games-rpg/solarus-9999/work/solarus-9999'
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2013-05-07 18:50:18 UTC
this bugzilla is for the portage tree.  contact your overlay maintainer for help with that.
Comment 2 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2013-05-07 19:11:17 UTC
Chris, it'd be better, if you paste build.log as attach next time. And, moreover, build with "LC_ALL=C emerge pkg" (since not all of us can read deutch error messages.

And talking on your problem: it is easy to fix it by either patching makefile/buildsystem or hacking on C(XX)FLAGS. I just added package maintainer (if he's still alive) in CC to get him time to fix it. If he don't answer in few days — I'll fix it myself.
Comment 3 No Name 2013-05-14 13:46:18 UTC
Sorry, but everytime I want to open a bug and attach files there is needed an id from me and I cant attach files ...

Dont know why.

The problem is:

cc1plus: all warnings being treated as errors

right? Only change this flag that warnings are ignored and it should work is that right? And for other tips thanks I will do that next time.
Comment 4 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2013-05-17 19:09:50 UTC
Hi Chris!
1) your issues with bugzilla are very strange and, it seems, should be targeted to bugzilla admins...
2) I just fixed ebuild, so game now compiles fine. Although, since we're avoiding compilator warnings, it may crash in runtime.
Comment 5 No Name 2013-05-17 19:41:35 UTC
Hello,

thanks for fixing. It is compiling fine now. But like you said if i select german as language for example the game crash:

Cannot find string with key 'selection_menu.phase.select_file'
terminate called after throwing an instance of 'std::logic_error'
  what():  Cannot find string with key 'selection_menu.phase.select_file'
Abgebrochen

And if select the default language than it is workuing but if i press x on my keyboard for example it is crashing again. What is the problem with the compiler warnings? I mean many applications has compiler warnings... Also maybe it need a other compiler for compiling it?!? because on github the game is under work and it dont look like it is unplayable. should be able to comopile fine and work without errors, therefore i think something on gentoo or so is not working right.
Comment 6 No Name 2013-05-17 19:43:34 UTC
I mean a other version of compiler like other apps which need a old gcc version to compile fine?!?