Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 155634

Summary: Ebuild from overlay blocking portage ebuild.
Product: Portage Development Reporter: Avuton Olrich <avuton>
Component: Enhancement/Feature RequestsAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: 2.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Avuton Olrich 2006-11-18 21:05:21 UTC
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.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-11-18 21:47:49 UTC
Then that overlay ebuild (foo) should specify a block for the main tree ebuild (foo) in its dependencies.
Comment 2 Avuton Olrich 2006-11-18 21:54:55 UTC
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.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-11-19 00:44:12 UTC

*** This bug has been marked as a duplicate of 48195 ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-19 07:41:06 UTC
Different issue...
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-11-19 07:41:20 UTC

*** This bug has been marked as a duplicate of 128809 ***