Gentoo Archives: gentoo-soc

From: Lucian Poston <lucianposton@×××××.com>
To: gentoo-soc@l.g.o
Subject: [gentoo-soc] Progress Report - Revdep-rebuild
Date: Sun, 15 Jun 2008 03:34:36
Message-Id: c4cdc1420806142034i34ab738fv6d0535c71cee3d71@mail.gmail.com
1 It's been a slow start due to the time it has taken me to understand
2 the dynamic linker and the various python modules in portage.
3 Initially, I intended to understand the current revdep-rebuild
4 implementation, but trying to follow that monstrosity of a bash script
5 only caused my eyes to glaze over. :) So instead, I decided to go
6 another route and write an implementation of my own and deal with any
7 problems as they arise, rather than initially basing my implementation
8 off of the bash script.
9
10 I put the new RevdepSet module in a separate file. Should I instead
11 include this in one of the existing files? I couldn't find a clear
12 description of the purpose of the set classes within each file, so I
13 simply placed it in a new one. Also, did anyone have a more succinct,
14 descriptive name suggestion for the set already in mind?
15
16 Currently the class is nothing more than a skeleton of a package set
17 class, which I've been using to test the various dbapi interfaces. It
18 does not build a set of useful atoms yet.
19
20 My plan over the next few days is to build a list of "needed"
21 libraries (either through dbapi or my own implementation similar to
22 linkmap), a list of installed libraries (I'm still unsure of the best
23 way to build this list. Simply searching through lib directories
24 perhaps?), and comparing the two lists to find which are missing. The
25 packages are already associated with the libraries in var/db/pkg, so
26 that shouldn't be a problem. I'll see how that works and go from
27 there.
28
29 Are there any future plans to integrate the concept of recompiling
30 necessary binaries against newly updated libraries when upgrading
31 through emerge? Or is it more likely to stay as is with preserved-lib
32 functionality? I was just wondering about the futility of this whole
33 project in the future. :)
34
35 Should emerge revdep-rebuild rebuild the packages that are compiled
36 against preserved libraries? I assume no, since that functionality is
37 already present with preserved-libs, but I wanted to be sure.
38
39
40 Thanks,
41 Lucian
42 --
43 gentoo-soc@l.g.o mailing list