-
Notifications
You must be signed in to change notification settings - Fork 470
If dune tools install fails to install a tool it can break a user's environment #12818
Copy link
Copy link
Open
Labels
bsdIssues related to OpenBSD, FreeBSD, and NetBSDIssues related to OpenBSD, FreeBSD, and NetBSDdev toolspackage management
Description
Expected Behavior
lsptools are installed
Actual Behavior
Installer fails on 'dune tools install ocamllsp, with message
File "dev-tools.locks/ocaml-lsp-server/ocaml-compiler.pkg", line 112, characters 3-76:
112 | https://github.com/ocaml/ocaml/releases/download/5.4.0/ocaml-5.4.0.tar.gz)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: failed to extract 'download'
Reason: 'tar' failed with non-zero exit code '1' and output:
- tar: input compressed with gzip; use the -z option to decompress it.
I can no longer dune build, there seems to be no way to uninstall the tool, and the incomplete install has prevented all other progress on this repo.
Reproduction
I think this is derived from the OpenBSD version of tar? Other 'dune tools install' command fail in the same way
Specifications
- Version of
dune(output ofdune --version):
3.20.2 - Version of
ocaml(output ofocamlc --version): - Operating system (distribution and version):
- OpenBSD 7.8
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bsdIssues related to OpenBSD, FreeBSD, and NetBSDIssues related to OpenBSD, FreeBSD, and NetBSDdev toolspackage management