Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 559986

Summary: app-emulation/qemu[opengl]: mesa[gles2] requirement is incorrrect
Product: Gentoo Linux Reporter: Jesse Adelman <jesse>
Component: Current packagesAssignee: Gentoo QEMU Project <qemu+disabled>
Status: RESOLVED NEEDINFO    
Severity: normal CC: admwiggin
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=549558
Whiteboard:
Package list:
Runtime testing required: ---

Description Jesse Adelman 2015-09-09 00:22:15 UTC
Howdy. I think that we've overshot the target with Bug #549558. To require mesa to build with the "gles2" USE flag breaks using mesa with "opengl" (they are mutually exclusive USE flags). I have an "opengl" system, and do not wish to break my graphics just to run qemu. (When I say "mesa" I mean media-libs/mesa-10.3.7-r1, stable on my arch amd64)

If I am mistaken, I apologize in advance.

I think the offending line is:

        opengl? (
                virtual/opengl
                media-libs/libepoxy[static-libs(+)]
                media-libs/mesa[static-libs(+)]
                media-libs/mesa[gles2]
        )

Remove the last line "media-libs/mesa[gles2]". I will test as time permits.
Comment 1 SpanKY gentoo-dev 2015-09-11 21:30:57 UTC
mesa doesn't have USE=opengl, so what breakage are you talking about ?

if you look at the git commit in the bug you reference, you'll see that qemu very clearly requires glesv2.pc, and mesa only installs that when built with USE=gles2.  so it's not possible to build qemu with opengl support when mesa does not include glesv2.
Comment 2 SpanKY gentoo-dev 2015-09-15 18:34:39 UTC
please show which flags in mesa are conflicting / causing you trouble.  i'm reading the ebuild (including 10.3.7-r1), and it has no blockers in REQUIRED_USE.