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

Bug 551266

Summary: eclean: allow for missing PKGDIR
Product: Portage Development Reporter: SpanKY <vapier>
Component: Third-Party ToolsAssignee: Portage Tools Team <tools-portage>
Severity: normal CC: esigra, fuzzyray
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 346443    

Description SpanKY gentoo-dev 2015-06-05 08:22:58 UTC
we like to run eclean pessimistically even when PKGDIR doesn't exist.  but this leads to an error:
!!! Error accessing PKGDIR.
!!! (Check your /etc/make.conf and environment).
!!! Error: [Errno 2] No such file or directory: '/build/butterfly/packages/'

can we swallow ENOENT errors ?  or maybe add a command line flag to permit this ?
Comment 1 Paul Varner (RETIRED) gentoo-dev 2015-06-08 16:09:27 UTC
I think a command line option makes sense in this case, with the default to be the current behavior.

If the CROS project happens to write that before any of us does, feel free to commit it to the gentoolkit repo.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2015-10-19 21:24:25 UTC
Command line option -i, --ignore-failure added to ignore the missing PKGDIR error.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2016-06-23 21:36:56 UTC
This was released in gentoolkit-0.3.1