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

Bug 212152

Summary: emerge fetch continues when device is full
Product: Portage Development Reporter: phrexianreaper
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 216231    

Description phrexianreaper 2008-03-03 03:08:43 UTC
When you try to emerge a file when /var/tmp if full, it will continue to try and fetch the program repeatedly, even when there is no more free space.

Reproducible: Always

Steps to Reproduce:
1. fill /var/tmp
2. emerge package
3. profit?

Actual Results:  
Printed an out of space error, then retried to fetch immediatly

Expected Results:  
Something a bit more intelligent, like wait awhile before trying to fetch this same file, or waiting for the space to free up
Comment 1 phrexianreaper 2008-03-03 03:44:51 UTC
Small change: this error occures when /usr/portage is full, not /var/tmp.
Comment 2 Zac Medico gentoo-dev 2008-03-03 03:53:26 UTC
We can compare os.statvfs(distdir).f_bavail to the current download size and bail out if it appears that there's not enough space.
Comment 3 phrexianreaper 2008-03-05 19:49:53 UTC
That would make more sense, along with a proper message to that effect (either displayed or emailed).
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2008-03-20 18:15:09 UTC
This is supposed to be fixed in portage-2.2_pre5 or earlier.
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2008-03-20 18:15:55 UTC
This is supposed to be fixed in portage-2.2_pre5 or earlier.