View previous topic :: View next topic |
Author |
Message |
JavaCowboy n00b
Joined: 02 Jan 2003 Posts: 13
|
Posted: Wed Feb 09, 2005 4:08 am Post subject: Masked Packages with missing keyword |
|
|
I'm a former Gentoo Linux user who's switched to Mac, so I'm very familiar with Gentoo and Portage.
I've just installed Gentoo for OS X, and for some reason, almost every package I try to emerge is masked with the missing keyword.
I tried this for log4, junit, jdom, etc. I got the same problems for all of them. Following the instructions in the man pages, I looked at /usr/portage/profiles/package.mask, but I can't find those packages in the file.
I tried running this command:
ACCEPT_KEYWORDS="~ppc" emerge log4j
but I just kept getting the same output.
Here's what happens when I try to run emerge -p
Code: |
user$ sudo su
Password: **************
root# emerge -p log4j
These are the packages that I would merge, in order:
Calculating dependencies
!!! All ebuilds that could satisfy "log4j" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/log4j-1.2.8-r1 (masked by: missing keyword)
- dev-java/log4j-1.2.8-r2 (masked by: missing keyword)
- dev-java/log4j-1.2.8 (masked by: missing keyword)
- dev-java/log4j-1.2.9 (masked by: missing keyword)
For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
|
Any ideas what I should do? So far, Fink has been much more reliable for me on OS X.[/code] |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Wed Feb 09, 2005 6:13 am Post subject: |
|
|
Code: | echo "~dev-java/log4j-1.2.9 -* ppc" >> /etc/portage/package.keywords | ? _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
Red Sparrow Tux's lil' helper
Joined: 05 Feb 2004 Posts: 128 Location: Greeley, CO
|
Posted: Wed Feb 09, 2005 6:25 am Post subject: |
|
|
IIRC, Portage on OS X has its own arch keyword, ppc-macos. So you need to take moocha's suggestion and put ppc-macos instead.
(- Steve -) |
|
Back to top |
|
|
RockChops n00b
Joined: 10 Jul 2004 Posts: 23
|
Posted: Sat Mar 05, 2005 1:11 am Post subject: how to deal with masked stuff? |
|
|
I don't understand what the deal is here with the maskings. I'd like to emerge emacs with aqua support just for starters. Can anyone elighten me? Thanks
Code: |
$ sudo emerge -vp emacs
These are the packages that I would merge, in order:
Calculating dependencies
!!! All ebuilds that could satisfy "emacs" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-editors/emacs-18.59 (masked by: missing keyword)
- app-editors/emacs-21.4 (masked by: missing keyword)
- app-editors/emacs-22.0.50_pre20050225 (masked by: -* keyword)
For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
|
|
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sat Mar 05, 2005 1:18 am Post subject: Re: how to deal with masked stuff? |
|
|
RockChops wrote: | Code: | For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
|
|
Could it be more explicit? Please, I understand lazyness, but not this staggering amount. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Sat Mar 05, 2005 1:50 am Post subject: |
|
|
Merged last two posts. This thread was on the first page of the same forum btw, please search before posting. |
|
Back to top |
|
|
reddan n00b
Joined: 18 Mar 2004 Posts: 26 Location: Mumbai
|
Posted: Sat Mar 05, 2005 3:46 am Post subject: |
|
|
it looks like you're using the wrong keyword. I just installed emacs fine with ACCEPT_KEYWORDS="~ppc-macos".
The emacs-22.0.50_pre20050225 package is specifically keyworded "~ppc-macos -*". But your emerge's output says that the emacs-22.0.50_pre20050225 package is "masked by -* keyword", which indicates that you have the wrong keywords in your /etc/make.conf
So, check your /etc/make.conf : ACCEPT_KEYWORDS should only be "ppc-macos" or "~ppc-macos" on an OSX system.
hope this works for you. |
|
Back to top |
|
|
RockChops n00b
Joined: 10 Jul 2004 Posts: 23
|
Posted: Sat Mar 05, 2005 4:18 pm Post subject: |
|
|
Many apologies for the duplicate thread. I was admittedly in a hurry
Thanks reddan! That indeed got it working. I guess wat I was confused about is that I'm used to seeing more details than "missing keyword" (I have been using gentoo on my x86 system for about a year). |
|
Back to top |
|
|
|