As exemplified in bug #344613, eutils.eclass checks for FEATURES=preserve-libs, which is set, but emerge does not in fact support it. So eutils does not preserve an old library and neither does emerge. :-\ I am pretty sure eutils.eclass shouldn't be checking FEATURES, is one thing. Also, it's nice to see no effort has been spared to warn users against setting this with portage 2.1, by setting the output in bright red, but the message itself is entirely unclear: "FEATURES variable contains unknown value(s): preserve-libs" I don't actually know what the above quotation means. In reality "preserve-libs" is a known value of the FEATURES variable, and it's dangerous to use with that version of sys-apps/portage, so emerge should at that moment drop whatever it's doing and exit. And eutils.eclass should probably do whatever it needs to do, even if emerge then replicates it, or whichever comes first.
it means what it says. preserve-libs doesn't exist in portage 2.1.
(In reply to comment #0) > I am pretty sure eutils.eclass shouldn't be checking FEATURES, is one thing. This is the root problem. The issue has been raised in bug 326275. I think preserve_old_lib should be controlled some other way, such as by a USE flag or some other environment variable (other than FEATURES).
(In reply to comment #1) > it means what it says. preserve-libs doesn't exist in portage 2.1. It says "unknown value" and more appropriately it might say something like "unrecognised keyword" or perhaps just "unknown keyword". Maybe prefixed with "WARNING:". (In reply to comment #2) > (In reply to comment #0) > > I am pretty sure eutils.eclass shouldn't be checking FEATURES, is one thing. > > This is the root problem. The issue has been raised in bug 326275. I think > preserve_old_lib should be controlled some other way, such as by a USE flag or > some other environment variable (other than FEATURES). It looks like bug #326275 doesn't quite raise the subject of the illegal checking for FEATURES flags.
USE flag really isnt going to cut it. simply fix the systems wrongly using preserve-libs per Bug 326275.
I guess we can consider this fixed since stable portage supports preserve-libs since portage-2.1.11.31.