Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Portage performance dropped considerably
Date: Tue, 28 Jan 2014 04:02:48
Message-Id: 20140128040232.GA1866@waltdnes.org
In Reply to: [gentoo-user] Re: Portage performance dropped considerably by Martin Vaeth
1 On Tue, Jan 28, 2014 at 01:42:22AM +0000, Martin Vaeth wrote
2 > Walter Dnes <waltdnes@××××××××.org> wrote:
3 > > USE="-* ${USECPU} ${USEOTHER}"
4 > >
5 > > If you want to look at it that way, what I've
6 > > really done is to replace the default USE flag set with my own defaults
7 >
8 > ... *including* the defaults specified in individual ebuilds.
9 > About the default flags in profiles one may argue, but the
10 > ebuild-enabled defaults are usually very decent and strongly
11 > encouraged by upstream.
12 > For this reason using "-Flag" in make.conf should better
13 > be used sparringly: Unless you are sure that you want to disable
14 > a particular feature really *globally*, it is better to turn it off
15 > in /etc/portage/package.use for each package separately so that
16 > packages which you might install in some future (or which add this
17 > flag in some future) do not have already changed their default.
18
19 I ran into that with the "suid" flag in xorg-server. I enabled "suid"
20 for xorg-server in package.use. Then a couple of other packages started
21 needing it. I test ran...
22
23 USE="suid" emerge -pv --deep --changed-use --update @world
24
25 ...and no additional packages (beyond the ones I wanted) needed to be
26 rebuilt. That's when I moved "suid" into make.conf.
27
28 --
29 Walter Dnes <waltdnes@××××××××.org>
30 I don't run "desktop environments"; I run useful applications