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

Bug 937518

Summary: sys-kernel/gentoo-sources: Add CHECKREQS_DISK_BUILD
Product: Gentoo Linux Reporter: Stefan Huber <shuber>
Component: Current packagesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan Huber 2024-08-07 14:44:44 UTC
I just ran into a `OSError: [Errno 28] No space left on device` when trying to emerge gentoo-sources-6.10.3, because 3 GiB do not suffice on /var/tmp/portage.

The work/ directory in /var/tmp/portage/… sums up to 1.6G now, and when copying all over to image/, we obtain a substantial footprint on /var/tmp/portage.

The question is whether a CHECKREQS_DISK_BUILD should be set up with twice the size reported by `xz -l linux-${KV_MAJOR}.${KV_MINOR}.tar.xz` or so, which is a lower bound on the required disk space. It would be generic and fast to check and useful.

p.s. It would actually be great if the installation phase to image/ would circumvent doubling the disk footprint.

Reproducible: Always