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

Bug 429732

Summary: sys-apps/portage: collision between file and directory symlink requires special handling
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Ebuild SupportAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: Martin.vGagern
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=429692
Whiteboard:
Package list:
Runtime testing required: ---

Description Zac Medico gentoo-dev 2012-08-03 21:10:28 UTC
For example, see bug #429692. The collision check sees that the installed instance "owns" the /usr/lib path, but it doesn't notice that the file types are different. Here is the relevant code in dblink._collision_protect():

	for ver in mypkglist:
		if ver.isowner(f):
			isowned = True
			break