1 |
On Sat, 28 Mar 2009 14:47:56 -0400 |
2 |
"John P. Burkett" <burkett@×××.edu> wrote: |
3 |
|
4 |
> Starting March 14, whenever I have tried doing |
5 |
> emerge -D -uav system |
6 |
> the response has included |
7 |
> !!! All ebuilds that could satisfy |
8 |
> ">=app-emacs/emacs-common-gentoo-1[X]" have been masked. |
9 |
> |
10 |
> On my x86 box, the response adds |
11 |
> - app-emacs/emacs-common-gentoo-1.0 (masked by: ~x86 keyword) |
12 |
> On my amd64 machine, the equivalent line is |
13 |
> - app-emacs/emacs-common-gentoo-1.0 (masked by: ~amd64 keyword) |
14 |
> |
15 |
> The dependency listing is as follows: |
16 |
> (dependency required by "app-editors/emacs-22.3-r2" [installed]) |
17 |
> (dependency required by "app-emacs/po-mode-0.17" [installed]) |
18 |
> (dependency required by "sys-devel/gettext-0.17" [installed]) |
19 |
> (dependency required by "sys-devel/gcc-4.1.2" [installed]) |
20 |
> (dependency required by "system" [argument]) |
21 |
> [..] |
22 |
> I'm not sure whether it would be safer to (a) emerge a masked version of |
23 |
> emacs-common-gentoo-1.0 or to (b) alter the dependency structure, |
24 |
> eliminating the requirement for emacs-common-gentoo-1.0. Further, I am |
25 |
> not sure how to do either one. Suggestions would be much appreciated. |
26 |
|
27 |
Looking at /usr/portage/app-editors/emacs/emacs-22.3-r2.ebuild, I see |
28 |
that it depends unconditionally on app-emacs/emacs-common-gentoo. |
29 |
You cannot eliminate this dependency by changing USE flags. |
30 |
The most natural solution is to tell Portage to accept the package |
31 |
app-emacs/emacs-common-gentoo, even though it is not officially stable. |
32 |
|
33 |
To learn how to do this, read the portage man page and look |
34 |
for package.keywords. |
35 |
|
36 |
For quick, "cake recipe" instructions: |
37 |
|
38 |
1) If there is a file named package.keywords in /etc/portage, |
39 |
add to it the line |
40 |
app-emacs/emacs-common-gentoo |
41 |
|
42 |
2) If there is a directory named package.keywords in /etc/portage, |
43 |
you can create a file in it (the name of this file is irrelevant), |
44 |
and add to this file the line |
45 |
app-emacs/emacs-common-gentoo |
46 |
If there is already some file in /etc/portage/package.keywords, then, |
47 |
at your option, you can either edit this file and add to it the line |
48 |
app-emacs/emacs-common-gentoo |
49 |
or you can create a new file with this line. |
50 |
|
51 |
-- |
52 |
Software is like sex: it is better when it is free. --Linus Torvalds |