Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435286 - games-strategy/megaglest requires dev-libs/xerces-c to be emerged with USE="icu"
Summary: games-strategy/megaglest requires dev-libs/xerces-c to be emerged with USE="icu"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-17 00:27 UTC by lordcirth
Modified: 2012-09-17 22:31 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 lordcirth 2012-09-17 00:27:57 UTC
Emerging games-strategy/megaglest will pull in dev-libs/xerces-c. But megaglest will not actually run unless xerces-c was emerged with USE="icu"

Reproducible: Always

Steps to Reproduce:
1. Emerge xerces-c with USE="-icu"
2. Emerge megaglest
3. Note how emerge does not re-emerge xerces or ask for USE changes
4. Run /usr/games/bin/megaglest, and observe crash.
Actual Results:  
Crashed with: 

lordcirth@Gentoo-Libre ~ $ megaglest
megaglest v3.6.0.3
Compiled using: GNUC: 40504 [64bit] on: Sep 15 2012 23:04:16
SVN: [$Rev: 3070 $] - using STREFLOP
Could not open catalog:
 XercesMessages_en_US.cat
 or XercesMessages_en_US.cat
In [/var/tmp/portage/games-strategy/megaglest-3.6.0.3/work/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
Error saved to logfile [/home/lordcirth/.megaglest/error.log]
[2012-09-16 18:55:20] *ERROR* In [/var/tmp/portage/games-strategy/megaglest-3.6.0.3/work/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 416] [In [/var/tmp/portage/games-strategy/megaglest-3.6.0.3/work/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
] gameInitialized = 0, program = 0xbe2950
[2012-09-16 18:55:20] *ERROR* In [/var/tmp/portage/games-strategy/megaglest-3.6.0.3/work/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 509] [In [/var/tmp/portage/games-strategy/megaglest-3.6.0.3/work/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:

Stack Trace:
megaglest:Glest::Game::handleSIGSEGV(int) address [0x5b4cf1] line: 0
/lib64/libc.so.6:() address [0x7f08bb124c50] line: 0
/usr/lib64/libfreetype.so.6:FT_Done_Face() address [0x7f08b7cfb3a6] line: 0
/usr/lib64/libftgl.so.2:FTFace::~FTFace() address [0x7f08bbde77d5] line: 0
/usr/lib64/libftgl.so.2:FTTextureFontImpl::~FTTextureFontImpl() address [0x7f08bbdf3149] line: 0
/usr/lib64/libftgl.so.2:FTTextureFont::~FTTextureFont() address [0x7f08bbdf25a9] line: 0
megaglest:Shared::Graphics::Gl::TextFTGL::cleanupFont() address [0x7bfa73] line: 0
megaglest:Shared::Graphics::Gl::TextFTGL::~TextFTGL() address [0x7bfab4] line: 0
megaglest:Shared::Graphics::Gl::TextFTGL::~TextFTGL() address [0x7bfae9] line: 0
megaglest:Shared::Graphics::Font::~Font() address [0x7aef7e] line: 0
megaglest:Shared::Graphics::Gl::Font3DGl::~Font3DGl() address [0x7c8030] line: 0
megaglest:Shared::Graphics::FontManager::end() address [0x7b2722] line: 0
megaglest:Shared::Graphics::FontManager::~FontManager() address [0x7b2774] line: 0
megaglest:Shared::Graphics::FontManager::~FontManager() address [0x7b27c9] line: 0

Expected Results:  
Should have started and loaded menu.

AMD Phenom 1090t 3.2Ghz X6
nVidia NV98 - nouveau driver
profile Desktop
Openbox WM


Problem can currently be worked around by adding "=dev-libs/xerces-c-3.1.1-r1 icu" to /etc/portage/package.use, and re-emerging dev-libs/xerces-c.
Comment 1 Julian Ospald 2012-09-17 22:31:29 UTC
this isn't really a minor issue

thanks for reporting!

+  17 Sep 2012; Julian Ospald <hasufell@gentoo.org> megaglest-3.6.0.3.ebuild,
+  metadata.xml:
+  fix some flags/dependencies, also wrt #435286