Summary: | app-portage/gentoolkit: eclean --changed-deps crashes when evaluating a binary package with a deprecated EAPI | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stuart Shelton <srcshelton> |
Component: | Current packages | Assignee: | Portage Tools Team <tools-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | gentoo, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=923439 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Stuart Shelton
2023-05-05 17:20:30 UTC
package.mask doesn't help if an ebuild is unsourcable because it occurs at a different layer from metadata generation. But it's a fair point that eclean should try swallow such errors / not abort. (In reply to Sam James from comment #1) > package.mask doesn't help if an ebuild is unsourcable because it occurs at a > different layer from metadata generation. > > But it's a fair point that eclean should try swallow such errors / not abort. FWIW, Portage itself does exactly that in the definition of ChangedDepsSet at https://github.com/gentoo/portage/blob/4ceb199aab8035fdf2ebd244e213ca63c29b4d5f/lib/portage/_sets/dbapi.py#L621. Just for completeness, we discussed this a fair bit over at https://github.com/gentoo/gentoolkit/pull/43. (In reply to Sam James from comment #3) > Just for completeness, we discussed this a fair bit over at > https://github.com/gentoo/gentoolkit/pull/43. (The concept of "how much do we support old stuff", I mean. I agree we shouldn't crash here. Just adding context for myself or whoever works on it next.) |