Open Leonidas-from-XIV opened 2 years ago
Not sure if I'm in the same case, but testing with OCaml 5.0.0 released yesterday, I get the same messages.
The message is printed by https://github.com/ocaml-opam/opam-0install-solver/blob/b759d7c1c2f140724020f57599ead9ee394a8f7a/lib/switch_context.ml#L23 and the package using these variables is https://github.com/ocaml/opam-repository/blob/master/packages/ocaml-options-vanilla/ocaml-options-vanilla.1/opam .
Thanks @palainp, it looks like this commit introduced them: https://github.com/ocaml/opam-repository/commit/ab440dd6d41c0a3139b707855217ffaa7e54ac26 and the 0install solver doesn't seem have support for those. I'll take a look what's going on.
An error report already exists: https://github.com/ocaml-opam/opam-0install-solver/issues/45, so this issue will need to be solved on the solver-side.
Reported by @samoht:
The
project.opam
file does not use theversion
fields, so we should look into why these are being passed into OPAM and triggering this warning.