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

Bug 398981

Summary: sys-libs/glibc-2.13-r4.ebuild: should probably not RDEPEND on sys-devel/gettext
Product: Gentoo Linux Reporter: Maxim Kammerer <mk>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Maxim Kammerer 2012-01-15 13:17:59 UTC
glibc has gettext in both DEPEND and RDEPEND. However, the point of libintl is that glibc implements the gettext API, no? A glibc-based system without gettext works fine, and glibc has no scripts that could call gettext binaries:

# egrep '(msgen|msgattrib|msgfilter|gettext.sh|gettextize|recode-sr-latin|msgcomm|msgconv|msgexec|msggrep|msginit|msguniq|msgcat|msgcmp|msgfmt|gmsgfmt|envsubst|autopoint|ngettext|xgettext|msgmerge|msgunfmt)' `qlist -e glibc| g bin/`
# egrep gettext `qlist -e glibc| g bin/`Binary file /usr/bin/lddlibc4 matches
Binary file /usr/bin/iconv matches
Binary file /usr/bin/sprof matches
Binary file /usr/bin/getconf matches
Binary file /usr/bin/gencat matches
Binary file /usr/bin/getent matches
Binary file /usr/bin/locale matches
Binary file /usr/bin/pcprofiledump matches
Binary file /usr/bin/rpcgen matches
Binary file /usr/bin/localedef matches
Binary file /usr/sbin/nscd matches
Binary file /usr/sbin/rpcinfo matches
Binary file /usr/sbin/iconvconfig matches
Comment 1 SpanKY gentoo-dev 2012-01-17 23:36:08 UTC
was first added to the 2.2.1-r1 ebuild, but with no documentation as to why:
http://sources.gentoo.org/sys-libs/glibc/glibc-2.2.1-r1.ebuild?revision=1.2

the only reason i could guess is that the gettext programs are used to generate .mo files which glibc itself will read for localization

i'm inclined to delete it from both DEPEND and RDEPEND