Gentoo Archives: gentoo-user

From: Mart Raudsepp <leio@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: emerge @preserved-rebuild failure
Date: Sun, 07 Jan 2018 01:09:44
Message-Id: 1515287372.2071.3.camel@gentoo.org
In Reply to: Re: [gentoo-user] Re: emerge @preserved-rebuild failure by zless
1 On Sat, 2018-01-06 at 23:42 +0200, zless wrote:
2 > În ziua de sâmbătă, 6 ianuarie 2018, la 23:25:32 EET, Hartmut Figge a
3 > scris:
4 > > zless:
5 > > > Could you also take a look at the file
6 > > > /var/lib/portage/preserved_libs_registry ?
7 > >
8 > > hafi@i5-64 ~ $ cat /var/lib/portage/preserved_libs_registry
9 > > {
10 > >     "sys-libs/readline:0": [
11 > >         "sys-libs/readline-7.0_p3",
12 > >         "10658",
13 > >         [
14 > >             "/lib64/libreadline.so.6.3",
15 > >             "/lib64/libreadline.so.6"
16 > >         ]
17 > >     ]
18 > >
19 >
20 > To me this reads as readline-7.0_p3 depends on libs from readline-
21 > 6.3.
22 >
23 > Smells a bit as some sort of bug. Try rebuilding readline?
24 >
25 > This didn't happen here when readline was bumped.
26
27 This is no bug here. It's just storing the fact that it preserved these
28 /lib64/libreadline.so.6{,.3} under the replacing newer version package.
29 That is, readline-7.0_p3 now owns these files, but based on this
30 registry, they will be deleted and removed from its CONTENTS, once
31 there are no more consumers of it based on essentially NEEDED.ELF.2
32 contents in the VDB (/var/db/pkg/*/*/NEEDED.ELF.2).
33 That is, what is keeping them from being removed is not stored in this
34 registry.
35
36 > > > It's like this when there are no preserved libs:
37 > > >
38 > > > # cat preserved_libs_registry
39 > >
40 > > I'm currently running 'find . -name '*preserved*' on / in the hope
41 > > of
42 > > finding the set with the preserverd libs *g* Well, I will let it
43 > > continue.
44
45 Maybe there is just an old ruby:2.1 SLOT installed, that hasn't been
46 properly depcleaned?
47
48
49 Mart

Replies

Subject Author
[gentoo-user] Re: emerge @preserved-rebuild failure Hartmut Figge <h.figge@×××.de>
Re: [gentoo-user] Re: emerge @preserved-rebuild failure zless <zless@×××××.site>