On Sat, Mar 06, 2010 at 10:04:23PM -0000, clacke wrote: > I was just playing devil's advocate with myself and trying to understand > why one would want to depend on a package or meta-package instead of a > virtual dependency. And it certainly is the case that different > implementations differ in how well the implement the APIs and how much > they implement.
Build-depending on a virtual package means that apt will pick one essentially at random (of course it *is* deterministic, but the algorithm is not defined and apt is within its rights to change it at any time). Using a metapackage means that the Java maintainers can define unambiguously and centrally which JDK should be used to build packages, rather than relying on an undefined algorithm to pick one. There are many good uses for virtual packages, but in this case a metapackage is more appropriate. -- Inconsistent 'Provides' for different java compilers/runtimes https://bugs.launchpad.net/bugs/189953 You received this bug notification because you are a member of OpenJDK, which is subscribed to openjdk-6 in ubuntu. Status in “icedtea-java7” package in Ubuntu: Invalid Status in “openjdk-6” package in Ubuntu: Fix Released Bug description: Following are values for 'Provides' field for different java compilers/runtimes. icedtea-java7-jdk - java-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk icedtea-java7-jre - java-runtime, java2-runtime, java5-runtime, java6-runtime, java7-runtime sun-java5-jdk - java-compiler, java2-compiler sun-java5-jre - java-runtime, java-runtime-headless, java2-runtime, java2-runtime-headless, java5-runtime, java5-runtime-headless, java-virtual-machine sun-java6-jdk - java-compiler, java2-compiler sun-java6-jre - java-runtime, java-runtime-headless, java2-runtime, java2-runtime-headless, java5-runtime, java5-runtime-headless, java6-runtime, java6-runtime-headless, java-virtual-machine gcj-4.2 - java-compiler gij-4.2 - java-runtime-headless, java1-runtime-headless, java2-runtime-headless, java5-runtime-headless, java-virtual-machine kaffe - Doesn't have a 'Provides' field jikes - Doesn't have a 'Provides' field sablevm - java-runtime, java1-runtime, java-virtual-machine As per my understanding java-compiler - just a compiler without a VM ex. jikes java-virtual-machine - just a VM without a compiler ex. sablevm java-runtime - compiler + VM. Irrespective of whether my understanding is correct or not there has to be a consistency. Specifically icedtea-java7-jdk is out of sync with other compilers like Sun, GCJ. _______________________________________________ Mailing list: https://launchpad.net/~openjdk Post to : [email protected] Unsubscribe : https://launchpad.net/~openjdk More help : https://help.launchpad.net/ListHelp

