[karmic] eclipse-platform incorrectly depends on openjdk-6-jre, firefox

Bug #424322 reported by Zorael
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: eclipse-platform

Looking at the dependencies of eclipse-platform=3.4.1-0ubuntu2 at http://packages.ubuntu.com/karmic/eclipse-platform, there are some irregularities. These are depends, not recommends/suggests;

       default-jre
           Standard Java or Java compatible Runtime
       or java1-runtime
           virtual package provided by gcj-4.4-jre, gcj-jre, jamvm, kaffe-jthreads, kaffe-pthreads
       or java2-runtime
           virtual package provided by default-jre, gcj-4.4-jre, gcj-jre, openjdk-6-jre, sun-java6-jre

So far all is sane. Further down the list, however;

       openjdk-6-jre
           OpenJDK Java runtime, using Hotspot JIT

Despite being satisfied by java2-runtime, openjdk-6-jre is listed as a direct dependency, meaning you can't install eclipse-platform without installing OpenJDK, even if you're already using Sun's Java.

Sidenote: Firefox is also listed, but there's a separate report over at https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/191586 for that. I didn't find any cover-all "eclipse has insane dependencies" bug, though.

       firefox (>= 1.4.99)
           meta package for the popular mozilla web browser
           also a virtual package provided by abrowser

Revision history for this message
Zorael (zorael) wrote :

In a hopefully more legible format;

$ apt-cache depends eclipse-platform
eclipse-platform
  Depends: openjdk-6-jre # <--------
 |Depends: default-jre
 |Depends: <java1-runtime>
    gcj-4.4-jre
    gcj-jre
    jamvm
    kaffe-jthreads
    kaffe-pthreads
  Depends: <java2-runtime>
    openjdk-6-jre # <--------
    default-jre
    gcj-4.4-jre
    gcj-jre
    sun-java6-jre
...

Revision history for this message
Ilya Barygin (randomaction) wrote :

This is fixed in 3.5.1-0~ubuntu1.

Changed in eclipse (Ubuntu):
status: New → Fix Released
Revision history for this message
Rockwalrus (rockwalrus) wrote :

Eclipse 3.4 only ran on the Ubuntu OpenJDK 6 package -- the Sun JVM would crash after seconds of use, and gij was completely unusable for some reason that slips my mind. It's entirely possible that 3.5.x works with the Ubuntu Sun JVM package in Karmic, but you should test it first before assuming that it does and marking accordingly in debian/control.

Regardless, since the original report was against 3.4, which did require the openjdk 6 package to be used usefully, it wasn't a bug to depend on it explicitly.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.