I’ve updated to OPAM 2, and I’m having issues installing some packages. In particular, when trying to install
javalib.2.3.5 on OPAM 2.0.0 on a 4.07.0 switch I get the following:
# command ~/.opam/opam-init/hooks/sandbox.sh build make installptrees ... # ocamlfind: Cannot mkdir /Users/ins/.opam/4.07.0/lib/ptrees: Operation not permitted
My guess is that this is due to the new sandboxing feature that was introduced. Is there a way to say “I trust this package, install it as you would have in OPAM 1.2.x?”
I’ve seen conflicting reports about backwards compatibility. For example, here it says:
All packages installing in opam 1.2.2 should exist and install fine on 2.0.0~rc4 (if you find one that doesn’t, please report!)
But i’ve also seen plenty of GitHub issues with issues similar to mine.
Thanks so much!