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

Bug 58351

Summary: cannot emerge jboss because of unresolved virtual dependency virtual/jdk-1.3
Product: Gentoo Linux Reporter: Joshua Koalsh <kolashj>
Component: [OLD] ServerAssignee: Java team <java>
Status: RESOLVED WORKSFORME    
Severity: normal CC: qa
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joshua Koalsh 2004-07-25 20:30:01 UTC
I get an unresolved virtual dependency when I try to emerge Jboss. it says I don't have ">=virtual/jdk-1.3" even though this is nonsense.

bash-2.05b# java-config -L
[blackdown-jre-1.3.1] "Blackdown JRE 1.3.1" (/etc/env.d/java/20blackdown-jre-1.3.1)
[kaffe-1.1.4] "Kaffe 1.1.4" (/etc/env.d/java/20kaffe-1.1.4)
[ibm-jdk-bin-1.4.2] "IBM JDK 1.4.2" (/etc/env.d/java/20ibm-jdk-bin-1.4.2) *

Reproducible: Always
Steps to Reproduce:
1. type emerge jboss
2.
3.

Actual Results:  
bash-2.05b# emerge jboss
Calculating dependencies \
emerge: there are no masked or unmasked ebuilds to satisfy ">=virtual/jdk-1.3".

!!! Error calculating dependencies. Please correct.




Expected Results:  
emerge jboss

bash-2.05b# emerge info
Portage 2.0.50-r9 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7
-gentoo-r9)
=================================================================
System uname: 2.6.7-gentoo-r9 ppc 750CXe
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=750 -pipe -ffast-math"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /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 /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/lib/jboss
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=750 -pipe -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa arts berkdb cdr cups dvd esd foomaticdb gdbm gif gnome gnome-libs
gpm gtk gtk2 imlib jpeg libwww mitshm motif mozilla nls oggvorbis opengl oss pam
perl png ppc python readline sdl slang ssl tcpd tetex truetype xv"
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-07-27 07:08:39 UTC
what does
grep jdk /var/cache/edb/virtuals
give you ?
Comment 2 Jochen Maes (RETIRED) gentoo-dev 2004-07-28 02:25:43 UTC
Please provide the grep jdk /var/cache/edb/virtuals, and make sure your profile is   at least the 2004.0 one.

greetings,


SeJo
Comment 3 Joshua Koalsh 2004-07-31 11:59:00 UTC
boeg root # grep jdk /var/cache/edb/virtuals
virtual/jre dev-java/kaffe dev-java/blackdown-jre dev-java/ibm-jdk-bin 
virtual/jdk dev-java/kaffe dev-java/ibm-jdk-bin 
virtual/java-scheme dev-java/kaffe dev-java/blackdown-jre dev-java/ibm-jdk-bin 
boeg root # head /etc/profile
# /etc/profile:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/profile,v 1.23 2003/04/29 21:23:18 azarah Exp $

I'm not sure how I update my profile. 
Comment 4 Thomas Matthijs (RETIRED) gentoo-dev 2004-07-31 12:31:12 UTC
by profile he means what the
/etc/make.profile 
symlink points at
Comment 5 Joshua Koalsh 2004-07-31 20:36:27 UTC
My profile is indeed 2004.0
Comment 6 Jochen Maes (RETIRED) gentoo-dev 2004-08-10 01:59:35 UTC
this is what there should be in /var/cache/edb/virtuals: 
virtual/jre dev-java/ibm-jdk-bin 
virtual/jdk dev-java/ibm-jdk-bin 

Hmm... If you have edited it manually, would you please try to link your profile to the 2004.2 (i'm using that one now). 
this is how you do it: 

# rm -f /etc/make.profile
# ln -sf /usr/portage/profiles/default-ppc-2004.2 /etc/make.profile


then do a emerge sync (is just to make sure you use the correct data).
# env-update
# source /etc/profile
# emerge jboss -p

and copy the output of emerge jboss -p here please (if not working) 
Comment 7 Jochen Maes (RETIRED) gentoo-dev 2004-08-16 01:17:36 UTC
closing as worksforme...
no response, and not reproducable on none of the systems i have access to.


greetings