Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ACCEPT_KEYWORDS="~x86" for one package only, no de
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Westech
n00b
n00b


Joined: 11 Sep 2003
Posts: 12

PostPosted: Wed Sep 24, 2003 4:00 am    Post subject: ACCEPT_KEYWORDS="~x86" for one package only, no de Reply with quote

I'm trying to emerge xfce4 by using

Code:
ACCEPT_KEYWORDS="~x86" emerge -p xfce4


since xfce4 is masked. The problem is that when I do this, portage wants to ACCEPT the "~x86" mask on all of the uninstalled dependencies of xfce4 also (xfree, etc...).

Is there any way that I can give one command to tell portage to emerge xfce4 accepting the "~x86", but to use only stable versions of all the dependencies?

Or am I stuck manually emerging all of xfce4's dependencies one at a time without the ACCEPT_KEYWORDS="~x86" and then emerging xfce4 with "~x86" afterwards?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9604
Location: beyond the rim

PostPosted: Wed Sep 24, 2003 4:27 am    Post subject: Reply with quote

You can either give emerge the full path to the ebuild (which can create other problems), go to bug 13616 and patch your portage or read my signature :wink:
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Sep 24, 2003 4:33 am    Post subject: Re: ACCEPT_KEYWORDS="~x86" for one package only, n Reply with quote

Westech wrote:
Or am I stuck manually emerging all of xfce4's dependencies one at a time without the ACCEPT_KEYWORDS="~x86" and then emerging xfce4 with "~x86" afterwards?
You can make it somewhat better by saying 'emerge dep1 dep2 dep3 dep4' instead of 'emerge dep1', 'emerge dep2', etc. :neutral:

Or, you can remove the silly tilde from the xfce ebuild, install it, and know that the tilde will magically reappear next `emerge [r]sync`. :-)
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
gregcoit
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2002
Posts: 101

PostPosted: Wed Sep 24, 2003 4:35 am    Post subject: Have you tried Reply with quote

ie: e,erge -p apps-wm/xfce/xfce.version.ebuild

Hope this helps
_________________
"Life would be so much easier if we could see the source code"
Back to top
View user's profile Send private message
Westech
n00b
n00b


Joined: 11 Sep 2003
Posts: 12

PostPosted: Wed Sep 24, 2003 9:25 pm    Post subject: Reply with quote

Thanks to everyone who replied, I learned something from each of your posts.

I'd rather avoid patching portage.

Would this work:

Code:

#emerge xfce4 along with all of the unstable versions of its dependencies:
ACCEPT_KEYWORDS="~x86" emerge xfce4

#revert all unstable dependencies back to latest unmasked versions:
emerge -u world

#If the above command removed xfce4 (not sure if it would or not)
#then emerge just xfce4 with none of its dependencies:
ACCEPT_KEYWORDS="~x86" emerge -O xfce4


Would that work the way I think it would (leaving me with the masked xfce4 installed, but with unmasked stable versions of all of its dependencies)?
Back to top
View user's profile Send private message
HomerSimpson
l33t
l33t


Joined: 25 Jan 2003
Posts: 869
Location: Ohio, USA

PostPosted: Wed Sep 24, 2003 10:21 pm    Post subject: Reply with quote

Genone Wrote:
Quote:
You can either give emerge the full path to the ebuild (which can create other problems)


So what is the difference between:
Code:
ACCEPT_KEYWORDS="~x86" emerge xfce4

and
Code:
emerge apps-wm/xfce/xfce.version.ebuild


I have been doing it the second way. Based on what Genone said it sounds like that is not a good way to do it? What are the problems this creates>

Thx
_________________
The strong must protect the Sweet.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9604
Location: beyond the rim

PostPosted: Wed Sep 24, 2003 11:57 pm    Post subject: Reply with quote

The major disadvantage of the ACCEPT_KEYWORDS style is that it also uses unstable versions of dependencies.
One bug I know with the /path/to/ebuild style is that under some circumstances it takes the wrong ebuild and I've heard that it doesn't add the package to the world file and a few other things I don't remember anymore. I usually don't use this style except for testing, so I'm not sure if the problems really exist (except for the first, I found that bug first).
Back to top
View user's profile Send private message
silux
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2003
Posts: 92

PostPosted: Thu Sep 25, 2003 1:48 am    Post subject: simpler solution to the problem Reply with quote

I believe (now don't shoot me if I'm wrong)

you can do this:

Code:
ACCEPT_KEYWORDS="~x86" emerge --nodeps xfce4


this should be remembered with rsync... you may want to look at the deps it has first though... some of them may actually require ~x86 deps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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