-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clearer message on error extracting sources #5583
Comments
Naturally, this is also more weight for the already-planned switch to using ocaml-tar! |
I came across this today and also got distracted by the error message, although it now at least prints some more information:
It took me forever to realize that this was related to symlinks after having many "but the file is clearly there..." moments, so I concur that a clearer error message would be good! (Also, how do I actually resolve this?) |
@Simn this is surprising, |
I broke my setup after encountering this, but I think I accidentally built a mscv version when I meant to use MinGW. At least I'm assuming that that's what "on Windows" would actually mean. I was also surprised to find my opam root in the Windows Users directory, as opposed to Cygwin's |
Retracing my steps, something goes wrong during
I don't know why it's going for Edit: An explicit And a subsequent |
Noting ocaml/opam-repository#23954 (comment):
The underlying problem here is that
tar
was failing owing to a (now-reported) Cygwin packaging error. This can also happen even more confusingly:We should update the error message to be clearer that the sources were obtained, but could not be extracted for some reason.
The text was updated successfully, but these errors were encountered: