dev-lang/spidermonkey-78.4.1 ebuild has the line CHECKREQS_DISK_BUILD="5600M" which means that emerge checks for 5.6GB of free space before starting the build. Unfortunately the amd64 build needs considerably more space than this to complete successfully Reproducible: Always Steps to Reproduce: 1. Clear 5.6GB of portage temp directory space. 2. Emerge dev-lang/spidermonkey-78.4.1 on amd64 stable dev-lang/spidermonkey-78.4.1:78::gentoo [60.5.2_p0-r4:60::gentoo] USE="jit -debug -lto% -test (-custom-cflags%) (-custom-optimization%) (-minimal%) (-system-icu%*)" Actual Results: Emerge fails during install phase, no space left on device. Note in this case the file system is genuinely full and not out of inodes, so this is not #753428. Expected Results: Emerge completes successfully. After the failure, the reported usage is 5.9GB: $ sudo du -hs /var/tmp/portage/dev-lang/spidermonkey-78.4.1/ 5.9G /var/tmp/portage/dev-lang/spidermonkey-78.4.1/ Subsequent attempts (clearing more space each time and running `ebuild merge`) failed at 6.0 and 6.5GB. Making available a further 900MB then allowed the install phase to complete. The install phase alone seems to need ~2GB of free space on top of what is used by compilation. The messages: * Final size of build directory: 5797028 KiB ( 5.5 GiB) * Final size of installed tree: 870872 KiB (850.4 MiB) are misleading about this. Free space in the build directory after successful build was 7.4GB. I would suggest this is a better value for the free space check in the ebuild.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caed1d243f336bd1aeed16efa14ecdb0f364d3c9 commit caed1d243f336bd1aeed16efa14ecdb0f364d3c9 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-11-15 22:34:44 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-11-15 23:50:22 +0000 dev-lang/spidermonkey: adjust required disk space Closes: https://bugs.gentoo.org/754747 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-lang/spidermonkey/spidermonkey-78.4.1.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)