Bug#547735: libcommons-compress-java: Breaks bootchart (no TarInputStream)

Michael Koch konqueror at gmx.de
Thu Sep 24 12:50:36 UTC 2009


reassign 547735 bootchart
thanks

On Tue, Sep 22, 2009 at 02:01:17AM +0200, Michael Biebl wrote:
> Package: libcommons-compress-java
> Version: 1.0-1
> Severity: serious
> Justification: breaks unrelated packages

Well the package is not unrelated, bootchart depends on
libcommons-compress-java.

> Since the latest update of libcommons-compress-java, the bootchart
> binary is broken, it exits with the following error:
> 
> bootchart /var/log/bootchart/pluto-sid-20090922-1.tgz 
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/compress/archivers/tar/TarInputStream
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.compress.archivers.tar.TarInputStream
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> Could not find the main class: org.bootchart.Main.  Program will exit
> 
> With the libcommons-compress-java version from testing, it works fine.
> 
> Problem might be, that the Class name seems to have been renamed to TarArchiveInputStream which breaks dependend packages.

Yes, thats a problem. Upstream of libcommons-compress-java decided to change
the API for the 1.0 release. Hopefully to make it stable now. bootchart now
needs to adopt the new API. Reassigning the bug to bootchart.


Cheers,
Michael





More information about the pkg-java-maintainers mailing list