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

Bug 40670

Summary: ntp dependency require full JDK rather than JRE
Product: Gentoo Linux Reporter: Bo Majewski <bo>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bo Majewski 2004-02-06 19:05:35 UTC
I installed on a small system that is used to run but never develop Java applets or application blackdown JRE. However I was surprised to discover that when I tried to emerge net-misc/ntp it required a full-blown JDK. Tracing dependencies I discovered that 

net-misc/ntp requires sys-libs/libcap

if python USE flag is defined then
sys-libs/libcap requires dev-lang/swig

and finally

dev-lang/swig requires virtual/jdk

I'm wondering if it would be possible to run ntp without JDK or even JRE - seems it should be possible. However one cannot install it without installing a JDK. I managed to eliminate this dependency by replacing virtual/jdk with virtual/jre, but I am not sure if this is the best solution.






Reproducible: Always
Steps to Reproduce:
1. emerge any JRE, such as blackdown 1.4.1 JRE
2. emerge -p net-misc/ntp
3.

Actual Results:  
blackdown JDK shows among dependencies of the ntp.

Expected Results:  
JDK should not be required. JRE would be acceptable, but generally I think it
should be possible to install and run ntp without JRE or JDK.
Comment 1 Bo Majewski 2004-02-06 19:07:05 UTC

*** This bug has been marked as a duplicate of 40669 ***