Gentoo Archives: gentoo-dev

From: "William L. Thomson Jr." <wlt-ml@××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Sets vs Meta ebuilds
Date: Mon, 10 Jul 2017 19:53:04
Message-Id: assp.0364fb71e1.20170710155258.3b9ae69b@o-sinc.com
In Reply to: Re: [gentoo-dev] Sets vs Meta ebuilds by Ben Kohler
1 On Mon, 10 Jul 2017 14:48:23 -0500
2 Ben Kohler <bkohler@×××××.com> wrote:
3
4 > >
5 > >
6 > > - The -c option should say why it will not remove.
7 > >
8 > >
9 > > --
10 > > William L. Thomson Jr.
11 > >
12 > It does, if you use the --verbose flag. This is mentioned in your
13 > emerge output a few times.
14
15 It just shows the dep chain, not a reason or warning. I am saying it
16 just needs a warning. A reason why it did not remove. When not using
17 versbose/-v
18
19 Warning like
20 "Not removing package A as it is a dependency of another package"
21
22 This just shows the dep chain, no reason why. Its left to the user to
23 interpret, since not removed. Its needed by other stuff. But that is
24 not said explicitly.
25
26 # emerge -cav gcc
27
28 Calculating dependencies... done!
29 sys-devel/gcc-6.3.0 pulled in by:
30 @system requires sys-devel/gcc
31 dev-db/mysql-5.6.36 requires >=sys-devel/gcc-3.4.6
32 media-libs/libmypaint-1.3.0 requires sys-devel/gcc:*[openmp]
33 media-libs/mesa-17.1.2 requires >=sys-devel/gcc-4.6
34 net-libs/webkit-gtk-2.4.11-r200 requires >=sys-devel/gcc-4.7
35 sys-devel/llvm-4.0.0-r2 requires >=sys-devel/gcc-3.0
36 sys-libs/glibc-2.24-r2 requires >=sys-devel/gcc-4.7
37
38 >>> No packages selected for removal by depclean
39 Packages installed: 1779
40 Packages in world: 194
41 Packages in system: 257
42 Required packages: 1779
43 Number removed: 0
44
45
46 This is worse and just needs a message, warning, as to why it was not
47 removed.
48
49 # emerge -pc gcc
50
51 Calculating dependencies... done!
52 >>> No packages selected for removal by depclean
53 >>> To see reverse dependencies, use --verbose
54 Packages installed: 1779
55 Packages in world: 194
56 Packages in system: 257
57 Required packages: 1779
58 Number to remove: 0
59
60
61 Either way, as I stated, if using -C, you get warnings with profiles
62 and sets, but not with deps. Deps should have a warning as well.
63
64 --
65 William L. Thomson Jr.