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

Bug 813807

Summary: [NEW FEATURE] Portage could warn about how much space is available in ${DISTDIR} before emerging
Product: Portage Development Reporter: Petross404(Petros S) <petross404>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: enhancement CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Petross404(Petros S) 2021-09-19 06:34:59 UTC
I am currently using another partition (around 50Gb) and a symlink to store my distfiles. Eventually even this partition will run out of space.

This happened last night when I updated the @world with 170 new packages and around 5Gb of downloaded files (nvidia-cuda-toolkit was the 3 out of the 5Gb). As I couldn't know I had ran out of space, the whole process eventually stopped and the update left uncompleted.

It would be nice if Portage could warn about the remaining space and even better if it could interactively use eclean-dist to free some space.

Reproducible: Always

Steps to Reproduce:
1. Let your ${DISTDIR} to ballon in size.
2. Emerge something big.
3. Emerge halts.
Actual Results:  
Emerge fails.

Expected Results:  
The user should at least be warned before turning his/her back and leaving Portage to work.