Summary: | sys-apps/busybox should use REQUIRED_USE to stop users from combining USE="static pam" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kobboi <gentoo> |
Component: | [OLD] Development | Assignee: | Embedded Gentoo Team <embedded> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bes.internal, gentoo, gentoobugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Kobboi
2013-05-04 14:22:17 UTC
the default build is USE='pam static' which means REQUIRED_USE will break the build for everyone package.use in the profile would need tweaking before it be allowed even, then i'm not sure it's worthwhile. few people care about USE=pam w/bb. (In reply to SpanKY from comment #1) > the default build is USE='pam static' which means REQUIRED_USE will break > the build for everyone > > package.use in the profile would need tweaking before it be allowed > > even, then i'm not sure it's worthwhile. few people care about USE=pam w/bb. Shouldn't the default in the profiles then be USE='static'? I got the warning when updating busybox-1.21.0 even though I have nowhere altered the pam and/or static use flags (generally and for busybox). So I guess everybody gets this warning. (In reply to Erik Quaeghebeur from comment #2) there's no way we'd want the profile to globally do USE=static by default. we do however want busybox itself to default to USE=static as it is the system rescue shell. If you don't want to solve the problem in any other way than is currently done, could you please at least remove the ewarn from the ebuild? It's really confusing to users that they get this warning when (re-)emerging busybox. Especially because the phrasing ("You cannot have USE='static pam'") suggests that they did something wrong, have set up unusual (bad?) USE flags, etc., and some (like me) may spend a lot of time to research the problem. I would gladly file another bug for this, if it helps... since USE=pam is set in make.defaults in the profile, and package.use is able to override that by default, we can set USE='static -pam' in it. which then allows us to leverage REQUIRED_USE as only users who explicitly opt in to USE=pam will be affected. for now, it's only in the 9999 ebuild. if things go well, it'll go out in the next release version. http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a88ace55b415065fd71800db672557e54e065969 |