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
Do I get fancy here, or just declare a high enough value ?
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(-)