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: /usr/lib/foo.so (file) /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? Thanks!
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: https://gitweb.gentoo.org/proj/portage.git/commit/?id=0b7eda500a0dcb98a67f33bf9ef25b202b358986 *** This bug has been marked as a duplicate of bug 690484 ***