Gentoo Archives: gentoo-amd64

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: emerge --emptytree
Date: Tue, 05 Jan 2010 01:18:24
Message-Id: pan.2010.01.05.01.16.52@cox.net
In Reply to: Re: [gentoo-amd64] Re: emerge --emptytree by Philipp Paul
1 Philipp Paul posted on Mon, 04 Jan 2010 15:26:40 +0100 as excerpted:
2
3 > Is it allowed to pass options after the name of the ( meta- ) package,
4 > which you want to emerge ?
5 > What does
6 >
7 > emerge --upgrade --deep --newuse world
8 >
9 > tell you ?
10 > There might be a problem with that, because as far as i know the '
11 > --emptytree ' option does nothing else than to rebuild world against the
12 > current insalled gcc&binutils (plus updating it, as it seems). Is it
13 > allowed to pass options after the name of the ( meta- ) package, which
14 > you want to emerge ?<br>What does <br><br>emerge --upgrade --deep
15 > --newuse world<br><br>tell you ?<br>There might be a problem with that,
16 > because as far as i know the &#39; --emptytree &#39; option does nothing
17 > else than to rebuild world against the current insalled gcc&amp;binutils
18 > (plus updating it, as it seems).<br> <br>
19
20 If you'd turn off HTML, your posts would be far easier to read...
21
22 Good point on the options after parameters thing. I don't know, but it's
23 not good form even if it is parsed as desired.
24
25 If you don't use --update, --emptytree shouldn't update, just rebuild
26 current versions. But rebuilding requires build-dependencies which
27 aren't required at runtime, and if --with-bdeps=y (equals or space,
28 either way, I prefer equals) isn't used by default and isn't specified,
29 such build-time dependencies may be removed by --depclean, and won't be
30 updated or pulled in by the normal updates.
31
32 Treating bdeps differently in this regard is a fairly new portage
33 feature, FWIW. As I follow portage development (on the 2.2 test branch
34 ATM, since only it has sets -- I no longer user a world file, as I've
35 sorted all former world file entries into sets, which are pulled in by
36 the world_sets file) rather closely, when it was added, I saw the
37 changelog entries for it, read the bugs involved, etc, and changed my
38 make.conf settings appropriately, adding --with-bdeps=y to my defaults,
39 so portage always includes them in updates, etc, unless I specifically
40 overrule it on the command line (which I've never found occasion to do).
41
42 --
43 Duncan - List replies preferred. No HTML msgs.
44 "Every nonfree program has a lord, a master --
45 and if you use the program, he is your master." Richard Stallman