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

Bug 231700

Summary: @preserved-rebuild is not switched off for "emerge -e system/world"
Product: Portage Development Reporter: Henning Rogge <HRogge>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: 2.2   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Henning Rogge 2008-07-13 16:40:56 UTC
Three days ago I decided to switch to gcc 4.3 and rebuild my system (gcc 4.3 has core2 support).

Unfortunately portage decided to preserve a lot of libraries during my "emerge -e system" and "emerge -e world". The following "emerge @preserved-rebuild" did stopped in the first ebuild trying to rebuild the "boost" library ! Revdep-rebuild wanted to rebuild 300+ packages but failed with boost too.

I got my system up and running again by deleting the "preserve library X" files by hand (found a forum post about it) and doing an "emerge -e system" again. After this "revdep-rebuild" only had to recompile ~30 packages...

I think the @preserved-rebuild feature should be either OFF by default or at least OFF for "emerge -e" commands.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2008-07-13 18:34:45 UTC
Just set FEATURES=-preserve-libs when you want to disable it.
Comment 2 Henning Rogge 2008-07-14 15:45:20 UTC
Thank you...

maybe it should be deactivated by DEFAULT for "emerge -e world/system".
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2008-07-14 18:09:04 UTC
(In reply to comment #2)
> Thank you...
> 
> maybe it should be deactivated by DEFAULT for "emerge -e world/system".

No. Not only would it be confusing, but also such special cases are a maintenance nightmare in the long run.