Closed patricoferris closed 2 years ago
Thanks a lot @patricoferris for the report! Yes, this is a known bug (and not that niche, if people try ocaml5 with it before its official release!). But there is already a PR for that: #83! Hopefully, this will solve the problem.
The PR above should have solved the issue, so I'm closing it for now, but feel free to re-open it if you still have a problem.
Thanks again for the report!
Hello, thanks for this great tool!
I recently took it for a spin with a 5.0.0~alpha1 switch and it seems things go a little askew when looking for a system compiler. The context of this was building in a dockerfile.
And then running
ocaml-platform -v -v
which resulted in the following.Looks like (although I'm not familiar with the internals) it tries to install a 5.0.0 system compiler and fails as there is none at the moment. A pretty niche bug, but perhaps it would be good to catch and report this error. At the moment it looks like it fails silently and then goes on to try and do something with the switch that was never made and only then realises something has gone wrong.