Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417225 - sys-devel/gettext should depends on dev-libs/icu
Summary: sys-devel/gettext should depends on dev-libs/icu
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-23 07:45 UTC by Jacek Szafarkiewicz
Modified: 2012-05-24 00:45 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 Jacek Szafarkiewicz 2012-05-23 07:45:28 UTC
After updating icu I had to rebuild gettext (link error), but in depand of gettext ebuild

/var/db/pkg/sys-devel/gettext-0.18.1.1-r1/NEEDED:
... libicui18n.so.48,libicuuc.so.48,libicudata.so.48 ...

ldd /usr/lib64/libgettextlib-0.18.1.so | grep icu
	libicui18n.so.48 => not found
	libicuuc.so.48 => not found
	libicudata.so.48 => not found
	libicuuc.so.48 => not found


Reproducible: Always
Comment 1 Jacek Szafarkiewicz 2012-05-23 07:53:54 UTC
Sorry, I've made mistake in the description:
...in depand of gettext ebuild there's no such enrty

$ cat /var/db/pkg/sys-devel/gettext-0.18.1.1-r1/*DEPEND:
virtual/libiconv dev-libs/libxml2 sys-libs/ncurses dev-libs/expat virtual/acl
virtual/libiconv dev-libs/libxml2 sys-libs/ncurses dev-libs/expat virtual/acl dev-vcs/git
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-24 00:45:00 UTC
It seems you don't know how ldd works. ldd lists all the libraries your binary dynamically links to as well as everything those dynamically link to. As it turns out, libgettextlib-0.18.1.so links to libxml2.so, which is from dev-libs/libxml2 which has a proper dependency on dev-libs/icu if USE=icu is set.

Just run revdep-rebuild, please.