Dependency on java2-runtime removed

Bug #81876 reported by Tim Retout
24
Affects Status Importance Assigned to Milestone
libcommons-dbcp-java (Ubuntu)
Fix Released
Low
Emmet Hikory

Bug Description

Binary package hint: libcommons-dbcp-java

libcommons-dbcp-java 1.2.1-4ubuntu1 removed the dependency on 'java2-runtime' that had been there since Feb 2004, making it depend on java-gcj-compat or kaffe specifically.

This is a little inconvenient if one wanted to remove gcj and use the soon-to-be-free Sun JREs.

Tags: packaging
Revision history for this message
Nicolò Chieffo (yelo3) wrote :

Yes! for instance eclipse depends by this package and it cannot be installed without java-gcj-compat... this is not right!

Revision history for this message
Andy Neebel (aneebel) wrote :

I agree with this. I want to use eclipse, and since it only really works with sun java anyways, I shouldn't have to install another version of java just to be able to never use it. Someone please change that dep back or something. I tried editing the package to have that dep again, and it seems to have worked correctly - stuffs installing at least.

Revision history for this message
Jesper de Jong (jespdj) wrote :

Me too - I want to install Eclipse but I do not want GNU Java on my system. Please make sure that the dependencies are right, Eclipse nor Apache Commons DBCP nor Tomcat needs GNU Java.

Revision history for this message
Sergey V. Udaltsov (sergey-udaltsov) wrote :

Me too. Very annoying - keeping gcj just for this broken package's sake

Revision history for this message
Michael Koch (konqueror) wrote :

As 1.2.1-5 got synced today this bug is fixed. It depends on "java-gcj-compat | java1-runtime | java2-runtime" again.

Changed in libcommons-dbcp-java:
status: Unconfirmed → Fix Released
Revision history for this message
Nicolò Chieffo (yelo3) wrote :

Version: 1.2.1-5ubuntu1
Depends: java-gcj-compat | kaffe (>= 2:1.1.5-3), libcommons-pool-java, libcommons-collections-java

Changed in libcommons-dbcp-java:
status: Fix Released → Confirmed
Revision history for this message
Bogdan Butnaru (bogdanb) wrote :

Indeed, it seems to have gone back to the old dependency set.

Revision history for this message
Michael Koch (konqueror) wrote :

I attached a debdiff for this fix.

Emmet Hikory (persia)
Changed in libcommons-dbcp-java:
assignee: nobody → persia
importance: Undecided → Low
status: Confirmed → In Progress
Revision history for this message
Emmet Hikory (persia) wrote :

Uploaded. Thank you.

Changed in libcommons-dbcp-java:
status: In Progress → Fix Committed
Revision history for this message
Michael Koch (konqueror) wrote :

Mark as "Fix Released"

Changed in libcommons-dbcp-java:
status: Fix Committed → Fix Released
Revision history for this message
toffi (toffi) wrote :

Trying to install tomcat5.5, I've noticed that java2-runtime is not installed, i mean that after doing

# apt-get install sun-java6-jdk sun-java6-jre

java2-runtime should be provided and, I guess, installed on my system.
I'm not sure if this is a bug of sun-java6-jre or a problem on my system.

I've also installed on my system this package becouse I didn't find the update version with the problem fixed.
Package: libcommons-dbcp-java
......
Version: 1.2.1-3ubuntu1
Depends: java-gcj-compat | kaffe (>= 1:1.1.3) | java2-runtime, libcommons-pool-java, libcommons-collections-java

Revision history for this message
Michael Koch (konqueror) wrote :

The fix was finally synced in version 1.2.1-5. Its included in gutsy. Are you running dapper or edgy?

Revision history for this message
Sergey V. Udaltsov (sergey-udaltsov) wrote :

I am running 7.04 - and see no fix :(

Revision history for this message
toffi (toffi) wrote :

the same,
apt-cache policy says:
Installato (installed, it has right dependencies): 1.2.1-3ubuntu1
Candidato (candidate): 1.2.1-4ubuntu1

Anyway, after some other research, I found that the problem of tomcat5.5 dependencies is not strictly correlated with this one, but on the ecj-bootstrap package which depends on others that needs ecj.
The problem is already on charge in other bug repert, so for me this problem is solved.

Sergey if you need install
Package: libcommons-dbcp-java
Version: 1.2.1-3ubuntu1

it has the right dependencies.

Bye and thanks for help and for working to help linux users

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

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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