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

Bug 830568

Summary: sys-devel/gcc: Should Check for Available Disk Space
Product: Gentoo Linux Reporter: gelihay319
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gentoo, info, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description gelihay319 2022-01-04 00:10:20 UTC
Emerging `gcc`, there is no check for free disk space. Countless hours were spent emerging to find that I didn't have enough free disk space. This could have been avoided with a simple check for available space before emerging the package.

Other compiler ebuilds, such as the one for `rust`, provide this. It needs to be implemented on the GCC ebuild as well.

Suggestion: Just copy the relevant portion from the `rust` ebuild file to the `gcc` ebuild file and change the free disk space requirement from 11 GB to 4 GB.
Comment 1 Tee KOBAYASHI 2022-01-04 06:56:13 UTC
See also https://bugs.gentoo.org/816792.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-11 01:52:01 UTC
*** Bug 816792 has been marked as a duplicate of this bug. ***
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-11 01:53:14 UTC

*** This bug has been marked as a duplicate of bug 526986 ***