Hello, I would like to be able to be able to block an ebuild in portage (bar) from installing if an ebuild from overlay (foo) has been installed because they're incompatible, or due to the overlay version overwrites files from bar.
Then that overlay ebuild (foo) should specify a block for the main tree ebuild (foo) in its dependencies.
That has never worked to my knowledge. I've tried many times in different ways. I've tried DEPEND="!media-lib/bar" I've tried RDEPEND="!media-lib/bar" No matter what I try, after emerging foo, I can still emerge bar and it won't block against foo. Maybe I'm miscommunicating what I'm doing. I'll try and explain again. I've got a file 'media-lib/foo' in /usr/local/portage. I put DEPEND="!media-lib/bar" and RDEPEND="!media-lib/bar" in the ebuild for media-lib/foo. I emerge media-lib/foo then, I attempt to emerge bar and it does not get blocked.
*** This bug has been marked as a duplicate of 48195 ***
Different issue...
*** This bug has been marked as a duplicate of 128809 ***