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

Re: Bug#303873: camlrpc: ftbfs build-depends nonexistant ocaml-nox-3.08



On 09/04/2005-15:21, Eric Cooper wrote:

> I've seen this in the other packages being updated to 3.08.3, but
> could you explain the rationale to a newbie?  Why is it better to
> have ocaml-nox provide a virtual package ocaml-nox-NNN, and why is it
> better to depend on that rather than "ocaml-nox (>= NNN)"?
> 
because ocaml-nox (>= NNN) includes ocaml-nox (= NNN+1), which won't be
binary compatible with NNN, and thus will break your package (ocaml will
complain about "inconsistent assumptions" about some stdlib interface).
You can think of it as the SONAME for shared libraries, except that
ocaml checks the md5sum of interfaces, so that binary compatibility will
break whenever the interface changes.
At least that's how I understand it :)

Cheers,
Julien



Reply to: