findlib warns about cmi conflict with ocaml-uri

Hezekiah Carty avatarHezekiah Carty created an issue

The warning:

findlib: [WARNING] Interface install_printers.cmi occurs in several directories: /home/dev/opam/4.01.0/lib/lacaml, /home/dev/opam/4.01.0/lib/uri

Renaming install_printers to something including the library name, as suggested by dbuenzli, seems like a reasonable fix.

See https://github.com/avsm/ocaml-uri/issues/24 for a matching report against ocaml-uri.

Comments (2)

  1. Markus Mottl

    Though Oasis did create a "lacaml_top" library, it unfortunately did not pack it. This means it also had to install the interface of the contained module "install_printers.cmi", which then conflicted with other libraries. The solution was to make "lacaml_top" a packed library in Oasis so it will install "lacaml_top.cmi" only as required.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.