Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 220409

Summary: games-strategy/boson-0.13 fails w/ gcc-4.3.0; bump, love and patch
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Gentoo Games <games>
Severity: normal CC: esigra
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on: 220357    
Bug Blocks: 198121, 224679    
Attachments: boson-0.13--0.13-r1.ebuild.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-05-05 17:03:47 UTC
[  7%] Built target bogl
Scanning dependencies of target ufo
[  7%] Building CXX object code/ufo/src/CMakeFiles/ufo.dir/uabstractcontext.o
[  7%] Building CXX object code/kgame/CMakeFiles/kgame.dir/kgameproperty.o
In file included from /var/tmp/portage/games-strategy/boson-0.13/work/boson-all-0.13/code/ufo/include/ufo/ucontext.hpp:36,
                 from /var/tmp/portage/games-strategy/boson-0.13/work/boson-all-0.13/code/ufo/include/ufo/uabstractcontext.hpp:32,
                 from /var/tmp/portage/games-strategy/boson-0.13/work/boson-all-0.13/code/ufo/src/uabstractcontext.cpp:29:
/var/tmp/portage/games-strategy/boson-0.13/work/boson-all-0.13/code/ufo/include/ufo/util/urectangle.hpp: In constructor ‘ufo::URectangle::URectangle(const ufo::UPoint&, const ufo::UPoint&)’:
/var/tmp/portage/games-strategy/boson-0.13/work/boson-all-0.13/code/ufo/include/ufo/util/urectangle.hpp:223: error: ‘abs’ is not a member of ‘std’
/var/tmp/portage/games-strategy/boson-0.13/work/boson-all-0.13/code/ufo/include/ufo/util/urectangle.hpp:224: error: ‘abs’ is not a member of ‘std’
/var/tmp/portage/games-strategy/boson-0.13/work/boson-all-0.13/code/ufo/src/uabstractcontext.cpp: At global scope:
/var/tmp/portage/games-strategy/boson-0.13/work/boson-all-0.13/code/ufo/src/uabstractcontext.cpp:125: warning: unused parameter ‘info’
/var/tmp/portage/games-strategy/boson-0.13/work/boson-all-0.13/code/ufo/src/uabstractcontext.cpp:902: warning: ‘void updateVisibleWidgets(std::list<ufo::UWidget*, std::allocator<ufo::UWidget*> >*)’ defined but not used
make[2]: *** [code/ufo/src/CMakeFiles/ufo.dir/uabstractcontext.o] Error 1
make[1]: *** [code/ufo/src/CMakeFiles/ufo.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  7%] Building CXX object code/kgame/CMakeFiles/kgame.dir/kgamemessage.o
[  7%] [  7%] Building CXX object code/kgame/CMakeFiles/kgame.dir/kgameio.o
Building CXX object code/kgame/CMakeFiles/kgame.dir/kgameprocess.o
[  7%] Building CXX object code/kgame/CMakeFiles/kgame.dir/kgamechat.o
[  8%] Building CXX object code/kgame/CMakeFiles/kgame.dir/kgamepropertyhandler.o
[  8%] Building CXX object code/kgame/CMakeFiles/kgame.dir/kgameerror.o
[  8%] Building CXX object code/kgame/CMakeFiles/kgame.dir/kgamesequence.o
[  8%] Building CXX object code/kgame/CMakeFiles/kgame.dir/kmessageio.o
[  8%] Building CXX object code/kgame/CMakeFiles/kgame.dir/kmessageserver.o
[  8%] Building CXX object code/kgame/CMakeFiles/kgame.dir/kmessageclient.o
[  8%] Building CXX object code/kgame/CMakeFiles/kgame.dir/kgamedebugdialog.o
Linking CXX static library libkgame.a
[  8%] Built target kgame
make: *** [all] Error 2
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-05 17:08:43 UTC
Created attachment 151955 [details, diff]

So I really set out to only fix the GCC 4.3.0 thing and that's in there too. But Debian just had so many nice patches lying around, among them some that would make boson build with amd64. Unfortunately their patch-set doesn't apply to our tar-ball unless we're willing to do some serious sedding - they chose to use the individual tarballs each for code, sound, data. So I made a patchball (below) and gave the ebuild a little love. It depends on the ebuild in bug 220357 which is a lightweight sgml-to-man converter for converting the Debian man-pages.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-05 17:09:17 UTC
Created attachment 151957 [details]
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-02 22:11:57 UTC
InCVS, per IRC msg from MrBones. The version in CVS uses cmake-utils eclass.