Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892255 - multilib-minimal should always go last in inherit order
Summary: multilib-minimal should always go last in inherit order
Status: CONFIRMED
Alias: None
Product: Quality Assurance
Classification: Unclassified
Component: Policies (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-27 17:48 UTC by Alexander Kurakin
Modified: 2023-01-27 19:10 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 Alexander Kurakin 2023-01-27 17:48:09 UTC
`multilib-minimal.eclass`'es documentation says [1]:

> multilib-minimal should _always_ go last in inherit order!

(BTW `multilib-build.eclass`'es doesn't [2]. Should it?)

Nobody follows this rule: [3].

Should we add a QA test for this case?

---

[1] https://devmanual.gentoo.org/eclass-reference/multilib-minimal.eclass/index.html
[2] https://devmanual.gentoo.org/eclass-reference/multilib-build.eclass/index.html
[3] https://github.com/search?q=org%3Agentoo+multilib-minimal&type=code
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-27 19:10:47 UTC
It's just an idea copied from games.eclass.  Nowadays we have exported phases much better organized so most of the time there's little risk of another eclass overriding its phase functions.