public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arttu V." <arttuv69@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] dependencies - one more mystery novel
Date: Thu, 21 Jan 2010 18:31:34 +0200	[thread overview]
Message-ID: <fecdbac61001210831x5c2f9545l2fb6e4ef8a1abf56@mail.gmail.com> (raw)
In-Reply-To: <tkrat.96ade464d75d0932@igpm.rwth-aachen.de>

On 1/21/10, Helmut Jarausch <jarausch@igpm.rwth-aachen.de> wrote:
> Upgrading to media-libs/jpeg-8
> poses a new level of difficulty (to me).
>
> I cannot use  emerge @preserved-rebuild since I still
> have kde-3 packages and still have problems with the
> kde-sunset overlay which I have to resolve lateron.
>
> Now, I try to find out which packages depend on jpeg-7.
> First idea
> revdep-rebuild -p -L /usr/lib64/libjpeg.so.7
>
> but this also finds packages which depend on
>  /usr/lib64/libjpeg.so.7 AND /usr/lib64/libjpeg.so.8
> probably because they depend on /usr/lib64/libjpeg.so.7
> only indirectly.
>
> But how to find out these intermediate libraries which depend
> on /usr/lib64/libjpeg.so.7 directly?

I don't know why you wouldn't want to fix the kde3 overlay part ASAP,
but here is a guesswork, which might dig you something useful:

ls /usr/lib64/*.so | xargs -r scanelf -BF%n | grep 'libjpeg\.so\.7' |
awk '{ print $2 }' | xargs -r qfile -qC | uniq

It doesn't understand, e.g., slots, nor is really optimized. For such,
we'd need a separate program, which we'd call ... umm, lemme think ...
is reverse-dependency-rebuilder good? ;)

-- 
Arttu V.



  parent reply	other threads:[~2010-01-21 16:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-21 15:10 [gentoo-user] dependencies - one more mystery novel Helmut Jarausch
2010-01-21 15:26 ` Alan McKinnon
2010-01-21 16:32   ` Helmut Jarausch
2010-01-21 16:12 ` Paul Hartman
2010-01-21 16:31 ` Arttu V. [this message]
2010-01-21 16:39   ` Helmut Jarausch
2010-01-21 21:01     ` Neil Bothwick
2010-01-22  9:07       ` Helmut Jarausch
2010-01-22  9:32         ` Neil Bothwick

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=fecdbac61001210831x5c2f9545l2fb6e4ef8a1abf56@mail.gmail.com \
    --to=arttuv69@gmail.com \
    --cc=gentoo-user@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