-
Notifications
You must be signed in to change notification settings - Fork 395
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
sendfile(): Invalid argument while installing #8041
sendfile(): Invalid argument while installing #8041
Comments
Hi, The following pieces of information will be useful:
|
Can you also report which version of mint you are using, as well as your kernel version ( |
I think what's happening is that in stdune/io, we detect that we're on linux, so we use the sendfile-based implementation, but the The manpage says:
So it's good to do that but I'm curious to see what's happening so that we can detect the situation more precisely. |
@emillon Do you want to send a fix for this?
It can happen under many circumstances so I wouldn't worry about it. However, one example might be doing |
Signed-off-by: Etienne Millon <me@emillon.org>
Signed-off-by: Etienne Millon <me@emillon.org>
Yes, that's the right way to do it. |
Fixes ocaml#8041 Signed-off-by: Etienne Millon <me@emillon.org>
Fixes ocaml#8041 Signed-off-by: Etienne Millon <me@emillon.org>
I added a fix which should be available in the next version of dune. In the meantime, versions of dune before 3.8.0 should work. |
Fixes ocaml#8041 Signed-off-by: Etienne Millon <me@emillon.org>
Fixes ocaml#8041 Signed-off-by: Etienne Millon <me@emillon.org>
Fixes #8041 Signed-off-by: Etienne Millon <me@emillon.org>
Signed-off-by: Etienne Millon <me@emillon.org>
Fixes ocaml#8041 Signed-off-by: Etienne Millon <me@emillon.org>
Signed-off-by: Etienne Millon <me@emillon.org>
Fixes ocaml#8041 Signed-off-by: Etienne Millon <me@emillon.org>
Fixes ocaml#8041 Signed-off-by: Etienne Millon <me@emillon.org>
CHANGES: - Fix deadlock on Windows (ocaml/dune#8044, @nojb) - When using `sendfile` to copy files on Linux, fall back to the portable version if it fails at runtime for some reason (NFS, etc). (ocaml/dune#8049, fixes ocaml/dune#8041, @emillon)
I'm starting to try ocaml by going through their installation process. I'm stuck here.
Expected Behavior
opam installs dune correctly
Actual Behavior
on invoking
Reproduction
I'm using Linux mint. This is my first time installation. I invoked these commands according to the docs from Ocaml website.
bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)"
opam init
opam install dune merlin ocaml-lsp-server odoc ocamlformat utop dune-release
// here it gives errorThe text was updated successfully, but these errors were encountered: