opam is a source-based package manager. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.
When a package has a wrong dependency the error message is still on the "package name".
It would be preferable to not display that the package is "available" and display the Warning as an error while trying to install the package.
$ opam remote add test ort/
test Synchronizing with /bla/bla/ort
...
[WARNING] Package sexp_parser_edsl.0.0.1 depends on the unknown package sexplib.syntax
The following NEW packages are available:
- sexp_parser_edsl.0.0.1
Updating the cache of metadata (~/.ocamlbrew/ocaml-4.00.1/.opam/state.cache).
$ opam install sexp_parser_edsl
sexp_parser_edsl is not a valid versioned package name
'/home/smondet/.ocamlbrew/ocaml-4.00.1/bin/opam install sexp_parser_edsl' failed
(I am using master:
$ git log -1
commit 2641bf825908cf4d53e10453c9355c81235c948b
Author: Thomas Gazagnaire <thomas@gazagnaire.org>
Date: Thu Aug 8 16:10:57 2013 +0200
If an `opam` file is located at the root of a dev package, use its build instructions instead of the one stored in OPAM global state.
Fix #671
When a package has a wrong dependency the error message is still on the "package name".
It would be preferable to not display that the package is "available" and display the Warning as an error while trying to install the package.
(I am using
master
:)