Don't strip custom bytecode programs.
authorSamuel Mimram <smimram@debian.org>
Sat, 26 Aug 2006 14:48:22 +0000 (14:48 +0000)
committerSamuel Mimram <smimram@debian.org>
Sat, 26 Aug 2006 14:48:22 +0000 (14:48 +0000)
debian/policy/chapter-generalities.xml
debian/policy/chapter-progpack.xml

index 28faa5c47c270272643a1d0a2a5b35e06b7b69b1..7a920ae45fd66bf0dca04c36fbf07855d9472556 100644 (file)
 
   <para>
       At the time of this writing, the latest version of OCaml in
-  Debian is &ocaml-version;.  </para>
+      Debian is &ocaml-version;.  </para>
 
+  <section>
+      <title>Packages for OCaml</title>
     <para>
     The <filename>ocaml</filename> package depends on all the basic
     packages needed to develop programs with OCaml. More specifically,
     <filename>ocaml-nox-&ocaml-version;</filename>,
     <filename>ocaml-base-&ocaml-version;</filename>,
     <filename>ocaml-base-nox-&ocaml-version;</filename>.
-    </para>
+</para>
+</section>
 
     <section>
       <title>OCaml Location</title>
index b58b0ef72dbb6396401435421852d25cd32f06b7..f972e232c05fb899f51a260fde8dd3e93e716abc 100644 (file)
@@ -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.
 </para>
+
+<para>
+    Bytecode programs which are compiled by <code>ocamlc -custom</code> must not be stripped. In particular, their package should be excluded from the <filename>dh_strip</filename> 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 <ulink url="http://bugs.debian.org/256900">256900</ulink>. An override for the lintian warning is considered as acceptable in this situation.
+</para>
 </section>
 
 <section id="bytecode-native-prog">