[Bug 1235143] [NEW] libcommons-lang-java is incorrectly marked as a dependency of libcommons-cli-java
picomancer
pico-launchpad-kpqy123z at picomancer.com
Fri Oct 4 08:55:12 UTC 2013
Public bug reported:
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-lang-java
...
But none of the code in libcommons-cli-java requires libcommons-lang-
java to run. You can easily see this by doing the following:
mkdir temp
cd temp
jar xvf /usr/share/java/commons-cli-1.2.jar
find . -type f | xargs strings | grep lang | grep -v java/lang
find . -type f | xargs strings | grep org.apache.commons.lang
(NB class names are actually in class files as org/apache/commons/lang,
but the dot character is actually a wildcard in grep, so this command
actually does search for what I claim it searches for)
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.commons.lang (the Java
package provided by libcommons-lang-java)!
Someone should probably report this bug to Debian, since Debian seems to
suffer from this problem as well -- see http://packages.debian.org/sid
/libcommons-cli-java
** Affects: libcommons-cli-java (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libcommons-cli-java in Ubuntu.
https://bugs.launchpad.net/bugs/1235143
Title:
libcommons-lang-java is incorrectly marked as a dependency of
libcommons-cli-java
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcommons-cli-java/+bug/1235143/+subscriptions
More information about the Ubuntu-server-bugs
mailing list