Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361753 - sys-apps/man should DEPEND on sys-apps/shadow
Summary: sys-apps/man should DEPEND on sys-apps/shadow
Status: RESOLVED DUPLICATE of bug 264386
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-03 07:47 UTC by Kfir Lavi
Modified: 2011-04-04 15:54 UTC (History)
0 users

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 Kfir Lavi 2011-04-03 07:47:15 UTC
Hi,
I'm using catalyst, and my build fails when man ebuild try to run groupadd which is part of sys-apps/shadow. 
I don't have sys-apps/shadow in the stage, and so, I have added 
DEPEND="nls? ( sys-devel/gettext ) sys-apps/shadow"
This will enable build time dependency in order to have groupadd. 

This also can be approached by adding DEPEND="${DEPEND} sys-apps/shadow" from the /usr/portage/eclass/eutils.eclass that actually implement enewgroup, which uses groupadd. 
In my opinion this is the best approach to this problem, as it will allow every ebuild on the tree to have this build time dependency, without actually specifying it in the ebuild. 
What I'm not sure of, is if you add the line:
DEPEND="${DEPEND} sys-apps/shadow"
in the function enewgroup() {...
Will portage actually know about it in time of dependency calculation? I'm not sure. 

Regards,
Kfir

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2011-04-04 15:54:01 UTC

*** This bug has been marked as a duplicate of bug 264386 ***