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

Bug 699516

Summary: QA notice for absolute symlinks pointing to paths starting with ${D}
Product: Portage Development Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: CoreAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arfrever Frehtes Taifersar Arahesis 2019-11-07 06:53:48 UTC
PMS (https://projects.gentoo.org/pms/7/pms.html#x1-14800013.4.1):
"""
13.4.1 Rewriting

Any absolute symlink whose link starts with D must be rewritten with the leading D removed. The package manager should issue a notice when doing this.
"""


Portage rewrites such symbolic links, but fails to print QA notice:
https://gitweb.gentoo.org/proj/portage.git/tree/lib/portage/dbapi/vartree.py?id=f90400eedc6a8788878c050880db564800c825d2#n4877

	if self.settings and self.settings["D"]:
		if myto.startswith(self.settings["D"]):
			myto = myto[len(self.settings["D"])-1:]