Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 581796

Summary: revdep-rebuild --library with age filter
Product: Portage Development Reporter: Robin Johnson <robbat2>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-05-02 07:49:29 UTC
I was wondering about better incremental usage of 'revdep-rebuild --library', and would like to request that an age comparison be added.

I want to limit it to only files where the file being considered is OLDER than the library.

There are two places it could be done:
1. BUILD_TIME of the packages
2. mtime of ELF objects themselves.

This has two benefits:
1. Avoids rebuilding the same thing multiple times on two passes of revdep-build
2. Limiting the rebuild to only things that actually need it in a set.

This should be implemented in both the bash & python versions.