Summary: | Yet another revdep-rebuild rewrite | ||
---|---|---|---|
Product: | Portage Development | Reporter: | TGL <tom.gl> |
Component: | Third-Party Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | dschridde+gentoobugs, gentoo-bugzilla, radek, sandro.bonazzola |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
rdrb
rdrb rdrb |
Description
TGL
2007-10-07 12:53:57 UTC
Created attachment 132818 [details]
rdrb
Created attachment 132825 [details]
rdrb
Same with a tiny bug fixed (packages depending on exactly one dynamic library where seen as depending on none).
And while i'm at it, one thing i've forgot to mention about why this version is faster is that it calls `ldd` only once per package, with multiple arguments, instead of once per checked file in revdep-rebuild.
Heh, sounds pretty similar to FEATURES=preserve-libs in portage trunk ;) (In reply to comment #3) > Heh, sounds pretty similar to FEATURES=preserve-libs in portage trunk ;) > Great :) It was a shame that Portage itself was not using this valuable NEEDED files it was producing. Hopefully one day we can finally forget about revdep-rebuild and all its variants. Created attachment 133457 [details]
rdrb
New version with the following improvements:
- read options from command line
- added a "--library"-like mode
- added limited $ROOT support (.la checking is OK, but dynamic libs checking will only look at the NEEDED files in the VDB, without actually running "ldd")
- added a quiet mode
- a few bugfixes
|