I'm using opam 2.0.0~rc2 and for opam switch create . 4.06.1 I got:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed base-bigarray.base
∗ installed base-threads.base
∗ installed base-unix.base
[ERROR] The compilation of ocaml-base-compiler failed at "/home/user/.opam/opam-init/hooks/sandbox.sh build ./configure -prefix /mnt/i/LangCompil/td1/_opam -with-debug-runtime".
#=== ERROR while compiling ocaml-base-compiler.4.06.1 =========================#
# context 2.0.0~rc2 | linux/x86_64 | | https://opam.ocaml.org/2.0#b36f28db
# path /mnt/i/LangCompil/td1/_opam/.opam-switch/build/ocaml-base-compiler.4.06.1
# command ~/.opam/opam-init/hooks/sandbox.sh build ./configure -prefix /mnt/i/LangCompil/td1/_opam -with-debug-runtime
# exit-code 1
# env-file ~/.opam/log/ocaml-base-compiler-3314-d2d111.env
# output-file ~/.opam/log/ocaml-base-compiler-3314-d2d111.out
### output ###
# Creating new namespace failed: Invalid argument
How to resolve this ?