Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699516 - QA notice for absolute symlinks pointing to paths starting with ${D}
Summary: QA notice for absolute symlinks pointing to paths starting with ${D}
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-07 06:53 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-11-07 06:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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:]