On Fri, 23 Jan 2015 22:46:02 +0200 Alexander Kapshuk 
<alexander.kaps...@gmail.com> wrote:

> On Fri, Jan 23, 2015 at 10:27 PM, Gevisz <gev...@gmail.com> wrote:
> 
> > On Fri, 23 Jan 2015 19:29:38 +0200 Alexander Kapshuk <
> > alexander.kaps...@gmail.com> wrote:
> >
> > > On Fri, Jan 23, 2015 at 6:53 PM, Gevisz <gev...@gmail.com> wrote:
> > >
> > > > On Fri, 23 Jan 2015 17:31:20 +0200 Alexander Kapshuk <
> > > > alexander.kaps...@gmail.com> wrote:
> > > >
> > > > > On Fri, Jan 23, 2015 at 1:46 PM, Gevisz <gev...@gmail.com> wrote:
> > > > >
> > > > > > While doing recent wold updates I get the following message:
> > > > > >
> > > > > > * Messages for package sys-apps/busybox-1.23.0-r1:
> > > > > > * You cannot have USE='static pam'.  Assuming static is more
> > important.
> > > > > >
> > > > > > However, I never set any of those two flags neither in
> > > > > > /etc/portage/make.conf
> > > > > > no in /etc/portage/packag.use. So, it is set by default.
> > > > > >
> > > > > > So, why the message above?
> > > > > >
> > > > > STATIC is enabled and PAM is disabled in the ebuild:
> > > > >
> > > > > grep IUSE `equery -q w busybox`
> > > > > IUSE="debug ipv6 livecd make-symlinks math mdev -pam selinux sep-usr
> > > > > +static syslog systemd"
> > > >
> > > > Strange enough. How I arrived to +pam setting if I have not set it in
> > > > any of the /etc/portage/make.conf and /etc/portage/package.use files?
> > > >
> > > I had explicitly enabled pam globally in /etc/portage/make.conf.
> >
> > But I did not.
> >
> > > So after reading the portage message about pam having to be disabled,
> > > I disabled it explicitly in /etc/portage/package.use.
> > >
> > > Running 'emerge --info | grep pam' might reveal a USE flag setting with
> > > pam enabled.
> >
> > I run something like this before I disabled it for busybox in package.use.
> >
> > It is enabled system-wide. And I think that it is was enabled
> > in the desktop/gnome profile from which I started my Gentoo
> > installation about one and a half years ago. Later, I switched
> > to xfce4 but was afraid to switch the profile and recompile everything.
> >
> > So, both pam and static use flags has been set by default in the gnome
> > profile,
> > and then suddenly busybox started to complain about it.
> >
> >
> Not too sure on this one, but the pam useflag may have come from the
> default/linux profile, rather than the gnome one:
> 
> /usr/portage/profiles/default/linux/make.defaults:14,15
> # Default starting set of USE flags for all default/linux profiles.
> USE="berkdb crypt ipv6 ncurses nls pam readline ssl tcpd zlib"
> 
> /usr/portage/profiles/targets/desktop/gnome/make.defaults:5
> USE="colord eds evo gnome gnome-keyring gnome-online-accounts gstreamer
> introspection libsecret nautilus pulseaudio socialweb"

May be. As written in the manual, a more specific profile inherits all
use flags from a more general one. So, the gnome profile inherits all the
use flags from the "linux" profile. But somewhere in the default profiles, or
in the busybox package was also set and the static use flag. By default.
And then, the portage complains about it.


Reply via email to