Package: felix-main
Version: 4.0.1-2
Severity: important

felix-main includes a script called "felix-framework", which is a short-hand
for starting the Felix framework in one go. This script sources the file
/usr/lib/java-wrappers/ without checking whether that file
exists. The file comes from the java-wrappers package, but that package is not
listed as a dependency for felix-main. This causes using the felix-framework
tool to fail if java-wrappers is not installed.

Two solutions are possible: java-wrappers can be added as a run-time dependency
for the felix-main package, or a check can be added to the tool not to source
the /usr/lib/java-wrappers/ file if it doesn't exist.

Without the felix-framework short-hand, the Felix framework can still be used
by calling "java -jar /usr/share/felix-framework/bin/felix.jar" yourself.
Therefore I'm giving this bug Severity: important for breaking a normal
use-case but not breaking the pacakge completely.

    sjors@foo:~$ felix-framework
    /usr/bin/felix-framework: 9: .: Can't open 
    sjors@foo:~$ sudo apt-get install java-wrappers
    sjors@foo:~$ felix-framework
    Welcome to Apache Felix Gogo

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages felix-main depends on:
ii  libfelix-bundlerepository-java  1.6.6-1
ii  libfelix-gogo-command-java      0.12.0-2
ii  libfelix-gogo-runtime-java      0.10.0-2
ii  libfelix-gogo-shell-java        0.10.0-2
ii  libfelix-main-java              4.0.1-2

felix-main recommends no packages.

Versions of packages felix-main suggests:
pn  libfelix-main-java-doc  <none>

-- no debconf information

This is the maintainer address of Debian's Java team
Please use for discussions and questions.

Reply via email to