Package: libcamomile-ocaml-dev
Version: 0.6.6-1
Severity: normal
Tags: patch


Hi,

After installation of libcamomile-dev on my Debian unstable system, I
can see camomile being listed by "ocamlfind list" :

$ ocamlfind list | grep ^camomile
camomile            (version: n/a)

However, as you can see, the version is n/a. In fact, the problem is
that the META file in /usr/lib/ocaml/3.09.2/camomile/ is empty. So,
for example, it breaks the compilation of ocaml-gettext:

No implementations provided for the following modules:
 Camomile referenced from 
/home/thomas/debian/package/ocaml-gettext/upstream/ocaml-gettext-0.2.0/build/lib/gettext-camomile/gettextCamomile.cmxa(GettextCamomile)

After some search inside the camomile package, I discovered that a
META file is included inside the tarball, but that this file is
overwritten at configure time by an empty file. That's because it
tries to generate the META file from a non-existing META.in file,
through a sed (sed display an error at configure time).

So, included is a dpatch that rename META to META.in and fixes the
problem for me. However, it is certainly not the best solution to fix
the problem. Fixing the configure script itself would probably be a
lot better, but I don't feel brave enough right now to dig inside the
shell script mess of that script.

Thanks,

Thomas

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.2
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages libcamomile-ocaml-dev depends on:
ii  libcamomile-ocaml-data        0.6.6-1    Unicode data for OCaml
ii  ocaml-nox [ocaml-nox-3.09.2]  3.09.2-6   ML language implementation with a 

libcamomile-ocaml-dev recommends no packages.

-- no debconf information

Attachment: meta-in.dpatch
Description: application/shellscript

Reply via email to