Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937518 - sys-kernel/gentoo-sources: Add CHECKREQS_DISK_BUILD
Summary: sys-kernel/gentoo-sources: Add CHECKREQS_DISK_BUILD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-07 14:44 UTC by Stefan Huber
Modified: 2024-08-16 21:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 1 Mike Pagano gentoo-dev 2024-08-16 19:22:33 UTC
Do I get fancy here, or just declare a high enough value ?
Comment 2 Larry the Git Cow gentoo-dev 2024-08-16 21:04:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78f02fe77c2545cf35c8563894533fbc03f6d54c

commit 78f02fe77c2545cf35c8563894533fbc03f6d54c
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2024-08-16 21:03:45 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2024-08-16 21:03:45 +0000

    sys-kernel/gentoo-sources: check for reasonable space for unpacking
    
    Will propagate through other versions
    
    Closes: https://bugs.gentoo.org/937518
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 sys-kernel/gentoo-sources/gentoo-sources-6.10.5.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)