Gentoo Archives: gentoo-pms

From: Ralph Sennhauser <sera@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] Clarifications on dosym behaviour
Date: Fri, 27 Jan 2012 16:29:59
Message-Id: 20120127172942.5b8b42fa@sera-17.lan
In Reply to: [gentoo-pms] dolib description misses DESTTREE by Ulrich Mueller
Just recently Portage started to emit "* QA Notice: dosym target omits
basename ..." for "dosym /path_to_file/file /some_other_path/"

The PMS says:

dosym: Creates a symbolic link named as for its second parameter,
pointing to the first. If the directory containing the new link does
not exist, creates it. Failure behaviour is EAPI dependent as per

The part "Creates a symbolic link named as for its second parameter"
could qualify it for requiring a basename.

As the behaviour of an implicit basename of the second parameter was
used for a long time I wonder if the PMS needs to be updated and clarify
the dosym behaviour or if this new QA warning can be seen as a long
overdue implementation of the intended behaviour.



Subject Author
Re: [gentoo-pms] Clarifications on dosym behaviour Ulrich Mueller <ulm@g.o>