Gentoo Archives: gentoo-devhelp

From: Thomas Sachau <tommy@g.o>
To: gentoo-devhelp@l.g.o
Cc: James Cloos <cloos@×××××××.com>
Subject: Re: [gentoo-devhelp] dodoc vs directories
Date: Sat, 18 Feb 2012 13:41:02
Message-Id: 4F3FAA4F.1010208@gentoo.org
In Reply to: [gentoo-devhelp] dodoc vs directories by James Cloos
1 James Cloos schrieb:
2 > It seems that dodoc recently has lost recusivity in portage master.
3
4 Unless you found something special with EAPI-4, then there is nothing
5 lost. dodoc never had the ability to work on directories in EAPI<4.
6 There was just a bug in portage, which did not let dodoc die, when it
7 was called on a directory. This now should, according to the mentioned
8 bug 356389, show a QA warning and at some later point die as it should
9 have done from the beginning.
10
11 >
12 > Several ebuilds (including in the main tree) now fail because of that.
13
14 Please give me some common example for such a failure.
15
16 >
17 > Bug https://bugs.gentoo.org/show_bug.cgi?id=356389 implies that the goal
18 > is only to qawarn, not error, when passed a directory. And dodoc itself
19 > seems to work that way.
20
21 So if dodoc does just qawarn, how should ebuilds now fail with dodoc
22 called on directories?
23
24 >
25 > But doins does not (cf:
26 >
27 > :; grep -C3 '$x is a directory' /usr/lib/portage/bin/ebuild-helpers/doins
28 >
29 > for the details).
30
31 doins was never ment to work on directories, unless you used the -r switch.
32
33 >
34 > Is this a bug in portage or should I submit bugs, blocking 356389, for
35 > each failure?
36
37 I currently cannot really see your problem, maybe you mixed some facts
38 about dodoc and doins? Otherwise, please clarify this.
39
40 --
41
42 Thomas Sachau
43 Gentoo Linux Developer

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-devhelp] dodoc vs directories James Cloos <cloos@×××××××.com>