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:]