Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949345 - www-client/firefox-135.0: CHECKREQS_DISK_BUILD="6800M" isn't enough
Summary: www-client/firefox-135.0: CHECKREQS_DISK_BUILD="6800M" isn't enough
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-05 17:31 UTC by Aliaksei Urbanski
Modified: 2025-02-07 17:17 UTC (History)
1 user (show)

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


Attachments
emerge --info www-client/firefox (emerge-info.txt,10.37 KB, text/plain)
2025-02-05 17:34 UTC, Aliaksei Urbanski
Details
build log (build.log.gz,955.65 KB, application/gzip)
2025-02-05 17:37 UTC, Aliaksei Urbanski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aliaksei Urbanski 2025-02-05 17:31:51 UTC
Hello everyone,

It turns out, now you need more than 7.0 GiB of storage space to build Firefox.

# df -h /var/tmp/portage/
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           7.0G  7.0G   12K 100% /var/tmp/portage

# du -sh /var/tmp/portage/www-client/firefox-135.0
7.0G    /var/tmp/portage/www-client/firefox-135.0

# grep space /var/log/portage/build/www-client/firefox-135.0:20250204-181427.log | head -1
 * Checking for at least 6800 MiB disk space at "/var/tmp/portage/www-client/firefox-135.0/temp" ...

# grep space /var/log/portage/build/www-client/firefox-135.0:20250204-181427.log | tail -1
/usr/lib/portage/python3.13/ebuild.sh: line 413: cannot create temp file for here-document: No space left on device


Reproducible: Always

Steps to Reproduce:
# mount -t tmpfs -o size=7G,uid=portage,gid=portage,mode=775,noatime /var/tmp/portage
# emerge =www-client/firefox-135.0
Actual Results:  
portage checks for at least 6800 MiB disk space at "/var/tmp/portage/www-client/firefox-135.0/temp" and then runs out of space

Expected Results:  
portage checks for whatever amount is necessary and then builds Firefox successfully
Comment 1 Aliaksei Urbanski 2025-02-05 17:34:20 UTC
Created attachment 918226 [details]
emerge --info www-client/firefox
Comment 2 Aliaksei Urbanski 2025-02-05 17:37:55 UTC
Created attachment 918227 [details]
build log
Comment 3 Joonas Niilola gentoo-dev 2025-02-07 04:34:16 UTC
Hmm, I've been basing off the requirements from portage's "final size of build directory" message, and now I wonder if that includes the install image directory as well. Probably not. While I do also admit I may have forgotten to check the exact requirements this time around, the requirements are updated recently and at least the unpacked sources have not grown +200 MB from 133 to 135.

But will adjust.
Comment 4 Larry the Git Cow gentoo-dev 2025-02-07 17:17:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413955f274b5fa09c89726ed33e2da34dfcb7974

commit 413955f274b5fa09c89726ed33e2da34dfcb7974
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2025-02-07 17:13:34 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2025-02-07 17:13:34 +0000

    www-client/firefox: increase CHECKREQS_DISK_BUILD req on 135.0
    
    Closes: https://bugs.gentoo.org/949345
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/firefox-135.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)