Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] dependencies - one more mystery novel
Date: Thu, 21 Jan 2010 16:39:38
Message-Id: tkrat.0ded8cdb0fcbcb9a@igpm.rwth-aachen.de
In Reply to: Re: [gentoo-user] dependencies - one more mystery novel by "Arttu V."
1 On 21 Jan, Arttu V. wrote:
2 > On 1/21/10, Helmut Jarausch <jarausch@××××××××××××××××.de> wrote:
3 >> Upgrading to media-libs/jpeg-8
4 >> poses a new level of difficulty (to me).
5 >>
6 >> I cannot use emerge @preserved-rebuild since I still
7 >> have kde-3 packages and still have problems with the
8 >> kde-sunset overlay which I have to resolve lateron.
9 >>
10 >> Now, I try to find out which packages depend on jpeg-7.
11 >> First idea
12 >> revdep-rebuild -p -L /usr/lib64/libjpeg.so.7
13 >>
14 >> but this also finds packages which depend on
15 >> /usr/lib64/libjpeg.so.7 AND /usr/lib64/libjpeg.so.8
16 >> probably because they depend on /usr/lib64/libjpeg.so.7
17 >> only indirectly.
18 >>
19 >> But how to find out these intermediate libraries which depend
20 >> on /usr/lib64/libjpeg.so.7 directly?
21 >
22 > I don't know why you wouldn't want to fix the kde3 overlay part ASAP,
23 > but here is a guesswork, which might dig you something useful:
24 >
25 > ls /usr/lib64/*.so | xargs -r scanelf -BF%n | grep 'libjpeg\.so\.7' |
26 > awk '{ print $2 }' | xargs -r qfile -qC | uniq
27 >
28 > It doesn't understand, e.g., slots, nor is really optimized. For such,
29 > we'd need a separate program, which we'd call ... umm, lemme think ...
30 > is reverse-dependency-rebuilder good? ;)
31 >
32
33 First, many thanks for the hint.
34
35 Second, kde-sunset poses some difficulties like
36 !!! Couldn't download 'koffice-1.6.3_p20090204.tar.bz2'. Aborting.
37
38 or
39
40 kde-misc/kdnssd-avahi
41 * ERROR: kde-misc/kdnssd-avahi-0.1.2-r1 failed:
42 * net-dns/avahi-0.6.25 does not actually support the qt3 USE flag!
43
44
45 and probably much more to come!
46
47 Furthermore, I suspect emerge @preserved-rebuild
48 re-emerges many to many packages since most packages
49 depend only indirectly on libjpeg.so....
50
51 Helmut.
52
53 --
54 Helmut Jarausch
55
56 Lehrstuhl fuer Numerische Mathematik
57 RWTH - Aachen University
58 D 52056 Aachen, Germany

Replies

Subject Author
Re: [gentoo-user] dependencies - one more mystery novel Neil Bothwick <neil@××××××××××.uk>