[Pkg-ocaml-maint-commits] r3030 - in
/trunk/packages/ocaml/trunk/debian/policy:
chapter-generalities.xml chapter-progpack.xml
smimram at users.alioth.debian.org
smimram at users.alioth.debian.org
Sat Aug 26 14:48:23 UTC 2006
Author: smimram
Date: Sat Aug 26 14:48:22 2006
New Revision: 3030
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3030
Log:
Don't strip custom bytecode programs.
Modified:
trunk/packages/ocaml/trunk/debian/policy/chapter-generalities.xml
trunk/packages/ocaml/trunk/debian/policy/chapter-progpack.xml
Modified: trunk/packages/ocaml/trunk/debian/policy/chapter-generalities.xml
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml/trunk/debian/policy/chapter-generalities.xml?rev=3030&op=diff
==============================================================================
--- trunk/packages/ocaml/trunk/debian/policy/chapter-generalities.xml (original)
+++ trunk/packages/ocaml/trunk/debian/policy/chapter-generalities.xml Sat Aug 26 14:48:22 2006
@@ -112,8 +112,10 @@
<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,
@@ -175,7 +177,8 @@
<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>
Modified: trunk/packages/ocaml/trunk/debian/policy/chapter-progpack.xml
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml/trunk/debian/policy/chapter-progpack.xml?rev=3030&op=diff
==============================================================================
--- trunk/packages/ocaml/trunk/debian/policy/chapter-progpack.xml (original)
+++ trunk/packages/ocaml/trunk/debian/policy/chapter-progpack.xml Sat Aug 26 14:48:22 2006
@@ -73,6 +73,10 @@
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">
More information about the Pkg-ocaml-maint-commits
mailing list