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
1 Just recently Portage started to emit "* QA Notice: dosym target omits
2 basename ..." for "dosym /path_to_file/file /some_other_path/"
3
4 The PMS says:
5
6 dosym: Creates a symbolic link named as for its second parameter,
7 pointing to the first. If the directory containing the new link does
8 not exist, creates it. Failure behaviour is EAPI dependent as per
9 section 12.3.3.1.
10
11 The part "Creates a symbolic link named as for its second parameter"
12 could qualify it for requiring a basename.
13
14 As the behaviour of an implicit basename of the second parameter was
15 used for a long time I wonder if the PMS needs to be updated and clarify
16 the dosym behaviour or if this new QA warning can be seen as a long
17 overdue implementation of the intended behaviour.
18
19 Thanks.

Replies

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