Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: dev-libs/boost-1.35.0-r2 and x11-libs/vte-0.17.4-r3 still linked to libpython2.5.so.1.0 after upgrading to python-2.6.2-r1
Date: Wed, 19 Aug 2009 20:33:20
Message-Id: h6hnhg$li8$1@ger.gmane.org
In Reply to: Re: [gentoo-user] Re: dev-libs/boost-1.35.0-r2 and x11-libs/vte-0.17.4-r3 still linked to libpython2.5.so.1.0 after upgrading to python-2.6.2-r1 by Yiannis
1 On 08/19/2009 11:17 PM, Yiannis wrote:
2 > On Wed, 19 Aug 2009 21:30:56 +0300
3 > Nikos Chantziaras<realnc@×××××.de> wrote:
4 >
5 >> On 08/19/2009 09:13 PM, Yiannis wrote:
6 >>> Hello,
7 >>>
8 >>> Recently I upgraded to python-2.6.2-r1 which currently is slotted on
9 >>> my system as long as python-2.5.4-r3 is. After running
10 >>> python-upgrade twice I see that dev-libs/boost-1.35.0-r2 and
11 >>> x11-libs/vte-0.17.4-r3 are still linked to libpython2.5.so.1.0. On
12 >>> the other hand emege --depclean -p suggests that python-2.5.4-r3
13 >>> can be removed and this is what I would like to do if possible.
14 >>> Shouldn't python-upgrade have resolved this linking issue? From the
15 >>> afore mentioned ebuilds I can tell that there is no specific
16 >>> dependency on python 2.5. Any help would be appreciated.
17 >>
18 >> That's what revdep-rebuild is for. After depclean removes
19 >> python-2.5, you need to do a revdep-rebuild which will take care of
20 >> boost and any other packages still using the old libpython.
21 >
22 > I am a little confused here about what happened. After removing
23 > python-2.5.4-r3, # revdep-rebuilt -pv --library libpython2.5.so.1.0 did
24 > not rebuild dev-libs/boost-1.35.0-r2 nor
25 > x11-libs/vte-0.17.4-r3. Also running:
26 > # for file in `equery files vte`; do if [ -f $file ]; then ldd $file |
27 > grep python; fi; done 2>/dev/null
28 > # for file in `equery files boost`; do if [ -f $file ]; then ldd $file
29 > | grep python; fi; done 2>/dev/null
30 > returns nothing about python(I suppose that revdep-rebuild does
31 > something like this). Everything seems ok. Am I missing something here?
32
33 What about just "revdep-rebuild -a" without any other options?
34
35 Also, what portage version do you have? If it's 2.2, it should have the
36 new "preserved-rebuild" feature which keeps libs even if you depclean.
37 If yes, I can't really help, I'm on portage 2.1.

Replies