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
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
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: ---


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.

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