Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25148 - tightvnc java dep broken?
Summary: tightvnc java dep broken?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-23 16:40 UTC by Jordan
Modified: 2003-07-26 09:41 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 Jordan 2003-07-23 16:40:51 UTC
tightvnc from what I understand is supposed to depend on java if it's in your
use flags, although when I emerge -p tightvnc it doesn't show jdk or jre as a
dependency. If I emerge it, then run emerge -uDp world, it now wants to emerge
jdk (and most likely jre too, I already have it emerged though.) Shouldn't it be
installing jdk and jre before hand? I'm not entirely sure why the dependency was
done as it was in the ebuild but this seems weird to me:
java? ( || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) )
Comment 1 Nick Hadaway 2003-07-26 01:41:26 UTC
blackie tightvnc # emerge -vep tightvnc
...snip...
[ebuild  N   ] sys-libs/glibc-2.3.2-r1  +nls +pic -build +nptl 
[ebuild  N   ] sys-devel/patch-2.5.9  -build -static 
[ebuild  N   ] sys-libs/zlib-1.1.4-r1  
[ebuild  N   ] media-libs/jpeg-6b-r3  
[ebuild  N   ] dev-java/java-config-0.2.8  
[ebuild  N   ] dev-java/blackdown-jdk-1.4.1  -doc 
[ebuild  N   ] sys-apps/tcp-wrappers-7.6-r4  
[ebuild  N   ] net-misc/tightvnc-1.2.8  +java +tcpd

For me it shows that java gets installed before tightvnc does.
dev-java/blackdown-jdk is the default choice for jdk/jre support.

java? ( || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) )
This block of code means check to see if either package is install.  If none are installed, the jdk gets installed.

I need more information from you.  What java build do you currently have installed?

When you do -uDp it's going to look for updates for packages and look through the entire dependancy tree for updates...
emerge -p tightvnc will not go through and look for updates in all dependancies...  Because your java support was already installed it installed the tightvnc without updating java.
Comment 2 Nick Hadaway 2003-07-26 01:42:40 UTC
this appears to be a non-problem as portage acts correctly based on the commandline switches used.
Comment 3 Jordan 2003-07-26 09:41:19 UTC
I have blackdown-jre-1.4.1 currently installed and I'm using portage-2.0.48-r7.

"java? ( || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) )
This block of code means check to see if either package is install.  If none are
installed, the jdk gets installed."

According to that, it isn't working correctly. As I have jre installed, it shouldn't have to install jdk. Then it wants to install jdk only when I use -uDp? Using emerge -vep does show blackdown-jdk before tightvnc, but emerge -p or -up doesn't. I tried emerge -uDp tightvnc and sure enough it shows blackdown-jdk again. Is it wanting to install jdk when it doesn't have to, as I have jre already installed? That's what it now seems like to me.