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: 234
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 Working with Unix since 1983.
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4743

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: 2176
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
Nitro_146
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 212
Location: Digne les bains, France

PostPosted: Sat Apr 18, 2015 9:19 pm    Post subject: Reply with quote

Hello,

Sorry to bring this thread up, but I am facing the same problem.

I want Icedtea on my system, and not Oracle VM.

But ...
Code:

emerge -auvD system

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N F   ] dev-java/oracle-jdk-bin-1.7.0.80:1.7  USE="X alsa fontconfig nsplugin (-aqua) -derby -doc -examples -jce -pax_kernel (-selinux) -source" 149 933 KiB
[ebuild  NS    ] virtual/jdk-1.7.0:1.7 [1.6.0-r2:1.6] 0 KiB


As figueroa said above, I could use the unstable icedtea, but I prefer get away from ~ packages.

Is it another solution ?
_________________
Linux, cause booting is for adding new hardware
Back to top
View user's profile Send private message
figueroa
Apprentice
Apprentice


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

PostPosted: Sat Apr 18, 2015 9:34 pm    Post subject: Reply with quote

Yes, they did it again. See the discussion at: https://forums.gentoo.org/viewtopic-p-7734564.html#7734564
_________________
Andy Figueroa
andy@andyfigueroa.us Working with Unix since 1983.
Back to top
View user's profile Send private message
Nitro_146
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 212
Location: Digne les bains, France

PostPosted: Sat Apr 18, 2015 9:40 pm    Post subject: Reply with quote

Thank you, I will subscribe to the other thread.
_________________
Linux, cause booting is for adding new hardware
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