ebuilds with EAPI at least at version 7 will report a command not found error when has_multilib_profile is called without inheriting multilib first.
There's no need to inherit multilib if there is already linux-info: linux-info.eclass -> inherit toolchain-funcs -> toolchain-funcs.eclass -> inherit multilib.
For the sake of logic, inherit multilib in either ebuilds with EAPI lower than version 7 and in ebuilds which inherit linux-infowhen they use the command has_multilib_profile.
ebuilds with EAPI at least at version 7 will report a command not found error when
has_multilib_profile
is called without inheritingmultilib
first.There's no need to inherit
multilib
if there is alreadylinux-info
: linux-info.eclass ->inherit toolchain-funcs
-> toolchain-funcs.eclass ->inherit multilib
.For the sake of logic, inherit
multilib
in either ebuilds with EAPI lower than version 7 and in ebuilds which inheritlinux-info
when they use the commandhas_multilib_profile
.