Check-Script: ocaml Author: Stephane Glondu 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 .cmxa library without its implementation (.a static library). Tag: ocaml-dangling-cmx Severity: serious Certainty: certain Info: This package provides a .cmx module without its implementation (.o object file which may be embedded in a .a 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 (.cmxs). If the plugin is meant to be used as a library for other plugins, it should be shipped as bytecode (.cma or .cmo) as well. Tag: ocaml-dev-file-not-in-usr-lib-ocaml Severity: pedantic Certainty: possible Info: This development package installs OCaml development files (.cmi, .cmx or .cmxa) outside /usr/lib/ocaml. 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 .cma file and a .cmo file with the same base name. Most of the time, the module provided by the .cmo file is also linked in the .cma file, so the .cmo file is useless. Tag: ocaml-dangling-cmi Severity: wishlist Certainty: possible Info: This package installs a compiled interface (.cmi) without its text version (.mli). The text version should also be installed for documentation purpose. If the module involved doesn't have a .mli, its source code (.ml) 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 (.cmi, .cmx or .cmxa). 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.