Groovy package should depend on either sun-jdk or openjdk

Bug #893978 reported by Raviteja
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
groovy (Ubuntu)
Expired
Low
Unassigned

Bug Description

Groovy package presently depends on openjdk-6-jdk. This should not be the case if sun-java6-jdk is installled.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug. The top-level README.txt certainly seems to say the same thing. Marking this confirmed.

Changed in groovy (Ubuntu):
importance: Undecided → Low
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

actually I don't see where it currently depends on openjdk. In natty it depends on default-jdk, and in debian sid it depends on default-jre-headless | sun-java6-jre.

Can you tell us which ubuntu release you are on?

Changed in groovy (Ubuntu):
status: New → Incomplete
Revision history for this message
Raviteja (rlokineni) wrote :

I use Maverick(10.10) with sun-jdk installed. When I do "sudo apt-get install groovy" it pulls in openjdk. Haven't tried this on the latest release.

Changed in groovy (Ubuntu):
status: Incomplete → New
Revision history for this message
Raviteja (rlokineni) wrote :

It seems like default-jdk pulls:

"ca-certificates-java default-jdk default-jre default-jre-headless icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx libaccess-bridge-java libaccess-bridge-java-jni libice-dev libpthread-stubs0 libpthread-stubs0-dev libsm-dev libx11-dev libxau-dev libxcb1-dev libxdmcp-dev libxt-dev openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib ttf-dejavu-extra tzdata-java x11proto-core-dev x11proto-input-dev x11proto-kb-dev xtrans-dev"

It doesn't check if sun-java6-jdk is already installed

Revision history for this message
Raviteja (rlokineni) wrote :

The above was tested on

Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in groovy (Ubuntu):
status: New → Confirmed
Revision history for this message
Srand (cyril-scetbon) wrote :

Same issue on Ubuntu Precise :

root@node001:~# apt-get install groovy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  antlr ca-certificates-java default-jre-headless ivy junit4 libantlr-java libapache-pom-java libasm3-java libavahi-client3 libavahi-common-data libavahi-common3 libbsf-java
  libcommons-cli-java libcommons-lang-java libcommons-logging-java libcommons-parent-java libcups2 libfreetype6 libhamcrest-java libhawtjni-runtime-java libjansi-java
  libjansi-native-java libjline-java libjpeg-turbo8 libjpeg8 libmockobjects-java libnspr4 libnss3 libnss3-1d libpcsclite1 libregexp-java libservlet2.5-java libxpp3-java
  libxstream-java openjdk-6-jre-headless openjdk-6-jre-lib tzdata-java

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

Where do you get the sun-jdk package? Is it generated using java-package? AFAIK the package is removed, and Oracle only provides rpm and binary installers.

Anyway, this bug should be filed here: https://launchpad.net/ubuntu/+source/java-common/+filebug as that is the source of the default-jdk package.

Changed in groovy (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for groovy (Ubuntu) because there has been no activity for 60 days.]

Changed in groovy (Ubuntu):
status: Incomplete → Expired
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.