sys-apps/quota installation uses "msgfmt" from sys-devel/gettext regardless of whether nls is in USE or not, and does not list it as a dependency. Reproducible: Always Steps to Reproduce: 1. unmerge sys-devel/gettext 2. merge sys-apps/quota Actual Results: >>> Install quota-3.06-r2 into /var/tmp/portage/quota-3.06-r2/image/ category sys-apps for n in po/pl.po; do \ msgfmt -o po/`basename $n .po`.mo $n; \ done /bin/sh: line 1: msgfmt: command not found make: *** [mo] Error 127 !!! ERROR: sys-apps/quota-3.06-r2 failed. !!! Function src_install, Line 36, Exitcode 2 !!! (no error message) Expected Results: The ebuild needs to take its USE flags into account properly.
Created attachment 27275 [details] ebuild for latest 3.11 version with proposed changes
Created attachment 27276 [details, diff] Patch needed to disable nls
See attachments. The ebuild is for the latest version (3.11) which is not yet in the portage tree, but the changes should be safe to backport to existing quota ebuilds.
*** Bug 45005 has been marked as a duplicate of this bug. ***
when would it make it into the portage ? i failed to use the attachements in properly modified ebuild :\
Created attachment 42813 [details] quota-3.12-r1.ebuild This package obviously have been renamed to sys-fs/quota; unfortunately the bug is still present in portage package sys-fs/quota-3.12. linuxquota 3.12 supports the --enable-nls configuration option so there is no longer any need to patch the source. Fixed ebuild for this version is attached.
i have tested this ebuild and it seems to work just fine. please put it in portage tree for others :D
added to 3.12 thanks :)