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

Bug 367927

Summary: files that are preserved and installed by slotted package should be removed from @preserved-rebuild
Product: Portage Development Reporter: Sven <sven.koehler>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 240323    

Description Sven 2011-05-18 16:16:29 UTC
Hi,

Consider the following scenario:

1) an ancient openssl-0.9* ebuild is installed
2) openssl-1.0* is emerged (which is in the same slot as the old openssl-0.9* ebuild)
3) openssl-0.9* is emerged (this time, with new ebuild which is installed in a different slot than the old 0.9* and the new 1.0 ebuild)

In step (2), libssl.0.9.8 is preserved ("equery f openssl" lists it as part of the openssl-1.0* package).
In step (3), libssl.0.9.8 is installed again, but it is not removed from preservation and "equery f openssl" actually lists libssl.0.9.8 two times: as a preserved lib it is part of openssl-1.0* and as part of openssl-0.9* package.


Portage should handle (3) more gracefully.

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2011-05-18 16:32:44 UTC
This should be fixed in 2.2.0_alpha34 (among many other preserve-libs fixes, including bug 286527). Please re-open if you can still reproduce it.
Comment 2 Zac Medico gentoo-dev 2011-05-18 16:34:02 UTC
(In reply to comment #1)
> This should be fixed in 2.2.0_alpha34 (among many other preserve-libs fixes,
> including bug 286527).

I meant bug 286714.
Comment 3 Sven 2011-05-18 16:48:21 UTC
I confirm, it's fixed in alpha34.