Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Masked Packages with missing keyword
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
JavaCowboy
n00b
n00b


Joined: 02 Jan 2003
Posts: 13

PostPosted: Wed Feb 09, 2005 4:08 am    Post subject: Masked Packages with missing keyword Reply with quote

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
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Wed Feb 09, 2005 6:13 am    Post subject: Reply with quote

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
View user's profile Send private message
Red Sparrow
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2004
Posts: 128
Location: Greeley, CO

PostPosted: Wed Feb 09, 2005 6:25 am    Post subject: Reply with quote

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
View user's profile Send private message
RockChops
n00b
n00b


Joined: 10 Jul 2004
Posts: 23

PostPosted: Sat Mar 05, 2005 1:11 am    Post subject: how to deal with masked stuff? Reply with quote

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
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sat Mar 05, 2005 1:18 am    Post subject: Re: how to deal with masked stuff? Reply with quote

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
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Sat Mar 05, 2005 1:50 am    Post subject: Reply with quote

Merged last two posts. This thread was on the first page of the same forum btw, please search before posting.
Back to top
View user's profile Send private message
reddan
n00b
n00b


Joined: 18 Mar 2004
Posts: 26
Location: Mumbai

PostPosted: Sat Mar 05, 2005 3:46 am    Post subject: Reply with quote

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
View user's profile Send private message
RockChops
n00b
n00b


Joined: 10 Jul 2004
Posts: 23

PostPosted: Sat Mar 05, 2005 4:18 pm    Post subject: Reply with quote

Many apologies for the duplicate thread. I was admittedly in a hurry :oops:

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
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum