Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 930512

Summary: sys-apps/sandbox: Catch stat/fstat for EOVERFLOW
Product: Portage Development Reporter: Matt Turner <mattst88>
Component: SandboxAssignee: Sandbox Maintainers <sandbox>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=893776
https://bugs.gentoo.org/show_bug.cgi?id=930513
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 471102    

Description Matt Turner gentoo-dev 2024-04-23 17:16:37 UTC
bkohler@ noticed that the i486 catalyst builds were failing with the same symptoms as were reported in bug 893776.

sam identified that fstat() was failing, leaving `st` uninitialized. This didn't reproduce on another system because it was dependent on the underlying file system and whether the particular file fstat'd had an inode number > 2^32.

It might be nice if sandbox warned loudly if stat/fstat fails with EOVERFLOW.