Gentoo Archives: gentoo-dev

From: Peter Stuge <peter@×××××.se>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] About using USE flags to pull in needed RDEPENDs being discouraged by devmanual
Date: Sat, 16 Jun 2012 20:11:45
Message-Id: 20120616201043.25406.qmail@stuge.se
In Reply to: Re: [gentoo-dev] About using USE flags to pull in needed RDEPENDs being discouraged by devmanual by Pacho Ramos
1 Pacho Ramos wrote:
2 > > I guess the point is that it is not really a dependency.
3 >
4 > No, it's a dependency only when you want ppp support working,
5
6 Logically, but not technically.
7
8 I like this separation; the package manager takes care of technical
9 requirements, and I get to take care of the logical requirements.
10
11
12 > > I dunno if a USE flag is much better? Both require the user to inform
13 > > herself in the same way ("when do I need USE=ppp for bluez" vs. "when
14 > > do I need to emerge ppp")
15 >
16 > It's much easier to widely set "ppp" USE in make.conf to be sure ppp
17 > support works for all things in my system that needing to rebuild
18 > affected package to see elog message telling me that I need to manually
19 > emerge some other package
20
21 My point is that when you know that you need ppp (and how could you
22 set USE=ppp otherwise) then it is about equally easy to emerge ppp
23 as it is to set USE=ppp.
24
25
26 > > > people end up with a lot of packages they needed to manually
27 > > > emerge some year but that they problem no longer need at all.
28 > >
29 > > Disk is pretty cheap. If the package is never being used and the user
30 > > doesn't care to remove it then the package doesn't do any harm IMO,
31 > > and as mentioned I think it's difficult for the package manager to
32 > > know what the user has installed on the system but no longer needs..
33 >
34 > What kind of argument is "disk is pretty cheap".
35
36 Please read the rest of what I wrote too. :)
37
38
39 > I still administrate a laptop with a 250GB of disk space, and that
40 > space cannot be as large if you have a lot of files at home.
41
42 My primary system had 8GB storage until a few years ago when flash
43 prices went down. I was motivated to keep my system clean. If one is
44 space constrained then I think one naturally pays more attention to
45 keeping world small. Disk is still cheap. If it is a problem for me
46 that I have unneeded packages installed, *then* I will start looking
47 at cleaning up. Until then, there's no problem.
48
49
50 > Also, you are missing that having unneeded packages in world file
51 > will also cause them to be updated on every system updated, with
52 > the time it takes for compile.
53
54 I'm not missing, but I'm saying that it is merely the effect of not
55 managing world very actively.
56
57 I think it's difficult to impossible for a package manager to
58 reliably determine logical requirements from what is a model
59 (USE flags) of technical requirements (link-time dependencies).
60
61
62 //Peter

Replies