Bug#601685: libbsf-java: package does not support optional libs (as the description claims)
Ximin Luo
infinity0 at gmx.com
Thu Oct 28 13:48:03 UTC 2010
Package: libbsf-java
Version: 1:2.4.0-4
Severity: grave
Tags: patch
Justification: renders package unusable
The currently-distributed bsf.jar does not contain the adapter classes (in
org/apache/bsf/engines) for most of the optional languages, except XSLT. This
renders the package mostly useless and is contradictory to the description,
which implies that (e.g.) installing rhino will enable JavaScript support.
This is because the build script tests for rhino, and will exclude the engine
for it, if it's not detected. In other words, to build a proper package that's
useful for the maximum number of people, you need to install all the optional
libs at *build time* and make them available to the build script.
I've attached a patch (for debian/patches) which automatically looks for the
optional jars in their default Debian locations (/usr/share/java) and will
include BSF's adapter classes if detected. I suggest also making those packages
strict Build-Depends so as to not accidentally make this mistake in the future.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libbsf-java depends on:
ii default-jre-headless [java2 1:1.6-40 Standard Java or Java compatible R
ii gcj-4.4-jre-headless [java2 4.4.5-2 Java runtime environment using GIJ
ii gcj-jre-headless [java2-run 4:4.4.5-1 Java runtime environment using GIJ
ii openjdk-6-jre-headless [jav 6b20-1.9.1-1 OpenJDK Java runtime, using Hotspo
libbsf-java recommends no packages.
Versions of packages libbsf-java suggests:
ii bsh 2.0b4-12 Java scripting environment (BeanSh
ii jython 2.5.1-2 Python seamlessly integrated with
ii libxalan2-java 2.7.1-5 XSL Transformations (XSLT) process
ii rhino 1.7R2-4 JavaScript engine written in Java
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04_external_libs.patch
Type: text/x-diff
Size: 3007 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20101028/a7b586ac/attachment.patch>
More information about the pkg-java-maintainers
mailing list