From: Samuel Mimram Date: Sat, 26 Aug 2006 14:48:22 +0000 (+0000) Subject: Don't strip custom bytecode programs. X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~626 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0f07fd7abcd77b6ed949252e4d56d10f8fd1c90a;p=ocaml.git Don't strip custom bytecode programs. --- diff --git a/debian/policy/chapter-generalities.xml b/debian/policy/chapter-generalities.xml index 28faa5c4..7a920ae4 100644 --- a/debian/policy/chapter-generalities.xml +++ b/debian/policy/chapter-generalities.xml @@ -112,8 +112,10 @@ At the time of this writing, the latest version of OCaml in - Debian is &ocaml-version;. + Debian is &ocaml-version;. +
+ Packages for OCaml The ocaml package depends on all the basic packages needed to develop programs with OCaml. More specifically, @@ -175,7 +177,8 @@ ocaml-nox-&ocaml-version;, ocaml-base-&ocaml-version;, ocaml-base-nox-&ocaml-version;. - + +
OCaml Location diff --git a/debian/policy/chapter-progpack.xml b/debian/policy/chapter-progpack.xml index b58b0ef7..f972e232 100644 --- a/debian/policy/chapter-progpack.xml +++ b/debian/policy/chapter-progpack.xml @@ -73,6 +73,10 @@ necessary to ensure that the version of OCaml has a certain value then version constraints can be used. However, this should be justified by the requirements of the compilation of the program. + + + Bytecode programs which are compiled by ocamlc -custom must not be stripped. In particular, their package should be excluded from the dh_strip script. When compiled this way, an elf executable is generated containing the ocaml interpreter, and the bytecode of the program in a section which is removed when the program is stripped. For more information, see the bug 256900. An override for the lintian warning is considered as acceptable in this situation. +