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

Bug 417225

Summary: sys-devel/gettext should depends on dev-libs/icu
Product: Gentoo Linux Reporter: Jacek Szafarkiewicz <hadogenes+gentoo>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.