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

Bug 375751

Summary: Allow ROOT=/prefix steps to reuse binary packages created for ROOT=/ during previous steps of the same emerge run
Product: Portage Development Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: Conceptual/Abstract IdeasAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 137867    

Description Dennis Schridde 2011-07-20 10:18:14 UTC
Often during emerging for ROOT=/prefix/... the same package is first build for ROOT=/ and then again for ROOT=/prefix/... It would be nice if portage could reuse the previously build binpkgs.

Possible problems:
* The build for ROOT=/ happens during the same run of emerge. Hence no dependency recalculation happens in between.

Possible solutions (alternatives):
* Know in advance that a binpkg will be build during a certain step and consider this for the following steps.
* Search in each step for binpkgs before starting the actual merge.
* ... your idea ...

Reproducible: Always