[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#599215: Homonymous modules that will conflict in META makes dh-ocaml choke.



Le 08. 10. 10 14:09, Sylvain Le Gall a écrit :
Hello,

dh_ocaml -s
E: Error: unit OCamlPython exported in libpython3.2-ocaml-dev v0.90-2 but already exported by libpython-ocaml-dev v0.90-1

Without renaming the file, you can add a dummy function in it, that will
modify the signature and allow computation of dependencies. When
dh_ocaml compute it takes into account the module name and the hash
exported/imported.

Will try that. But the thing is that I do not wish to provide a .cmi file. So I wonder how this will turn out.

On the other side, it might not be idiotic to have the version number in the interpreter module, but I really do not like the idea that it is packaging that would push me in this direction.

If you add a dummy function:

let is_v2_7 = true

include Python.Interpreter (struct end)

You should modify the signature of the module and solve the dependency
problem (and the error reported above).

Regards,
Sylvain Le Gall

Best regards,

--
     Guillaume Yziquel
http://yziquel.homelinux.org/


Reply to: