In bug #627378 users have a setup where /lib/ and /usr/lib/ are the same file
via '/usr -> .' link.
The problem is sometimes (bug #627378) packages install files like:
/lib/foo.so -> /usr/lib/foo.so (symlink)
It depends on the merge order which of two will survive after package install:
symlink pointing to itself or actual ELF.
Would it be easy for portage to ckeck for package to collide with itself
considering already present symlinks in live system?
Rumors say it was implemented in https://bugs.gentoo.org/690484 . Was it generic enough to cover arbitrary collisions?
(In reply to Sergei Trofimovich from comment #1)
> Rumors say it was implemented in https://bugs.gentoo.org/690484 . Was it
> generic enough to cover arbitrary collisions?
Yes, it uses a compare_files function to check for all kinds of differences:
*** This bug has been marked as a duplicate of bug 690484 ***