Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: depclean portect a class of ebuilds ?
Date: Tue, 17 Mar 2015 14:16:01
Message-Id: loom.20150317T143241-561@post.gmane.org
In Reply to: Re: [gentoo-user] Re: depclean portect a class of ebuilds ? by Bruce Schultz
1 Bruce Schultz <brulzki <at> gmail.com> writes:
2
3 >>> emerge --depclean -p
4
5 case (1)
6 > >EMERGE_DEFAULT_OPTS="--exclude gentoo-sources @dev-java "
7 NOw this is strange. Today it only wants to delete a few packages:
8
9 All selected packages: =dev-lang/vala-0.26.2 =dev-java/junit-4.11
10 =dev-java/jmock-1.1.0-r2 =dev-java/qdox-1.12-r1 =dev-lang/vala-0.24.0-r1
11 =dev-java/jna-3.4.0 =dev-java/hamcrest-generator-1.3-r1
12 =dev-java/cglib-2.0.2-r2 =dev-java/byaccj-1.15-r1 =dev-lang/vala-0.20.1
13 =dev-java/swing-layout-1.0.4 =dev-java/javahelp-2.0.05_p63
14 =dev-java/hamcrest-core-1.3 =dev-java/jflex-1.4.3
15
16 Most are in the dev-java set. So I renames the set to DEVjava; same result.
17
18 case (2)
19 > I'm thinking something like the following might work
20 >
21 > EMERGE_DEFAULT_OPTS="--exclude \"gentoo-sources @DEVjava\" "
22
23 emerge: error: Invalid Atom(s) in --exclude parameter: '@DEVjava' (only
24 package names and slot atoms (with wildcards) allowed)
25
26
27 case (3)
28 I dropped the gentoo-sources to focus in on using a set rulI think it is
29 closer. This one specifically fails:
30
31 EMERGE_DEFAULT_OPTS="--exclude \" @DEVjava\" "
32
33 same error message, so it does not like the set.
34
35
36 case (4)
37 EMERGE_DEFAULT_OPTS="--exclude \"DEVjava\" "
38
39 This did not fail, but it give the big list, including the packages
40 listed in the set DEVjava
41
42
43 So this message seems to be telling me that sets are not supported,
44 back from when the lower-case, non-hyphenated syntax was tested:
45
46 emerge: error: Invalid Atom(s) in --exclude parameter: '@dev-java/*' (only
47 package names and slot atoms (with wildcards) allowed)
48
49 Any other ideas or comments are welcome.
50
51
52 James

Replies

Subject Author
Re: [gentoo-user] Re: depclean portect a class of ebuilds ? Neil Bothwick <neil@××××××××××.uk>