Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398981 - sys-libs/glibc-2.13-r4.ebuild: should probably not RDEPEND on sys-devel/gettext
Summary: sys-libs/glibc-2.13-r4.ebuild: should probably not RDEPEND on sys-devel/gettext
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-15 13:17 UTC by Maxim Kammerer
Modified: 2012-01-17 23:52 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 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