Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 367927 - files that are preserved and installed by slotted package should be removed from @preserved-rebuild
Summary: files that are preserved and installed by slotted package should be removed f...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: preserve-libs
  Show dependency tree
 
Reported: 2011-05-18 16:16 UTC by Sven
Modified: 2011-05-18 16:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.