Harry Putnam wrote:
> Andrej Rode <m...@andrejro.de> writes:
>
>> Hi,
>>
>>> (dependency required by "gnome-extra/polkit-gnome-0.105-r1::gentoo" 
>>> [installed])
>>> (dependency required by "sys-auth/polkit-0.113-r1::gentoo[gtk]" [installed])
>>> (dependency required by "sys-auth/consolekit-1.1.0-r1::gentoo[policykit]" 
>>> [installed])
>>> (dependency required by "sys-auth/pambase-20150213::gentoo[consolekit]" 
>>> [installed])
>>> (dependency required by "net-misc/openssh-7.3_p1-r8::gentoo[pam]" [ebuild])
>>> (dependency required by "virtual/ssh-0::gentoo[-minimal]" [installed])
>>> (dependency required by "@system" [set])
>>> (dependency required by "@world" [argument])
>>> These are the packages that would be merged, in order:
>> This output now shows us that `> (dependency required by
>> "sys-auth/polkit-0.113-r1::gentoo[gtk]" [installed])` polkit has the gtk
>> useflag and therefore it tries to build `polkit-gnome` which in fact
>> requires gtk.
>>
>> Instead of setting USE=-gtk in your `/etc/portage/make.conf` try setting
>> `sys-auth/consolekit-1.1.0-r1 -gtk` in `/etc/portage/package.use/polkit`
> I guessed you meant to say polkit  so:
>     root # cat /etc/portage/package.use/polkit
>   sys-auth/polkit-0.113-r -gtk
>
> And boy did those changes you've been posting really make a difference
>
> I have a nice hefty list of nearly all non-x stuff ...
>
> One item puzzles me a bit:
>
>   [ebuild  N     ] x11-misc/shared-mime-info-1.7::gentoo  USE="{-test}" 0 KiB
>
> Using Dales suggestion of --tree I see a whole list of stuff pulling
> that in.  The closest culprit seems to be:
>   dev-libs/glib-2.50.2:[...] USE+"mime [...]"
>   
>   But maybe `shared-mime-info' is something one might use reading mail
>   or such?
>   
> I guess the `nomerge' part means its already installed?
>
> Its a bit confusing seeing what is actually doing the pulling:
> Is it `virtual/ssh-0'
>
> [ebuild   R    ] virtual/ssh-0::gentoo  USE="minimal*" 0 KiB
> [nomerge       ] sys-apps/pciutils-3.5.2::gentoo  USE="kmod [...]
> [nomerge       ]  virtual/libudev-232:0/1::gentoo  USE="-static-libs[...]
> [ebuild   R    ]   sys-fs/eudev-3.2::gentoo  USE="hwdb kmod [...]
> [nomerge       ] sys-fs/udev-init-scripts-32::gentoo
> [nomerge       ]  virtual/udev-217::gentoo  USE="-systemd"
> [nomerge       ]   sys-fs/eudev-3.2::gentoo  USE="hwdb kmod [...]
> [nomerge       ]    virtual/pkgconfig-0-r1::gentoo
> [nomerge       ]     dev-util/pkgconfig-0.29.1::gentoo  USE="-hardened [...]
> [nomerge       ]      dev-libs/glib-2.50.2:2::gentoo  USE="mime xattr [...]
> [ebuild  N     ]       x11-misc/shared-mime-info-1.7::gentoo  
> USE="{-test}"[...]
>
>
> Thanks for the help and the url pointers I snipped.
>

The way to read that above is this.  The package at the top,
virtual/ssh, is pulling in pciutils, libudev and eudev.  Note how it is
indented.  After that, sys-fs/udev-init-scripts is pulling in udev,
eudev and on down the list.  So, if you want to know what is pulling in
shared-mime-info, it would be glib which is right above it.  In this
case, you can see mime as a USE flag.  It may be that you can turn that
off.  You may can do it for just that one package or you may have to
globally.  Everyone has a different way to tackle that.  Just pick
whatever works for you.  Personally, I try to go global when I can.  On
occasion tho, I do packages separately.  Just keep in mind, sometimes
you can have several packages pulling in another package.  At times, it
can get pretty deep. 

If you have colors turned on, watch those.  The colors can sort of point
out the problem sometimes too. 

And nomerge means it is already installed and there is no changes, it
won't recompile it or anything.  It is just showing you what is pulling
in what.  Also, if you are using -a and say yes, it runs that list
backwards if I recall correctly. 

Maybe that will get you a little bit further.  ;-) 

Dale

:-)  :-) 

Reply via email to