Bug#800148: libcommons-cli-java: Unnecessary dependency libcommons-lang-java

Hans Joachim Desserud debian at desserud.org
Sun Sep 27 11:41:21 UTC 2015


Package: libcommons-cli-java
Version: 1.3.1-2
Tags: patch

Dear maintainer,

I discovered a bug report against Ubuntu [1] saying that
libcommons-cli-java unnecessarily depends on libcommons-lang-java.
After some digging I found an older, opposite bug report [2] in
Debian, from when the dependency was added.

When I grep through the package repo I cannot find any usage of
commons-lang in the current source code. In fact, if I'm reading
src/changes/changes.xml [3] correctly, it was removed from upstream
in version 1.1.

Thus, I believe this dependency can be removed from
libcommons-cli-java, and I have attached a patch which does so.
Two small notes:
1) I have built this locally, but since one of the other dependencies
pulls in libcommons-lang-java, it is hard to verify whether it builds
successfully without this package installed.
2) This might have consequences for reverse-dependencies which are
used to get libcommons-lang-java for free when depending on
libcommons-cli-java. So some of them might need an explicit
commons-lang dependency now, what would be the best approach to
inspect this?

[1] 
https://bugs.launchpad.net/ubuntu/+source/libcommons-cli-java/+bug/1235143
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=445508
[3] 
http://anonscm.debian.org/cgit/pkg-java/libcommons-cli-java.git/tree/src/changes/changes.xml

-- 
mvh / best regards
Hans Joachim Desserud
http://desserud.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commons-lang.patch
Type: text/x-diff
Size: 772 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20150927/ec209ae4/attachment.patch>


More information about the pkg-java-maintainers mailing list