1 |
Harry Putnam wrote: |
2 |
> Andrej Rode <mail@××××××××.de> writes: |
3 |
> |
4 |
>> Hi, |
5 |
>> |
6 |
>>> (dependency required by "gnome-extra/polkit-gnome-0.105-r1::gentoo" [installed]) |
7 |
>>> (dependency required by "sys-auth/polkit-0.113-r1::gentoo[gtk]" [installed]) |
8 |
>>> (dependency required by "sys-auth/consolekit-1.1.0-r1::gentoo[policykit]" [installed]) |
9 |
>>> (dependency required by "sys-auth/pambase-20150213::gentoo[consolekit]" [installed]) |
10 |
>>> (dependency required by "net-misc/openssh-7.3_p1-r8::gentoo[pam]" [ebuild]) |
11 |
>>> (dependency required by "virtual/ssh-0::gentoo[-minimal]" [installed]) |
12 |
>>> (dependency required by "@system" [set]) |
13 |
>>> (dependency required by "@world" [argument]) |
14 |
>>> These are the packages that would be merged, in order: |
15 |
>> This output now shows us that `> (dependency required by |
16 |
>> "sys-auth/polkit-0.113-r1::gentoo[gtk]" [installed])` polkit has the gtk |
17 |
>> useflag and therefore it tries to build `polkit-gnome` which in fact |
18 |
>> requires gtk. |
19 |
>> |
20 |
>> Instead of setting USE=-gtk in your `/etc/portage/make.conf` try setting |
21 |
>> `sys-auth/consolekit-1.1.0-r1 -gtk` in `/etc/portage/package.use/polkit` |
22 |
> I guessed you meant to say polkit so: |
23 |
> root # cat /etc/portage/package.use/polkit |
24 |
> sys-auth/polkit-0.113-r -gtk |
25 |
> |
26 |
> And boy did those changes you've been posting really make a difference |
27 |
> |
28 |
> I have a nice hefty list of nearly all non-x stuff ... |
29 |
> |
30 |
> One item puzzles me a bit: |
31 |
> |
32 |
> [ebuild N ] x11-misc/shared-mime-info-1.7::gentoo USE="{-test}" 0 KiB |
33 |
> |
34 |
> Using Dales suggestion of --tree I see a whole list of stuff pulling |
35 |
> that in. The closest culprit seems to be: |
36 |
> dev-libs/glib-2.50.2:[...] USE+"mime [...]" |
37 |
> |
38 |
> But maybe `shared-mime-info' is something one might use reading mail |
39 |
> or such? |
40 |
> |
41 |
> I guess the `nomerge' part means its already installed? |
42 |
> |
43 |
> Its a bit confusing seeing what is actually doing the pulling: |
44 |
> Is it `virtual/ssh-0' |
45 |
> |
46 |
> [ebuild R ] virtual/ssh-0::gentoo USE="minimal*" 0 KiB |
47 |
> [nomerge ] sys-apps/pciutils-3.5.2::gentoo USE="kmod [...] |
48 |
> [nomerge ] virtual/libudev-232:0/1::gentoo USE="-static-libs[...] |
49 |
> [ebuild R ] sys-fs/eudev-3.2::gentoo USE="hwdb kmod [...] |
50 |
> [nomerge ] sys-fs/udev-init-scripts-32::gentoo |
51 |
> [nomerge ] virtual/udev-217::gentoo USE="-systemd" |
52 |
> [nomerge ] sys-fs/eudev-3.2::gentoo USE="hwdb kmod [...] |
53 |
> [nomerge ] virtual/pkgconfig-0-r1::gentoo |
54 |
> [nomerge ] dev-util/pkgconfig-0.29.1::gentoo USE="-hardened [...] |
55 |
> [nomerge ] dev-libs/glib-2.50.2:2::gentoo USE="mime xattr [...] |
56 |
> [ebuild N ] x11-misc/shared-mime-info-1.7::gentoo USE="{-test}"[...] |
57 |
> |
58 |
> |
59 |
> Thanks for the help and the url pointers I snipped. |
60 |
> |
61 |
|
62 |
The way to read that above is this. The package at the top, |
63 |
virtual/ssh, is pulling in pciutils, libudev and eudev. Note how it is |
64 |
indented. After that, sys-fs/udev-init-scripts is pulling in udev, |
65 |
eudev and on down the list. So, if you want to know what is pulling in |
66 |
shared-mime-info, it would be glib which is right above it. In this |
67 |
case, you can see mime as a USE flag. It may be that you can turn that |
68 |
off. You may can do it for just that one package or you may have to |
69 |
globally. Everyone has a different way to tackle that. Just pick |
70 |
whatever works for you. Personally, I try to go global when I can. On |
71 |
occasion tho, I do packages separately. Just keep in mind, sometimes |
72 |
you can have several packages pulling in another package. At times, it |
73 |
can get pretty deep. |
74 |
|
75 |
If you have colors turned on, watch those. The colors can sort of point |
76 |
out the problem sometimes too. |
77 |
|
78 |
And nomerge means it is already installed and there is no changes, it |
79 |
won't recompile it or anything. It is just showing you what is pulling |
80 |
in what. Also, if you are using -a and say yes, it runs that list |
81 |
backwards if I recall correctly. |
82 |
|
83 |
Maybe that will get you a little bit further. ;-) |
84 |
|
85 |
Dale |
86 |
|
87 |
:-) :-) |