ocaml-maint team mailing list archive
-
ocaml-maint team
-
Mailing list archive
-
Message #00855
[Bug 1740576] Re: Files ocamlbuildlib.cmxa and unix.cmxa make inconsistent assumptions over implementation Unix
ocamlfind ocamlopt unix.cmxa -I /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/ocamlbuild/ /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
File "_none_", line 1:
Alert ocaml_deprecated_auto_include:
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
--
You received this bug notification because you are a member of Debian
OCaml Maintainers, which is subscribed to ocaml in Ubuntu.
https://bugs.launchpad.net/bugs/1740576
Title:
Files ocamlbuildlib.cmxa and unix.cmxa make inconsistent assumptions
over implementation Unix
Status in ocaml package in Ubuntu:
Fix Released
Bug description:
Hi, I do not know whether this bug should be here. From the project
https://github.com/paparazzi/paparazzi , users with Ubuntu 17.10 are
experiencing the following problem
+ ocamlfind ocamlopt unix.cmxa -I /usr/lib/ocaml/ocamlbuild /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /usr/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
File "myocamlbuild.ml", line 1:
Error: Files /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa
and /usr/lib/ocaml/unix.cmxa
make inconsistent assumptions over implementation Unix
Command exited with code 2.
The maintainers of Paparazzi believe that this is an issue of the
Ubuntu distribution. In fact, it seems that other distributions are
facing a similar problem
https://bugzilla.redhat.com/show_bug.cgi?id=1481916
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocaml/+bug/1740576/+subscriptions
References