Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681788 - sys-apps/apparmor should unconditionally depend on sys-devel/gettext
Summary: sys-apps/apparmor should unconditionally depend on sys-devel/gettext
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Palimaka (kensington)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-26 10:34 UTC by Aaron Jones
Modified: 2019-03-28 13:19 UTC (History)
1 user (show)

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 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!