-
Notifications
You must be signed in to change notification settings - Fork 26
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
make uninstall can execute rm -rf / #18
Comments
The real problem is the compatibility with ocaml. The "rm -rf /" is an opam issue after. Ok, I just updated camlp5 for compatibility with ocaml 4.06.1 and 4.06.2. Release of Camlp5 soon. |
Now fixed ( d561693 ). Thanks! (See also ocaml/opam-repository#11440 ) |
A significant portion of my hard drive was just wiped when I didn't notice this behaviour was occurring into several minutes after |
This just wiped out my home directory. See ocaml/opam#3316 |
I am very confused, very sorry. But I can't do anything. I made a new release of Camlp5 (7.05) when I was notified of the problem. This error is also due to the way opam works, which should not do anything if configuration failed. Opam should urgently be fixed too. |
make uninstall
executesrm -rf /
if it is executed just after./configure
fails.This happens for instance when I try to install the camlp5 opam package in a 4.06.1 switch: this version of OCaml is not ruled out by the
opam
file, soopam
tries to install it, runs./configure
and fails with the message:Then
opam
executesmake uninstall
which executesrm -rf /
.The text was updated successfully, but these errors were encountered: