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

Bug 367991

Summary: dev-libs/redland-1.0.10-r1 - ld: cannot find -licui18n
Product: Gentoo Linux Reporter: BT <amak79>
Component: New packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
dev-libs/redland build log

Description BT 2011-05-19 05:59:58 UTC
I get the following message when I run 'emerge --depclean'.

*   dev-libs/icu-4.6.1 pulled in by:
*     dev-libs/redland-1.0.10-r1 needs libicudata.so.46, libicui18n.so.46, libicuuc.so.46

I tried running 'revdep-rebuild --library libicuuc.so.46', but that didn't help.

To see what was pulling in dev-libs/icu I ran 'equery d dev-libs/icu', which showed the following.

dev-db/sqlite-3.7.5 (icu? dev-libs/icu)
dev-lang/php-5.3.6 (intl? dev-libs/icu)
dev-libs/boost-1.42.0-r2 (icu? >=dev-libs/icu-3.3)
dev-libs/libxml2-2.7.8 (icu? dev-libs/icu)

The above packages have the icu and intl use flags disabled by default, so they aren't pulling in dev-libs/icu. I believe it was pulled in by www-client/chromium, which I have since removed.

To resolve the issue I tried removing dev-libs/icu and then emerging dev-libs/readland, but that resulted in a build failure.
Comment 1 BT 2011-05-19 06:00:32 UTC
Created attachment 273913 [details]
emerge --info
Comment 2 BT 2011-05-19 06:01:06 UTC
Created attachment 273915 [details]
dev-libs/redland build log
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-19 16:04:30 UTC
Did you run lafilefixer at any point?
Comment 4 BT 2011-05-19 23:31:23 UTC
(In reply to comment #3)
Not recently. Should I run it?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-20 01:00:21 UTC
It shouldn't matter since you run a recent portage 2.2, but there could be ancient left-overs, so YES, please run lafilefixer...
Comment 6 BT 2011-05-20 01:14:49 UTC
(In reply to comment #5)
Running lafilefixer didn't help.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2011-07-09 08:43:34 UTC
revdep-rebuild, emerge --resume --skipfirst, lafilefixer --justfixit, ...

redland doesn't use icu or have any reference to it itself, so this is caused by combination of .la file pollution, overlinking and wrong ordering of packages in revdep-rebuild (see bug 241198)