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
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
should be all set now in the tree; thanks for the report! Commit message: Drop gettext dep (cannot think of a reason for it), and drop USE=nls since the --disable-nls flag has not been in the glibc source for quite some time http://sources.gentoo.org/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.22&r2=1.23 http://sources.gentoo.org/sys-libs/glibc/glibc-2.9_p20081201-r3.ebuild?r1=1.12&r2=1.13 http://sources.gentoo.org/sys-libs/glibc/glibc-2.10.1-r1.ebuild?r1=1.19&r2=1.20 http://sources.gentoo.org/sys-libs/glibc/glibc-2.11.3.ebuild?r1=1.10&r2=1.11 http://sources.gentoo.org/sys-libs/glibc/glibc-2.12.1-r3.ebuild?r1=1.8&r2=1.9 http://sources.gentoo.org/sys-libs/glibc/glibc-2.12.2.ebuild?r1=1.13&r2=1.14 http://sources.gentoo.org/sys-libs/glibc/glibc-2.13-r2.ebuild?r1=1.9&r2=1.10 http://sources.gentoo.org/sys-libs/glibc/glibc-2.13-r4.ebuild?r1=1.10&r2=1.11 http://sources.gentoo.org/sys-libs/glibc/glibc-2.14.1-r1.ebuild?r1=1.2&r2=1.3 http://sources.gentoo.org/sys-libs/glibc/glibc-2.14.1-r2.ebuild?r1=1.2&r2=1.3 http://sources.gentoo.org/sys-libs/glibc/glibc-2.14.1.ebuild?r1=1.4&r2=1.5 http://sources.gentoo.org/sys-libs/glibc/glibc-2.14.ebuild?r1=1.13&r2=1.14 http://sources.gentoo.org/sys-libs/glibc/glibc-2.15.ebuild?r1=1.3&r2=1.4 http://sources.gentoo.org/sys-libs/glibc/glibc-9999.ebuild?r1=1.4&r2=1.5