public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mark Knecht" <markknecht@gmail.com>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Re: emerge --depclean question
Date: Sun, 31 Dec 2006 15:15:14 -0800	[thread overview]
Message-ID: <5bdc1c8b0612311515l74b4d045tc22cb13c660a79ef@mail.gmail.com> (raw)
In-Reply-To: <459833F6.2000208@poczta.onet.pl>

On 12/31/06, Marek Wróbel <smbmarek@poczta.onet.pl> 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



      reply	other threads:[~2006-12-31 23:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-31  1:51 [gentoo-amd64] emerge --depclean question Mark Knecht
2006-12-31 13:11 ` [gentoo-amd64] " Duncan
2006-12-31 15:09   ` Mark Knecht
2006-12-31 18:48   ` Mark Knecht
2006-12-31 22:04     ` Marek Wróbel
2006-12-31 23:15       ` Mark Knecht [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5bdc1c8b0612311515l74b4d045tc22cb13c660a79ef@mail.gmail.com \
    --to=markknecht@gmail.com \
    --cc=gentoo-amd64@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox