Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835370 - portage should detect & reject bare phase functions in eclasses
Summary: portage should detect & reject bare phase functions in eclasses
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-15 20:06 UTC by SpanKY
Modified: 2022-03-25 12:35 UTC (History)
1 user (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 2022-03-15 20:06:40 UTC
if an eclass defines bare phase functions (e.g. `src_compile`), then it is silently allowed to be the default for any ebuilds that inherit it.  portage should really detect & reject any such bare phase function and diagnosis it with "eclasses need to use $ECLASS_<function>".