Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Cc: Willie Wong <wwong@××××××××××××××.edu>
Subject: Re: [gentoo-user] Deprecated installed packages
Date: Thu, 20 May 2010 06:12:18
Message-Id: 201005201308.38578.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Deprecated installed packages by Willie Wong
1 On Thursday 20 May 2010 11:36:46 Willie Wong wrote:
2 > On Thu, May 20, 2010 at 10:20:54AM +0200, Alan McKinnon wrote:
3 > > > Ah... I see, I was trying to figure out what they meant by deprecated
4 > > > and how they determined it. It seems that the only thing common to
5 > > > those packages is that their ebuilds are no-longer in the tree.
6 > >
7 > > Each one of those packages you list has more up to date versions
8 > > available in the tree.
9 >
10 > Precisely. But the exact version that is installed is no longer in
11 > the tree. Seeing that I don't recall the portage system introducing a
12 > deprecated flag (short of the removal notice and package.mask), I was
13 > curious how eclean determined that those packages are deprecated.
14 >
15 > And also seeing that for many of the ones I listed, neither
16 > emerge --update --deep world
17 > nor
18 > emerge --update --deep --with-bdeps=y world
19 > suggest their updates, in my case they are probably just cruft that
20 > ought to go away once the system is brought up to date and I can run
21 > depclean.
22
23 I remember something about a "deprecated" feature somewhere.
24 Can't remember where now, and grep doesn't reveal it...
25
26 >
27 > But am I wrong in my impression that with bdeps, the common thing to
28 > do is to update them only when absolutely necessary? So in this case
29 > the deprecation warning might introduce unnecessary cycles spent on
30 > building those packages (among those who don't want to track down the
31 > origins of those packages and just want the block of text to go away).
32
33 Yes, that's pretty much true.
34
35 bdeps are are deps that are only used to build stuff, not run them. So portage
36 will only update them when it needs to build something using them.
37
38 You can use bdeps=y in make.conf but most folks just leave it at the sensible
39 default.
40
41
42
43 --
44 alan dot mckinnon at gmail dot com