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

Bug 700750

Summary: sys-apps/shadow[-nls] depends on sys-devel/gettext
Product: Gentoo Linux Reporter: Arthur Zamarin <arthurzam>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info
build.log
autoconf.out

Description Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2019-11-20 05:37:55 UTC
Created attachment 596868 [details]
emerge info

I'm using sys-apps/shadow with USE="-nls", and it fails to build without gettext.

In ebuild, the dependency is added only with USE="nls".
In the upsteam code, https://github.com/shadow-maint/shadow/blob/4.7/configure.ac#L662 , we can the checks for gettext, which in my understanding are unconditional on gettext.

Of course, when I manually installed gettext, the ebuild was successful.
Comment 1 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2019-11-20 05:38:26 UTC
Created attachment 596870 [details]
build.log
Comment 2 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2019-11-20 05:39:19 UTC
Created attachment 596872 [details]
autoconf.out
Comment 3 Larry the Git Cow gentoo-dev 2019-11-20 10:22:31 UTC
The bug has been closed via the following commit(s):

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

commit 98dfb64b1f2b5ecfc3d2da545c7b829597af4354
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-11-20 10:21:37 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-11-20 10:22:02 +0000

    sys-apps/shadow: eautoreconf requires sys-devel/gettext
    
    Thanks-to: Arthur Zamarin <arthurzam+gentoo@gmail.com>
    Closes: https://bugs.gentoo.org/700750
    Package-Manager: Portage-2.3.79, Repoman-2.3.18
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-apps/shadow/shadow-4.7-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)