Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14336 - dev-java/sun-j2sdk* -- Not finding virtual/jdk-1.4
Summary: dev-java/sun-j2sdk* -- Not finding virtual/jdk-1.4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-21 21:22 UTC by Jason Shoemaker (RETIRED)
Modified: 2003-01-22 00:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Shoemaker (RETIRED) gentoo-dev 2003-01-21 21:22:18 UTC
Like bug #13800

[code]
bash-2.05b# emerge -p sun-j2sdk

These are the packages that I would merge, in order:

Calculating world dependencies \
!!! all ebuilds that could satisfy ">=virtual/jdk-1.4" have been masked.
!!!    (dependency required by "dev-java/sun-j2sdk-1.4.0-r2" [ebuild])
[/code]

Looking in all the sun-j2sdk ebuilds I saw this in the DEPEND:
       >=virtual/jdk-1.4

I removed it to see what would happen. And started to emerge sun-j2sdk...it
aborted telling me: "JDK is too old, >= 1.4 is required"

I added back >=virtual/jdk-1.4, and did a emerge -p sun-j2sdk and it would no
longer complain about virtual/jdk-1.4 (Maybe virtual/jdk-1.4 was some how
'touched').

A possible soultion:
- >=virtual/jdk-1.4
+ >=virtual/jdk

Some addition info,

kutsuya sun-j2sdk # java-config --list-available-vms
[blackdown-jre-1.3.1] Blackdown JRE 1.3.1 (/etc/env.d/java/20blackdown-jre-1.3.1) 
[blackdown-jdk-1.3.1] Blackdown JDK 1.3.1 (/etc/env.d/java/20blackdown-jdk-1.3.1) 


kutsuya sun-j2sdk # emerge info
Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="ftp://ftp.oregonstate.edu/pub/gentoo
#ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.oregonstate.edu
http://www.ibiblio.org/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss apm avi crypt cups encode gif jpeg libg++ libwww mikmod mpeg
ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gtkhtml
gdbm berkdb slang readline bonobo svga java guile mysql postgres sdl gpm tcpd
pam ssl esd imlib oggvorbis qt motif opengl mozilla gtk2 tiff threads 3dnow -mmx
kde X gtk gnome -alsa arts perl python"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CXXFLAGS="-march=athlon-tbird -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"


Thanks for your help.
Comment 1 Jason Shoemaker (RETIRED) gentoo-dev 2003-01-22 00:58:53 UTC
I think I see the problem now. On a default system, if virtual/jdk-1.4 doesn't
exist, emerge the correct blackdown-jdk-1.4*.  The problem is that all
blackdown-jdk-1.4* ebuilds are masked.  

Now the error message makes a little more sense. 

So it's not a bug, just confusing.