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

Bug 681788

Summary: sys-apps/apparmor should unconditionally depend on sys-devel/gettext
Product: Gentoo Linux Reporter: Aaron Jones <me>
Component: Current packagesAssignee: Michael Palimaka (kensington) <kensington>
Status: RESOLVED FIXED    
Severity: normal CC: hardened
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aaron Jones 2019-03-26 10:34:04 UTC
When emerging apparmor without gettext installed (e.g. you've set USE="-nls" globally and depclean removed it), the emerge fails because the apparmor Makefile unconditionally invokes msgfmt(1).

It would be best if the apparmor ebuild could get an nls USE flag to control this behaviour, but if the problem is with upstream (e.g. they do not provide a way to disable localisation), putting sys-devel/gettext into DEPEND is necessary.
Comment 1 Larry the Git Cow gentoo-dev 2019-03-28 13:17:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e119f775ad1bb6fbff97f68fcc89d15a3880c889

commit e119f775ad1bb6fbff97f68fcc89d15a3880c889
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2019-03-28 13:16:48 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2019-03-28 13:17:29 +0000

    sys-apps/apparmor-utils: add missing dependency
    
    Closes: https://bugs.gentoo.org/681788
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Michael Palimaka <kensington@gentoo.org>

 sys-apps/apparmor-utils/apparmor-utils-2.13.2.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18ea30bfa215fdc18e982b9fe8b18caa5db416e8

commit 18ea30bfa215fdc18e982b9fe8b18caa5db416e8
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2019-03-28 13:15:44 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2019-03-28 13:17:29 +0000

    sys-apps/apparmor: add missing dependency
    
    Closes: https://bugs.gentoo.org/681788
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Michael Palimaka <kensington@gentoo.org>

 sys-apps/apparmor/apparmor-2.13.2.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 2 Michael Palimaka (kensington) gentoo-dev 2019-03-28 13:19:09 UTC
Thanks for the report!