Summary: | multilib-build.eclass: Setting MULTILIB_COMPAT prevents use by non-multilib arches | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James Le Cuirot <chewi> |
Component: | Eclasses | Assignee: | Michał Górny <mgorny> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | gentoo, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
James Le Cuirot
2016-11-17 22:14:36 UTC
Hmm, or maybe we could include 'arch?' conditionals in the REQUIRED_USE? (In reply to Michał Górny from comment #1) > Hmm, or maybe we could include 'arch?' conditionals in the REQUIRED_USE? it's probably better to just have flags for every arch after all, arm no-multilib is just arm with 1 abi :) Do you really think it would be beneficial to add flags for all kinds of alpha, riscv, sh, sparc...? That sounds like a lot of noise for a no-go use case. (In reply to Michał Górny from comment #3) > Do you really think it would be beneficial to add flags for all kinds of > alpha, riscv, sh, sparc...? That sounds like a lot of noise for a no-go use > case. I always assumed that at least one abi_arch_foo would be enabled, just like profiles set ABI and DEFAULT_ABI and it allows to simplify that kind of handling (e.g. in multilib_get_enabled_abi_pairs). I'm not talking about all kinds of those arches, but at least one for their DEFAULT_ABI. The noise is greatly reduced if those are not removed from USE_EXPAND_HIDDEN, like on x86. One advantage is that you can enable that REQUIRED_USE thing for all multilib-build ebuilds, not just those setting _COMPAT, and it'd be clear something is wrong with a profile when hitting an unsatisfied requse. Note: Don't rely on repoman for checking it is ok to add this REQUIRED_USE as it doesn't check its satisfiability... |