Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-soc
Navigation:
Lists: gentoo-soc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-soc@g.o
From: "Lucian Poston" <lucianposton@...>
Subject: Progress Report - Revdep-rebuild
Date: Fri, 11 Jul 2008 22:13:12 -0500
The print statements have been enclosed in debug conditionals, and a
good amount of comments have been added to the code, so hopefully it
is more readable.

I've changed the way that broken binaries are found.  Previously, the
difference between the sets of "needed" and "installed" libraries were
calculated to produce a set of "missing" libraries from which
consumers (binaries) were found.  Now, when findProviders() returns an
unsatisfied soname, the binary and soname are stored into the
brokenDependencies dict (there is a description in the code comments).
 This way the binaries are immediately available to calculate a set of
atoms via mapPathsToAtoms().  Also, now the providers of all binaries
are considered. Previously, if two binaries required the same soname,
only the lookup paths of the last binary would be considered, but now
all binaries are checked individually.  Organizing the dependencies in
this dict will likely be the same in the return value of the new
method in LinkageMap, so the addition shouldn't affect this class much
aside from moving some of the functionality into LinkageMap.

I was only able solve a few of the classes of problems I had with the
libraries that were listed in the last report.  Currently, binary
packages are what's left from those (and the weird libmix.so bug), so
binary packages aren't handled properly yet.  Emerging the
missingLibraryConsumerSet will result in superfluous packages due to
those packages.  Resolving that problem is my main focus for now, but
once binary packages are handled properly, I'll work on adding the
method in LinkageMap mentioned before.  I expect it to bring a decent
speed improvement since there will be no need to iterate over a large
number of non-binary files with access to _obj_properties in
LinkageMap.  After that, some user options will be added (if I can
come up with some useful functionalities I'd like to see added).

As far as user options, what should I plan to implement aside from
--library=NAME a la revdep-rebuild?

Lucian
-- 
gentoo-soc@g.o mailing list


Navigation:
Lists: gentoo-soc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Progress Report - Revdep-rebuild
Next by thread:
Progress Report - Revdep-rebuild
Previous by date:
Re: planet summer of code
Next by date:
Re: OpenPAM modules - Weekly Report


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.