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

Bug 590230

Summary: app-emulation/qemu-2.6.0[opengl] needs mesa gbm USE dependency
Product: Gentoo Linux Reporter: Jonathan Thibault <cuvier>
Component: Current packagesAssignee: Gentoo QEMU Project <qemu+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: randy-andy-
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonathan Thibault 2016-08-01 17:58:25 UTC
When building qemu with the opengl USE flag, the configure script looks for:

epoxy libdrm gbm x11

However, the mesa dependencies for qemu (when using opengl) do not include gbm.
Fixed by adding the dependency to the ebuild like so:

-media-libs/mesa[egl,gles2]
+media-libs/mesa[egl,gles2,gbm]

That was an easy one to miss since gbm is enabled by default on media-libs/mesa
Comment 1 Matthias Maier gentoo-dev 2016-09-18 04:34:41 UTC
Thanks!

commit b50850bf14489740441b408a2d45f6e64d724f7d
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Sat Sep 17 23:02:53 2016 -0500

    app-emulation/qemu: security fixes, ebuild maintenance
    
    bug 593956: CVE-2016-7422
    bug 593950: CVE-2016-7421
    bug 590230: missing use depend opengl? ( media-libs/mesa[...,gbm] )
    bug 575326: update to readme.gentoo-r1 eclass
    
    Package-Manager: portage-2.2.28