View previous topic :: View next topic |
Author |
Message |
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2963 Location: Edge of marsh 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
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
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 Advocate
Joined: 16 Nov 2003 Posts: 2588 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 |
|
|
Nitro_146 Apprentice
Joined: 02 Mar 2005 Posts: 221 Location: Digne les bains, France
|
Posted: Sat Apr 18, 2015 9:19 pm Post subject: |
|
|
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 |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2963 Location: Edge of marsh USA
|
Posted: Sat Apr 18, 2015 9:34 pm Post subject: |
|
|
Yes, they did it again. See the discussion at: https://forums.gentoo.org/viewtopic-p-7734564.html#7734564 _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Nitro_146 Apprentice
Joined: 02 Mar 2005 Posts: 221 Location: Digne les bains, France
|
Posted: Sat Apr 18, 2015 9:40 pm Post subject: |
|
|
Thank you, I will subscribe to the other thread. _________________ Linux, cause booting is for adding new hardware |
|
Back to top |
|
|
|