Dune installation error

Hi, I’m trying to install dune. I did opam install dune. This is the error it gave me

#=== ERROR while compiling dune.3.8.2 =========================================#
# context     2.1.5 | linux/x86_64 | ocaml.5.0.0 | https://opam.ocaml.org#509ab4d9
# path        ~/.opam/default/.opam-switch/build/dune.3.8.2
# command     ~/.opam/opam-init/hooks/sandbox.sh build ./_boot/dune.exe build dune.install --release --profile dune-bootstrap -j 7
# exit-code   1
# env-file    ~/.opam/log/dune-22736-950058.env
# output-file ~/.opam/log/dune-22736-950058.out
### output ###
# Error: sendfile(): Invalid argument
# -> required by _build/default/editor-integration/emacs/dune-flymake.el
# -> required by _build/install/default/share/emacs/site-lisp/dune-flymake.el
# -> required by _build/default/dune.install



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build dune 3.8.2
+- 
- No changes have been performed

I’m using Linux mint.

Hi,
Can you open an issue here please?
The following pieces of information will be useful:

  • can you try if it works with dune 3.7.1 (opam install dune.3.7.1). if it works, please also try 3.8.0 and 3.8.1
  • is your HOME directory a network mount like NFS?
  • can you install packages that do not use dune, for example you can try opam install fmt

Thanks

(saw that on unable to install dune using opam · Issue #8041 · ocaml/dune · GitHub)