Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 813807 - [NEW FEATURE] Portage could warn about how much space is available in ${DISTDIR} before emerging
Summary: [NEW FEATURE] Portage could warn about how much space is available in ${DISTD...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-19 06:34 UTC by Petross404(Petros S)
Modified: 2021-09-20 14:12 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.