/usr/share/lintian/checks/ocaml.desc is in lintian 2.5.6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | Check-Script: ocaml
Author: Stephane Glondu <steph@glondu.net>
Abbrev: ocaml
Type: binary
Info: This looks for common mistakes in OCaml binary packages.
Needs-Info: file-info, ar-info
Tag: ocaml-dangling-cmxa
Severity: serious
Certainty: certain
Info: This package provides a <tt>.cmxa</tt> library without its
implementation (<tt>.a</tt> static library).
Tag: ocaml-dangling-cmx
Severity: serious
Certainty: certain
Info: This package provides a <tt>.cmx</tt> module without its
implementation (<tt>.o</tt> object file which may be embedded in a
<tt>.a</tt> static library installed in the same directory).
Tag: ocaml-dangling-cmxs
Severity: normal
Certainty: possible
Info: This package seems to be a library package, and provides a native
plugin (<tt>.cmxs</tt>). If the plugin is meant to be used as a library
for other plugins, it should be shipped as bytecode (<tt>.cma</tt> or
<tt>.cmo</tt>) as well.
Tag: ocaml-dev-file-not-in-usr-lib-ocaml
Severity: pedantic
Certainty: possible
Info: This development package installs OCaml development files
(<tt>.cmi</tt>, <tt>.cmx</tt> or <tt>.cmxa</tt>) outside
<tt>/usr/lib/ocaml</tt>. Such files are used only by compilation and
should be in a subdirectory of OCaml standard library path.
Tag: ocaml-stray-cmo
Severity: minor
Certainty: wild-guess
Info: This package installs a <tt>.cma</tt> file and a <tt>.cmo</tt> file
with the same base name. Most of the time, the module provided by the
<tt>.cmo</tt> file is also linked in the <tt>.cma</tt> file, so the
<tt>.cmo</tt> file is useless.
Tag: ocaml-dangling-cmi
Severity: wishlist
Certainty: possible
Info: This package installs a compiled interface (<tt>.cmi</tt>) without
its text version (<tt>.mli</tt>). The text version should also be
installed for documentation purpose. If the module involved doesn't have
a <tt>.mli</tt>, its source code (<tt>.ml</tt>) should be installed
instead.
Tag: ocaml-dev-file-in-nondev-package
Severity: pedantic
Certainty: possible
Info: This package doesn't appear to be a development package, but
installs OCaml development files (<tt>.cmi</tt>, <tt>.cmx</tt> or
<tt>.cmxa</tt>). These files should be moved to a development package.
Tag: ocaml-meta-without-suggesting-findlib
Severity: pedantic
Certainty: certain
Info: This development package installs a META file but doesn't depend on
ocaml-findlib. Libraries with META file are easier to use with findlib.
The package should at least suggest ocaml-findlib.
|