FS#43524 - [camlp4] Incosistent assumptions with the OCaml compiler
Attached to Project:
Community Packages
Opened by Yuri Albuquerque (Denommus) - Tuesday, 20 January 2015, 18:45 GMT
Last edited by Jürgen Hötzel (juergen) - Monday, 14 August 2017, 04:27 GMT
Opened by Yuri Albuquerque (Denommus) - Tuesday, 20 January 2015, 18:45 GMT
Last edited by Jürgen Hötzel (juergen) - Monday, 14 August 2017, 04:27 GMT
|
Details
Description:
When trying to compile an OCaml package that uses camlp4, this error happens: # Error: The files /usr/lib/ocaml/pervasives.cmi # and /usr/lib/ocaml/camlp4/Camlp4.cmi make inconsistent assumptions # over interface Pervasives All it takes to solve it is to recompile the package with the same OCaml version installed on the system. Steps to reproduce: # pacman -S ocaml camlp4 ocaml-findlib opam $ opam init $ eval `opam config env` $ opam install camlp4 ocamlfind $ opam install eliom |
This task depends upon
We can add a dep to a specific version of ocaml.
I'm not really an ocaml user, but it sounds like that's basically what this bug report was about -- ocaml would freak out when related/dependent projects were compiled with something other than the exact same version of ocaml.
(But if so, maybe it should be a strict = rather than >=)
When I took over maintainership of OCaml I also started to rebuild all dependent packages for each OCaml release because OCaml updates are
usually not binary compatible.