Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17990 - Emerge should do better cleaning of the garbage.
Summary: Emerge should do better cleaning of the garbage.
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-22 05:14 UTC by Sergey Kuleshov (RETIRED)
Modified: 2011-10-30 22:36 UTC (History)
0 users

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 Sergey Kuleshov (RETIRED) gentoo-dev 2003-03-22 05:14:51 UTC
It would be a good idea if emerge would either do it automatically or had a
special option for cleaning out the /var/tmp/portage directory. It is especially
important for those packages whos build failed or was interrupted, as they leave
behind the work directory, which might be quite big (especially with packages
like kdelibs for example).

Reproducible: Always
Steps to Reproduce:
1. Emerge a package (say kdelibs).
2. Cancel the make process.
3. Look at the /var/tmp/portage/kdelibs-*something*/work

Actual Results:  
Disk space is wasted for unpacked sources.

Expected Results:  
Emerge should clean the automatically.
Comment 1 Brian Harring (RETIRED) gentoo-dev 2005-02-27 22:29:36 UTC
Portage calls the clean phase on successful merges already... wiping the directory when a build fails isn't much of an option however.