Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42503 - virtual/jre dependency is not satisfied by sun-jdk
Summary: virtual/jre dependency is not satisfied by sun-jdk
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-22 12:46 UTC by Pavel
Modified: 2004-06-21 12:49 UTC (History)
1 user (show)

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 Pavel 2004-02-22 12:46:35 UTC
packages that have DEPEND=">=virtual/jre-XXX" ask for blackdown-jdk with sun-jdk installed. sun-jdk should satisfy this dependency

Reproducible: Always
Steps to Reproduce:
1.emerge -pv bsh
2.or emerge -pv commons-collections
3.or ebuild with DEPEND virtual/jre-XXX
Actual Results:  
emerge -pv bsh
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild  N    ] dev-java/blackdown-jdk-1.4.1  -doc  118,889 kB
[ebuild  N    ] dev-java/bsh-2.0_beta1   274 kB

java-config -L
[sun-jdk-1.4.2.03] "Sun JDK 1.4.2.03" (/etc/env.d/java/20sun-jdk-1.4.2.03) *
[sun-jdk-1.5.0_beta1] "Sun JDK 1.5.0_beta1" (/etc/env.d/java/20sun-jdk-1.5.0_beta1)
[sun-j2sdk-1.4.2] "Sun JDK 1.4.2" (/etc/env.d/java/20sun-j2sdk-1.4.2)

Expected Results:  
sun-jdk should satisfy virtaul/jre statement. 
NOTE: if I change DEPEND=">=virtual/jre-XXX" to DEPEND=">=virtual/jdk-XXX" then
blackdown dependency goes away. 

java-config -L
[sun-jdk-1.4.2.03] "Sun JDK 1.4.2.03" (/etc/env.d/java/20sun-jdk-1.4.2.03) *
[sun-jdk-1.5.0_beta1] "Sun JDK 1.5.0_beta1" (/etc/env.d/java/20sun-jdk-1.5.0_beta1)
[sun-j2sdk-1.4.2] "Sun JDK 1.4.2" (/etc/env.d/java/20sun-j2sdk-1.4.2)

# emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.3-mm2)
=================================================================
System uname: 2.6.3-mm2 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/jakarta/tomcat/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib acl alsa apache2 arts avi berkdb cdr clamav crypt cups dillo encode
esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jikes jpeg
junit ldap libg++ libwww mad maildir mikmod mmx motif mozilla moznocompose
moznoirc moznomail mozsvg mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib
perl png postgres python quicktime readline samba sdl slang spell sse ssl svga
tcltk tcpd tiff truetype x86 xface xml2 xmms xv zlib"
Comment 1 Jose Gonzalez Gomez 2004-05-13 02:36:25 UTC
Pavel,

I came to this bug as I had a related problem, so I took a look at it. I think you must have something wrong in your system, as I have tried to reproduce the bug you describe with no success. In my case:

packet root # java-config -L
[sun-jdk-1.4.2.03] "Sun JDK 1.4.2.03" (/etc/env.d/java/20sun-jdk-1.4.2.03) *
packet root # emerge -vp commons-collections
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild     U ] dev-java/commons-collections-3.0 [2.1-r3] +doc +jikes +junit  0 kB
 
Total size of downloads: 0 kB


Could you please post the contents of your /var/cache/edb/virtuals file?
Comment 2 Jochen Maes (RETIRED) gentoo-dev 2004-06-21 12:49:46 UTC
closed due to not a bug...
this is a isolated problem... 
since the submitter never answered the question i assume it's closed...