Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] eclipse
Date: Thu, 12 Apr 2007 13:42:53
Message-Id: 200704121533.42149.bo.andresen@zlin.dk
In Reply to: Re: [gentoo-user] eclipse by Alan McKinnon
1 On Thursday 12 April 2007 15:02:28 Alan McKinnon wrote:
2 > There are not one but TWO ways that packages get masked.
3
4 Actually there's at least 3 possible masking reasons.. ~arch keyword, missing
5 keyword and package.mask. Also the missing keyword reason is overloaded.
6
7 [SNIP]
8 > [...] and 'ACCEPT_KEYWORDS=~x86' if you want unstable/testing.
9
10 I don't think anyone should ever mention ACCEPT_KEYWORDS=~arch without making
11 it clear that going back from all ~arch to stable is very hard and in certain
12 special cases dangerous (mostly glibc downgrades).
13
14 > So much for stable/testing. There's another way to use all this, that is
15 > packages that don;t have any keywords at all. These are new ebuilds put
16 > in portage for the first stage of testing.
17 [SNIP]
18 > Now, eclipse-core is in this category:
19
20 Umm... no it isn't. It's ~x86 and package.mask'ed. Other ebuilds belonging to
21 that category are socalled live ebuilds that pull latest version of a package
22 from the version control system that upstream is using. A test of those today
23 may not be valid tomorrow and hence they can't be keyworded. Useful for
24 developers only.
25
26 > nazgul enlightenment # eix eclipse-core
27 > * dev-java/eclipse-core
28 >      Available versions:  (3)  [M](~)3.2_pre2
29 [SNIP]
30 > See the [M] on the versions line? That says it's hard masked and you
31 > need to do this to get it going:
32 >
33 > echo "dev-java/eclipse-core -*" >> /etc/portage/package.keywords
34
35 Wrong!
36
37 > Note the -* in the echo command, it is needed. It tells emerge to
38 > install that package regardless of the fact that it has no keywords set
39 > in the ebuild.
40
41 No it doesn't. It tells emerge to install packages that have -* in KEYWORDS.
42 For no keywords at all you need **.
43
44 In this case you just need ~x86 and package.unmask..
45
46 --
47 Bo Andresen

Replies

Subject Author
Re: [gentoo-user] eclipse Alan McKinnon <alan@××××××××××××××××.za>