On 12/31/06, Marek Wróbel <[EMAIL PROTECTED]> wrote:
Mark Knecht wrote:
> <SNIP
> I'm proceeding along getting a number of packages removed which is
> good. However here's an example one I'm not sure how to handle or why
> it's showing up. I've run --depclean -p and see what appears to be an
> unneeded library called libwmf. However when I try tracing my way back
> to find what depending on it I eventually get to xine-ui which I use
> all the time:
>
> lightning ~ # equery d libwmf
> [ Searching for packages depending on libwmf... ]
> media-gfx/imagemagick-6.3.0.5
> lightning ~ # equery d imagemagick
> [ Searching for packages depending on imagemagick... ]
> gnome-extra/libgsf-1.14.2
> media-libs/xine-lib-1.1.2-r3
> media-video/transcode-1.0.2-r3
> lightning ~ # equery d xine-lib
> [ Searching for packages depending on xine-lib... ]
> media-sound/amarok-1.4.3-r1
> media-video/xine-ui-0.99.5_pre20060716
> media-video/totem-2.16.4
> lightning ~ #
This issue can be related to changes in USE flags. xine-lib depends on
imagemagick only when "imagemagick" USE flag is set. And imagemagck
depends on libwmf only when "wmf" USE flag is set. So these packages
were merged probably when you had these flags set. Later USE flags may
have changed (new portage profile?) and currently they most likely are
not set.
Moreover, I have noticed that equery takes conditional dependencies into
consideration regardless of USE flags state. Thus it shows that
imagemagick is required by xine-lib even when it actually isn't (because
you don't have "imagemagick" flag set).
This is pretty much what happened. I've finished removing all the
packages that depclean wanted me to and things look good now.
revdep-rebuild is happy. emerge -DuN world is happy. --depclean says
there is nothing to clean out.
It seems that maybe over time some of the packages higher up have had
USE flags added to them. Maybe the old package didn't make a function
prunable with a flag so the library got installed and later the flag
was added to prune it out but the new emerge only upgraded the package
and didn't remove the libraries that were no longer needed.
At least hat's the best I can figure out.
Everything is clean now. thanks for the help!
Cheers,
Mark
Happy 2007. Off to have a beer.
--
gentoo-amd64@gentoo.org mailing list