I have /etc/portage shared between amd64, arm64, and ppc64 boxes. I just had x11-libs/pixman fail to build on arm64 with: ../pixman-0.40.0/meson.build:243:2: ERROR: Problem encountered: vmx Support unavailable, but required This comes from `$(meson_feature cpu_flags_ppc_altivec vmx)` in the ebuild. I have in my make.conf: CPU_FLAGS_PPC="altivec vsx vsx3" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" I note that cpu_flags_arm_* and cpu_flags_x86_* are masked by default, and they are unmasked on the appropriate architecture. I believe the same should be done for cpu_flags_ppc_*. That would cause cpu_flags_ppc_altivec to be ignored on arm64, which would fix the build error.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8de597cadbbc9e2537190f98bea7bf7cdc6f4f9 commit a8de597cadbbc9e2537190f98bea7bf7cdc6f4f9 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-15 09:22:42 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-15 09:22:47 +0000 profiles/arch: mask CPU_FLAGS_PPC on !ppc Closes: https://bugs.gentoo.org/748591 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/base/use.mask | 4 ++++ profiles/arch/powerpc/use.mask | 4 ++++ 2 files changed, 8 insertions(+)