Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551266 - eclean: allow for missing PKGDIR
Summary: eclean: allow for missing PKGDIR
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL: http://crbug.com/323420
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 346443
  Show dependency tree
 
Reported: 2015-06-05 08:22 UTC by SpanKY
Modified: 2016-06-23 21:36 UTC (History)
2 users (show)

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 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.

vapier:
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.

https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=2bf6fcfa9060f2490d77e4c5ea3dcd596e6b4c6b
Comment 3 Paul Varner (RETIRED) gentoo-dev 2016-06-23 21:36:56 UTC
This was released in gentoolkit-0.3.1