Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 547238

Summary: virtual/jdk-1.8.0: pulls in oracle-jdk-bin-1.8.0.45
Product: Gentoo Linux Reporter: Juergen Rose <rose>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED INVALID    
Severity: normal CC: fulminemizzega, polidevk.polidevk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Juergen Rose 2015-04-21 00:15:23 UTC
Since today virtual/jdk-1.8.0 tries again to install oracle-jdk-bin-1.8.0.45. 
So I have again to mask >virtual/jdk-1.7.0 and >virtual/jre-1.7.0 to avoid the installation of oracle-jdk-bin-1.8.0.45.


Reproducible: Always
Comment 1 Juergen Rose 2015-04-21 00:36:48 UTC
See also Bug 506162 .
Comment 2 Patrice Clement gentoo-dev 2015-04-21 08:14:13 UTC
Hi Jurgen

Yes, virtual/jdk-1.8.0 does pull in dev-java/oracle-jdk-bin-1.8.0. Here's the ebuild content:

$ cat /usr/portage/virtual/jdk/jdk-1.8.0.ebuild
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/virtual/jdk/jdk-1.8.0.ebuild,v 1.2 2014/05/30 11:20:17 tomwij Exp $

EAPI="5"

DESCRIPTION="Virtual for Java Development Kit (JDK)"
SLOT="1.8"
# TODO: Temporarily dropped ~sparc-solaris and ~x86-solaris as oracle-jdk-bin
#       no longer provides them. Also temporarily dropped ~ia64.
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris "

RDEPEND="=dev-java/oracle-jdk-bin-1.8.0*"

You seem to be facing another problem since you do not want the virtual to install oracle-jdk-bin. What is your request actually?
Comment 3 James Le Cuirot gentoo-dev 2015-04-21 08:21:48 UTC
Like bug #506162, I'm not sure what to suggest beyond masking it yourself. More people are asking for Java 8 all the time and it does work so we don't want to keep it masked any more but icedtea isn't ready at this point in time so you'll inevitably get hit with an update requiring a manual download. Let's keep this one open until icedtea 3 arrives because we'll probably get more like it otherwise.
Comment 4 William L. Thomson Jr. 2015-04-27 15:16:04 UTC
This really should not be a bug, I understand why its being left open but its misleading to people.

Not wanting Oracle JDK/JRE on your system is a PERSONAL preference. Fact is right now, almost a year after initial 1.8 release, there is still not icedtea/openjdk 1.8. You can build openjdk 1.8 without IcedTea, but no one has ever worked on packaging that in Gentoo. Thus its dependent on IcedTea.

Holding back Java entirely on Gentoo waiting for IcedTea to have OpenJDK 1.8 packaged and available for install is simply NOT an option. There is also IBM JDK/JRE 1.8, that should also be in tree. This virtual would be satisfied by either Oracle or IBM JDK/JRE.

People need to deal and get over this.... Having the latest stuff, might not always be exactly what you want. Though it might be what others want and need. Either way this is technology, and the latest stuff should be available ASAP. Rather than holding back Oracle 1.8 and Java 1.8 on Gentoo because of IcedTea. That makes NO sense....
Comment 5 Juergen Rose 2015-04-28 08:38:14 UTC
(In reply to William L. Thomson Jr. from comment #4)
> This really should not be a bug, I understand why its being left open but
> its misleading to people.
> 
> Not wanting Oracle JDK/JRE on your system is a PERSONAL preference. Fact is
> right now, almost a year after initial 1.8 release, there is still not
> icedtea/openjdk 1.8. You can build openjdk 1.8 without IcedTea, but no one
> has ever worked on packaging that in Gentoo. Thus its dependent on IcedTea.
> 
> Holding back Java entirely on Gentoo waiting for IcedTea to have OpenJDK 1.8
> packaged and available for install is simply NOT an option. There is also
> IBM JDK/JRE 1.8, that should also be in tree. This virtual would be
> satisfied by either Oracle or IBM JDK/JRE.
> 
> People need to deal and get over this.... Having the latest stuff, might not
> always be exactly what you want. Though it might be what others want and
> need. Either way this is technology, and the latest stuff should be
> available ASAP. Rather than holding back Oracle 1.8 and Java 1.8 on Gentoo
> because of IcedTea. That makes NO sense....

I agree, that this is not a bug. I can mask it myself. Only sad, that we don't have a jdk-1.8.0 compatible icedtea.
Comment 6 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2015-08-27 19:43:02 UTC
Closing as per comment #5
Comment 7 Andrew John Hughes 2015-08-27 20:05:02 UTC
The java overlay has a version of jdk-1.8.0 that depends on the current icedtea:3 pre-release and that's also the first place that icedtea will get updated and eventually become final. So add the overlay for now if you don't want proprietary Oracle JDKs.