Created attachment 498186 [details] emerge --info In stable media-libs/mesa on amd64 (17.0.6), the video_cards_vivante USE expand flag is masked, but the video_cards_imx USE expand flag is not. Emerging mesa with video_cards_imx set causes the build to fail with "Building with imx requires etnaviv". Since etnaviv is controlled by video_cards_vivante, which is masked, video_cards_imx should be masked while video_cards_vivante is masked.
Chewi's problem. Not sure why we have "imx" and "vivante" flags. Shouldn't they be named the same?
I didn't realise video_cards_vivante was masked on non-ARM. Vivante is actually available on MIPS too (e.g. GCW-Zero) so it should at least be unmasked there. i.MX is ARM-only though so I agree that this should be masked too. Although they are frequently used together, the flags are for very different things and MIPS would use vivante without imx, so they should stay separate. I'll sort this out tonight.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8754bee6b264554ccfed29e9d1c83ee720a0867f commit 8754bee6b264554ccfed29e9d1c83ee720a0867f Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2017-10-21 22:43:01 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2017-10-21 22:43:01 +0000 media-libs/mesa: video_cards_imx requires video_cards_vivante Closes: https://bugs.gentoo.org/633812 Package-Manager: Portage-2.3.12, Repoman-2.3.2 media-libs/mesa/mesa-9999.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d71dd4aee2d16cf8c6199235996cfb61ba52fb31 commit d71dd4aee2d16cf8c6199235996cfb61ba52fb31 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2017-10-21 22:39:07 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2017-10-21 22:39:07 +0000 profiles: Mask video_cards_imx except on arm(64) Closes: https://bugs.gentoo.org/633812 profiles/arch/arm/use.mask | 1 + profiles/arch/arm64/use.mask | 2 ++ profiles/arch/base/use.mask | 1 + 3 files changed, 4 insertions(+)