ant shouldn't recommend ant-gcj

Bug #411578 reported by Alvin Thompson
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ant (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ant

ant-gcj doesn't rise to the high level of a recommends, which basically states that if package 'A' recommends 'B', every conceivable 'normal' setup of 'A' will require 'B'. there are many java runtimes to choose from, most more 'normal' than gcj. since recommends are now treated as dependencies, this forces people to install a slew of packages most people don't need or want. frankly, this package doesn't even rise to the level of a suggests, since ant already depends on java-runtime.

Revision history for this message
Alvin Thompson (alvint-deactivatedaccount) wrote :

I believe this was fixed for a while, but now -gcj is back to recommends. what gives?

Changed in ant (Ubuntu):
status: New → Confirmed
Revision history for this message
LeoRochael (leorochael) wrote :

This recommendation basically means that anyone that has already installed the Sun version of java and tries to install the "eclipse" package ends up with gcj also installed, even though it shouldn't be necessary.

Revision history for this message
LeoRochael (leorochael) wrote :

Workaround for karmic, for those unfamiliar with apt. In the console, type:

  sudo apt-get install ant ant-gcj- ant-optional-gcj- gcj-4.4-base- libgcj-common-

Revision history for this message
Daniel Dinnyes (dadinn) wrote :

This is a very annoying bug, and it hasn't been touched since :(

Revision history for this message
Daniel Dinnyes (dadinn) wrote :

BTW, there are other packages which are still affected by this issue: _ant-optional_ recommends _ant-optional-gcj_ which in turn will install the same _gcj_ dependencies. Also _libdb4.8-java_ recommends the _libdb4.8-java-gcj_ package. These two make installing netbeans or eclipse packages from repository annoying.

As for a good example, please take a look at _antlr3_ and _libantlr3_ which only *suggests* the _antlr3-gcj_ and _libantlr3-gcj_ packages.

Revision history for this message
Emmanuel Bourg (ebourg) wrote :

This was fixed 5 years ago in ant/1.8.0-1 and ant-optional/1.8.0-3.

Changed in ant (Ubuntu):
status: Confirmed → Fix Released
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.