mmh, that’s indeed a weird one. opam info shows the right tag but not the right information.
Could you try opam pin remove rfsm && opam pin add "git+file:///Users/jserot/Dev/ml/rfsm#master" and see if it helps?
If not, what version of opam do you have? If you have the latest stable already 2.1.5, could you try using the latest 2.2.0~alpha3 using the following command:
$ opam pin remove rfsm
Ok, rfsm is no longer pinned to git+file:///Users/jserot/Dev/ml/rfsm#master (version 1.7.0)
$ opam pin add "git+file:///Users/jserot/Dev/ml/rfsm#master"
rfsm is now pinned to git+file:///Users/jserot/Dev/ml/rfsm#master (version 1.7.0)
The following actions will be performed:
∗ install rfsm 1.7.0*
Do you want to continue? [Y/n]
Btw, i’m puzzled by why this field was missing. The .opam file is supposed to be automatically generated from the dune-project one, isn’t it ? But there’s no version field in the latter ??
It is just that, by lack of any precise information, Opam has assigned an arbitrary version to the package you just pinned, which makes the subsequent installation message confusing. (I have never encountered a case where this feature is actually useful. I would prefer if Opam were to assign a specific version to the pin, e.g., “unknown”, instead of a version conflicting with an already existing one.) You can force the version by using
There must be sth weird here anyway.
When trying opam publish (after a, now sucessful, opam install .), i got strange error messages from the PR interface (Package rfsm.2.0 by jserot · Pull Request #24879 · ocaml/opam-repository · GitHub) : compilation seems to fail because of files which are not present in the source tree (nor in the GH .tar.gz release). I suspect, again, the CI scripts to use an old version…
Unfortunately the opam.ci.ocaml.org seems to be down this morning