| View previous topic :: View next topic |
| Author |
Message |
figueroa Apprentice


Joined: 14 Aug 2005 Posts: 196 Location: GA-USA
|
Posted: Fri Dec 07, 2012 5:39 pm Post subject: New virtual/jdk-1.7.0 insists on building oracle-jdk-bin |
|
|
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 |
|
 |
krinn Advocate


Joined: 02 May 2003 Posts: 3673
|
Posted: Fri Dec 07, 2012 7:52 pm Post subject: |
|
|
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 |
|
 |
albright Veteran


Joined: 16 Nov 2003 Posts: 1898 Location: Near Toronto
|
Posted: Fri Dec 07, 2012 8:39 pm Post subject: |
|
|
| 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 |
|
 |
|