Closed digash closed 4 months ago
This has happened to me, too: https://logs.guix.gnu.org/guix-hpc/2024-04-26.log#141936
I don't know what's wrong here. This is a message coming from the daemon in copyFile
: https://git.savannah.gnu.org/cgit/guix.git/tree/nix/libutil/util.cc#n382
The man page for copy_file_range
says that it could return EFBIG
when the range exceeds the maximum range. The code above does not check any limits and will attempt to copy the whole file.
The Nix folks have implemented the same fix with just a plain file copy: https://github.com/NixOS/nix/commit/c3878f510ec12ca6bf24505989e7463249dab61a
I believe our code ought to check the value of st.size
and fall back to a boring copy if it exceeds some "reasonable" value.
We discuss this here: https://issues.guix.gnu.org/70877 I'm closing the issue here because it's not a bug in guix-science-nonfree.
Thanks for reporting it!
Thank you for following through and fixing it in Guix. It works now!
Did anybody encounter this error? I am getting it consistently with cuda 12 and cuda 11. Maybe it is a file bigger than 4GB, but when I try to guix download url directly, it works but gives me a different hash and a different gnu store file.