-
Notifications
You must be signed in to change notification settings - Fork 215
Image builder sporadically throws ENOSPC on macOS even with 72GB of host space available #396
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
Comments
AFAICT the out of space error is not related to your hard drive but to the bootable disk image we create. We try to calculate the smallest size we need to fit all the files on the disk image and apparently those calculations are not correct. Line 29 in 7c8e2ca
|
Will do that when I get home, thanks. |
Increasing the image size by an additional megabyte makes the image compile again
Alright, just submitted PR #397 to fix this |
I also noticed that this only happens when compiling with debug assertions enabled; file size doesn't overflow at all and compilation still occurs without any patches if I pass |
Does the |
Increasing the image size by an additional megabyte makes the image compile again
It actually improves performance, so I prefer it anyway for that reason. |
After having suddenly added 1,464 lines of code to my kernel the UEFI version of this will no longer compile:
This has happened before, but figured it was just a transient issue — ah, not anymore. The instant a large change is made, the bootloader suddenly fails to copy the kernel binary onto the disk image. Why is this? And is there a way to potentially specify in the
BootConfig
how big you want the disk image to be?The text was updated successfully, but these errors were encountered: