[Debian-med-packaging] Bug#784057: How to inject Java dependency properly [Was: Bug#784057: fastqc: Package doesn't list java as a dependency]

Andreas Tille andreas at an3as.eu
Sun Dec 20 15:28:55 UTC 2015


Hi,

I was assuming that adding a

   Depends: ${misc:Depends}, ${java:Depends}

would be sufficient to add a fitting JRE as a dependency and I'm now
realising that this is not the case.  Not even the implicite depends
from some lib*-java packages does help here.  On the other hand if I
look at the package figtree

Depends: ${misc:Depends}, ${java:Depends}

is resolved to

  Depends: default-jre | java6-runtime | java7-runtime, jarwrapper (>= 0.5), libbatik-java, ...

I wonder how this difference came and what I did wrong in the fastqc
package.

Kind regards

        Andreas.

----- Forwarded message from Hans Joachim Desserud <debian at desserud.org> -----

Dear Maintainer,

If I install fasqc on a system without an JRE, I get the following error:
$ fastqc
Can't exec "java": No such file or directory at /usr/bin/fastqc line 256.

After installing `default-jre` it works as expected. Please add a
dependency on Java for this package.

Originally reported in Ubuntu as
https://bugs.launchpad.net/ubuntu/+source/fastqc/+bug/1443437


-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list