Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New virtual/jdk-1.7.0 insists on building oracle-jdk-bin
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
figueroa
Apprentice
Apprentice


Joined: 14 Aug 2005
Posts: 221
Location: GA-USA

PostPosted: Fri Dec 07, 2012 5:39 pm    Post subject: New virtual/jdk-1.7.0 insists on building oracle-jdk-bin Reply with quote

Last year, I transitioned my primary Gentoo system from Oracle Java to Icedtea with which I have been very happy. This morning, I found a routine update (emerge -uDN world) wanted to install:

[ebuild NS ] virtual/jdk-1.7.0 [1.6.0-r1]

which was pulling in:

[ebuild N F ] dev-java/oracle-jdk-bin-1.7.0.9 USE="X alsa fontconfig nsplugin source -derby -doc -examples -jce -pax_kernel"

After about an hour of fiddling with various dependencies, I found that adding

=virtual/jdk-1.7.0

to /etc/portage/package.mask solved the problem for now. (I'm trying to keep Oracle Java out of my system).

A little further poking around showed that by adding:

dev-java/icedtea-bin ~x86
(or I could have unmasked dev-java/icedtea and accomplished my goal)

to my /etc/portage/package.keywords files and removing =virtual/jdk-1.7.0 from package.mask allowed virtual/jdk-1.7.0 to be installed along with upgrading to ~dev-java/icedtea-bin-7.2.3.3-r1 in a new slot along with stable 6.1.11.5-r1.

This is what I'm doing right now. I think a little more guru guidance would have been helpful. Corrective advice would also be appreciated.
_________________
Andy Figueroa
andy@andyfigueroa.us
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4280

PostPosted: Fri Dec 07, 2012 7:52 pm    Post subject: Reply with quote

virtual/jdk-1.7 goes stable
virtual/jdk-1.7 provide by stable oracle-jdk-bin-1.7*
virtual/jdk-1.7 provide by unstable icedtea-7*

now if portage is restrict by your stable keyword, it couldn't pickup any other choice than the stable one that comply with the virtual.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2103
Location: Near Toronto

PostPosted: Fri Dec 07, 2012 8:39 pm    Post subject: Reply with quote

Quote:
Corrective advice would also be appreciated.


Andy, you gave me the advice I needed; thanks ...
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
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