prefix-dev / rattler-build

rattler-build is a universal package builder for Windows, macOS and Linux
https://prefix-dev.github.io/rattler-build
BSD 3-Clause "New" or "Revised" License
187 stars 38 forks source link

Packaging fails with "Large file option has not been set" #1034

Closed najose closed 2 weeks ago

najose commented 2 weeks ago

rattler-build fails to package certain recipes if the package size is large.

When running rattler-build on such large packages we run into:

 ╰─────────────────── (took 2 minutes)
 × error Error building package: Could not open or create, or write to file
Error:   × Could not open or create, or write to file
  ╰─▶ Large file option has not been set

Did some initial investigation into this:

najose commented 2 weeks ago

Thinking about this again, this might not be the right repo for this issue, since this is handled by rattler-package-streaming in conda/rattler repo, but I just filed it here as it affects rattler-build.

wolfv commented 2 weeks ago

Thanks for filing this issue! Do you have a notion of "how large"? We should definitely fix this asap.

wolfv commented 2 weeks ago

OK, it's 4 GB apparently. I'll have a look if we should set this always, or if we should try to figure out the file size beforehand.

najose commented 2 weeks ago

Thanks for the quick fix!