Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264971 - games-puzzle/enigma-1.01 needs dev-libs/xerces-c-3.0.1 ICU useflag set
Summary: games-puzzle/enigma-1.01 needs dev-libs/xerces-c-3.0.1 ICU useflag set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-05 14:10 UTC by Small_Penguin
Modified: 2009-06-29 20:19 UTC (History)
0 users

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 Small_Penguin 2009-04-05 14:10:10 UTC
It seems games-puzzle/enigma-1.01 needs the icu useflag set for xerces-c. If xerces-c is compiled without icu, then the game will not start, spewing up some nice messages (see Actual Results).

It might be possible that this error message does not occur when nls useflag for enigma is not set, but I did not test this.

I think the ebuild should take care of this dependency if possible.


Reproducible: Always

Steps to Reproduce:
1. Compile enigma with nls support enabled.
   It draws in dev-libs/xerces-c-3.0.1 without icu useflag set
2. Start enigma.

Actual Results:  
Could not open catalog:
 XercesMessages_enUS.cat
 or xercesMessages_en_US.cat
Cannot load message domain

Behold the fucking error messages. Game does not start.


Expected Results:  
Start the game (for playing).


Solution:

USE='icu' emerge dev-libs/xerces-c -v1

Interesting `Message for package xerces-c':
* This package can use iconv or icu for loading messages
* and transcoding, but not both. ICU will precede.

After this, the game will start fine.
Comment 1 Dieter Ries 2009-06-29 15:43:47 UTC
I can confirm that, exactly the same behaviour here.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2009-06-29 16:32:01 UTC
added a use-based dep.
Comment 3 Martin Väth 2009-06-29 20:00:08 UTC
If xerces-c is compiled without iconv, then the game starts just fine
(as the other poster, I had compiled enigma with USE=nls).

So I ask to change the dependency to

|| ( dev-libs/xerces-c[icu] || dev-libs/xerces-c[-icu,-iconv] )

This would avoid the dependency from the terribly huge dev-libs/icu package
which is currently the case...
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2009-06-29 20:19:34 UTC
sure.  updated the dep in portage.