new behaviour of lintian on ocamlrun scripts
Hello,
I just found that lintian complains about packages containing
executable bytecode :
E: bibtex2html: missing-dep-for-interpreter ocamlrun => ocaml | ocaml-base-nox (./usr/bin/bib2bib)
N:
N: You used an interpreter for a script that is not in an essential
N: package. In most cases you will need to add a Dependency on the
N: package that contains the interpreter.
[..]
My package depends on ocaml-base-nox-3.10.0. The lintian check is
obviously wrong since it does not allow for a versionend
ocaml-base-nox package. I wonder what the right check would be:
- if I undestand correctly the dependency must be on ocaml-base-nox,
not on ocaml. Or is there is a case in which the ocaml package
can provide the ocamlrun interpreter?
- are there any reasons in which it makes sense to depend on
ocaml-base-nox and not on ocaml-base-nox-N.NN.NN for
packages that use #!/usr/binocamlrun scripts? I cannot think
of one
So, in my opinion the right lintian check would be to check for dependency
on a package ocaml-base-nox-(\d\.)+. Or did I miss something?
-Ralf.
Reply to: