2008/3/25, Sylvain Le Gall <[EMAIL PROTECTED]>: > On Mon, Mar 24, 2008 at 07:37:01PM +0100, Rémi Vanicat wrote: > > Package: cameleon-doc > > Version: 1.9.18.svn20070918-1 > > Followup-For: Bug #351510 > > > > When running cameleon today, it tell me: > > /usr/lib/ocaml/3.10.1/cameleon/stdlib.odoc: No such file or directory > > /usr/lib/ocaml/3.10.1/cameleon/cameleon.odoc: No such file or directory > > when > > /usr/lib/ocaml/3.10.0/cameleon/cameleon.odoc > > /usr/lib/ocaml/3.10.0/cameleon/stdlib.odoc > > exist. > > > > Apparently, rebuilding camleon-doc solve the problem, and we could > > live with that (meaning that camleon is not binNMUable in fact, at > > lest not in case of change of ocaml version). > > > > There is another problem with this: .odoc are binary-indep file, > > and should be in /usr/share/ we could try to put it there > > > > I am really not sure .odoc file are binary-indep file (because the are > Marshall-ed). At least i think so.
Marshall-ed data are binary-independ : "The format for the byte sequences is compatible across all machines" So they should be in /usr/share (at least If we want to folle FHS) but this true "for a given version of Objective Caml." So those file must be rebuild for every ocaml version change, and placed in a directory related to Marshall ABI version. So for now, we need to reupload cameleon, and it should be noted as an exception for binNMU when we upload new version of ocaml.

