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

Bug 268513

Summary: [patch] app-portage/gentoolkit eclean inconsistent error messages for broken environment
Product: Portage Development Reporter: michael <michael>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: minor Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 237964, 268001    
Attachments: eclean_pkgdistdir_errormessage.patch

Description michael@smith-li.com 2009-05-03 20:34:23 UTC
If PKGDIR=/path/to/file and DISTDIR=/path/to/file, so they point to files and not directories, eclean packages and eclean distfiles should give consistent error messages. Instead, it gives a Python traceback for distfiles, and tells you your packages are already clean for packages.

Reproducible: Always
Comment 1 michael@smith-li.com 2009-05-03 20:35:45 UTC
Created attachment 190258 [details, diff]
eclean_pkgdistdir_errormessage.patch

This patch includes my update from bug 266996. Let me know if you need me to clean it out.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2009-05-05 01:50:39 UTC
$ svn commit -m "Add patch from kojiro to clean binary package metadata (Bug #266996 and to clean up inconsistent error messages (Bug #268513)"
Sending        eclean/eclean
Transmitting file data .
Committed revision 581.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2009-05-05 03:27:02 UTC
$ svn commit -m "Add patch from kojiro to clean binary package metadata (Bug #266996 and to clean up inconsistent error messages (Bug #268513)"
Sending        eclean/eclean
Transmitting file data .
Committed revision 581.
Comment 4 Paul Varner (RETIRED) gentoo-dev 2009-05-07 01:42:12 UTC
gentoolkit-0.3.0_rc5 released.  Thanks to djanderson for the hard work on equery and gentoolkit.
Comment 5 Paul Varner (RETIRED) gentoo-dev 2009-05-18 22:14:00 UTC
gentoolkit-0.2.4.4 released.