Skip to content
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

scons caches corrupted files if cache directory volume has no space left #2625

Open
bdbaddog opened this issue Jan 2, 2018 · 4 comments
Open

Comments

@bdbaddog
Copy link
Contributor

bdbaddog commented Jan 2, 2018

This issue was originally created at: 2010-05-06 03:52:39.
This issue was reported by: depeyrot.
depeyrot said at 2010-05-06 03:52:39

Instead of issuing an "out of space" error, scons seems to put corrupted files into the cache if the cache directory volume has not enough space left on the device.

gregnoel said at 2010-05-19 08:25:35

Bug party triage: Catch this error and raise an exception. To prevent further corruption, invalidate the cache entry and fail the related build so that it can be retried later.

garyo said at 2012-09-01 10:01:49

Bumping all old issues targeted for past releases to 2.x.

@ajf58
Copy link
Contributor

ajf58 commented Feb 24, 2018

I think it's beyond the scope of SCons to try and gracefully handle the user's disk space running out. I suggest closing this as "won't fix".

@mwichmann mwichmann modified the milestones: 2.x, anytime Mar 27, 2021
@mwichmann mwichmann added cachedir and removed P2 labels Apr 4, 2022
@mwichmann
Copy link
Collaborator

This is related to #2615

@bdbaddog
Copy link
Contributor Author

bdbaddog commented Apr 4, 2022

Hmm. seems the inverse of #4085 ?

@mwichmann
Copy link
Collaborator

Kinda, yeah. The whole idea of expecting cachedir operations to work without some kind of error checking/recovery is apparently... optimistic. There's an issue in there somewhere which contains code for cache checking. #1908. Guess it wasn't super-popular.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants