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:33:18
Message-Id: tkrat.a75e5561bb47438c@igpm.rwth-aachen.de
In Reply to: Re: [gentoo-user] dependencies - one more mystery novel by Alan McKinnon
1 On 21 Jan, Alan McKinnon wrote:
2 > On Thursday 21 January 2010 17:10:56 Helmut Jarausch 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 >> Thanks for a hint,
23 >> Helmut.
24 >>
25 >
26 > Just run revdep-rebuild without options. It will find and rebuild everything
27 > that is broken, which is something you need to do anyway. And you need to fix
28 > that kde overlay as a priority.
29 >
30 > Just do it.
31
32 Not that easy,
33 revdep-rebuild doesn't work either (dev-db/knoda is missing only in
34 kde-sunset)
35
36 By the way, revdep-rebuild re-emerges many too many packages,
37 since it re-emerges all packages which depend only indirectly on
38 the missing library.
39 Furthermore the libraries are not missing since the have been kept
40 by emerge ( => set preserved-rebuild)
41
42 Thanks,
43 Helmut.
44
45
46 --
47 Helmut Jarausch
48
49 Lehrstuhl fuer Numerische Mathematik
50 RWTH - Aachen University
51 D 52056 Aachen, Germany