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
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.