-
Notifications
You must be signed in to change notification settings - Fork 42
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
error: could not write to 'somewhere': No space left on device during build (fixed - comment on the workaround in the issue) #1747
Comments
Update: Doing the buld a second time then gave this error:
So I checked /tmp, and noted that the json file has a different name.
So I copied it to the second name:
This solved the issue. Cheers, Richie |
Merged #1755 to warn if there is less than 512MB on the /tmp filesystem. This is tough situation because some systems may need more than 1GB of space depending on the number of modules that have to be compiled from scratch. |
Hi Aaron,
I would suggest the best way to handle this would be to either:
1. Auto umount /tmp prior to compiling, and mount afterwards
2. Update the docs to remind users to umount /tmp before running the build
I expect 1 would be preferable, as unmounting/remounting /tmp before and
after the build using sudo would fix the issue, and do nothing if /tmp was
not a separate filesystem.
Just my thoughts really.
Cheers,
Richie
…---
Mx Richie Jarvis (Xe/Xem/Xyr)
***@***.***
***@***.***
***@***.***
South Common Observatory, Sussex, UK
Website (OLD!): https://deepsky.org.uk
Website (NEW!): https://deep-sky.uk
On Wed, 1 Jan 2025 at 22:20, Aaron W Morris ***@***.***> wrote:
Merged #1755 <#1755> to
warn if there is less than 512MB on the /tmp filesystem. This is tough
situation because some systems may need more than 1GB of space depending on
the number of modules that have to be compiled from scratch.
—
Reply to this email directly, view it on GitHub
<#1747 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG3Y4RBFFMJUPGKVEXVWTT2IRS2ZAVCNFSM6AAAAABUK7IOSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRXGE3DIMJSGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi Aaron,
Filing this as a "bug" - it isn't really, but you should update the install and tuning sections with this info in case it bites someone else.
The root cause is that the build process is using /tmp for the build, and restricting the size as per the tuning section causes the build to fail with a confusing out of space message which doesn't mention that the problem is /tmp at all.
The solution is to
sudo umount /tmp
first, and re-enable (or reboot) later. The build then works correctly as expected.Cheers,
Richie
The text was updated successfully, but these errors were encountered: