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

Bug 633956

Summary: www-client/firefox[-debug] miscalculated disk space requirements for builds with C{,XX}FLAGS=-g
Product: Gentoo Linux Reporter: unixway.drive+bugs.gentoo
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: tsmksubc
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description unixway.drive+bugs.gentoo 2017-10-10 17:35:11 UTC
see below

Reproducible: Always

Steps to Reproduce:
CFLAGS=-g CXXFLAGS=-g USE=-debug emerge firefox # -ggdb3 in my case
Actual Results:  
* Checking for at least 4 GiB disk space at "/var/tmp/portage/www-client/firefox-56.0/temp" ...  

Expected Results:  
emerge should check for twice as much, just as in the case of `use pgo || use debug || use test`

net-libs/webkit-gtk ebuilds already take user's CFLAGS into account with `if is-flagq "-g*" && ! is-flagq "-g*0";`, so that's what should probably be replicated here
Comment 1 Jory A. Pratt gentoo-dev 2019-03-31 20:01:41 UTC
The ebuild has checked for at least 8G for quite some time. Closing reopen with build size and actual install size if we need to adjust it further.