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

Bug 366693

Summary: quickpkg should print a specific error message when disk is full
Product: Portage Development Reporter: Alex Cannon <alex6z>
Component: ToolsAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alex Cannon 2011-05-10 04:39:50 UTC
1.
      # quickpkg clamav
   2.
       * Building package for app-antivirus/clamav-0.97 ...Traceback (most recent call last):
   3.
        File "/usr/bin/quickpkg", line 287, in <module>
   4.
          retval = quickpkg_main(options, args, eout)
   5.
        File "/usr/bin/quickpkg", line 211, in quickpkg_main
   6.
          quickpkg_atom(options, infos, arg, eout)
   7.
        File "/usr/bin/quickpkg", line 136, in quickpkg_atom
   8.
          tar_contents(contents, root, tar, protect=protect)
   9.
        File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 4187, in tar_contents
  10.
          tar.addfile(tarinfo, f)
  11.
        File "/usr/lib/python2.6/tarfile.py", line 2010, in addfile
  12.
          copyfileobj(fileobj, self.fileobj, tarinfo.size)
  13.
        File "/usr/lib/python2.6/tarfile.py", line 282, in copyfileobj
  14.
          dst.write(buf)
  15.
      IOError: unknown IO error


I didn't know what the problem was from that error.

Reproducible: Always