libcommons-lang-java is incorrectly marked as a dependency of libcommons-cli-java
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcommons-cli-java (Debian) |
Fix Released
|
Unknown
|
|||
libcommons-cli-java (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I'm writing a Java program and I want to use Apache Commons command line parser. I install libcommons-cli-java like this:
$ sudo apt-get install libcommons-cli-java
...
The following extra packages will be installed:
libcommons-
...
But none of the code in libcommons-cli-java requires libcommons-
mkdir temp
cd temp
jar xvf /usr/share/
find . -type f | xargs strings | grep lang | grep -v java/lang
find . -type f | xargs strings | grep org.apache.
(NB class names are actually in class files as org/apache/
You can see the only occurrence of the string "lang" is in the license; the class files only contain references to java.lang (Java language builtins). There is no mention of org.apache.
Someone should probably report this bug to Debian, since Debian seems to suffer from this problem as well -- see http://
Changed in libcommons-cli-java (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in libcommons-cli-java (Debian): | |
status: | Unknown → New |
Changed in libcommons-cli-java (Debian): | |
status: | New → Fix Released |
Thanks for reporting.
I've created a patch for this issue and forwarded to Debian.