Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 633812 - media-libs/mesa: video_cards_imx should be masked where video_cards_vivante is also masked
Summary: media-libs/mesa: video_cards_imx should be masked where video_cards_vivante i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-08 23:25 UTC by Elliot Chandler
Modified: 2017-10-21 22:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (2017oct08-EmergeInfo,11.11 KB, text/plain)
2017-10-08 23:25 UTC, Elliot Chandler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elliot Chandler 2017-10-08 23:25:29 UTC
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.
Comment 1 Matt Turner gentoo-dev 2017-10-21 01:23:43 UTC
Chewi's problem.

Not sure why we have "imx" and "vivante" flags. Shouldn't they be named the same?
Comment 2 James Le Cuirot gentoo-dev 2017-10-21 09:21:48 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2017-10-21 22:43:17 UTC
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(+)