Closed panglesd closed 2 years ago
The error message in case of missing dependency in ocaml-platform is not explicit at all: For instance, if patch and unzip are missing, here would be the outputs:
patch
unzip
In non verbose and verbose:
root@9acca02b34cb:/# ocaml-platform ocaml-platform: [ERROR] Command 'opam init --yes -q --color=never --root /root/.opam' failed: exited with 50 root@9acca02b34cb:/# ocaml-platform -v ocaml-platform: [ERROR] Command 'opam init --yes -q --color=never --root /root/.opam' failed: exited with 50
and in very verbose mode
root@6906f5bf3e4a:/# ocaml-platform -vv ocaml-platform: [DEBUG] Running: 'opam' 'init' '--yes' '-q' '--color=never' '--root' '/root/.opam' ocaml-platform: [DEBUG] Error in execution: - unzip - patch [ERROR] Missing dependencies -- the following commands are required for opam to operate: [WARNING] Running as root is not recommended ocaml-platform: [ERROR] Command 'opam init --yes -q --color=never --root /root/.opam' failed: exited with 50
This PR does 3 things:
[WARNING] Running as root is not recommended [ERROR] Missing dependencies -- the following commands are required for opam to operate: - patch - unzip
instead of
- unzip - patch [ERROR] Missing dependencies -- the following commands are required for opam to operate: [WARNING] Running as root is not recommended
-v
What do you think? I am not sure the inclusion in the README is important, but I think the two other points are improvements.
The error message in case of missing dependency in ocaml-platform is not explicit at all: For instance, if
patch
andunzip
are missing, here would be the outputs:In non verbose and verbose:
and in very verbose mode
This PR does 3 things:
instead of
-v
.What do you think? I am not sure the inclusion in the README is important, but I think the two other points are improvements.