Qemu now requires more packages for opengl to be enabled. Corresponding qemu commit: http://git.qemu.org/?p=qemu.git;a=commit;h=b1546f321 Fortunately, in Gentoo this boils down to enabling gles2 use-flag for media-libs/mesa. Reproducible: Always lisa ~ # emerge -av qemu These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R *] app-emulation/qemu-9999::gentoo USE="aio alsa bluetooth caps curl fdt filecaps gtk jpeg lzo ncurses nls opengl pin-upstream-blobs png python sasl sdl seccomp spice tci threads usb usbredir uuid vde vhost-net vnc -accessibility -debug -glusterfs -gtk2 -infiniband -iscsi -nfs -numa -pulseaudio -rbd -sdl2 (-selinux) -smartcard -snappy -ssh -static -static-softmmu -static-user -systemtap {-test} -tls -virtfs -xattr -xen -xfs" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 ppc ppc64 x86_64 -alpha -cris -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -or32 -ppcemb -s390x -sh4 -sh4eb -sparc -sparc64 -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="arm -aarch64 -alpha -armeb -cris -i386 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -or32 -ppc -ppc64 -ppc64abi32 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -unicore32 -x86_64" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Running pre-merge checks for app-emulation/qemu-9999 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.17.8-gentoo-r1/build * Found sources for kernel version: * 3.17.8-gentoo-r1 * Checking for suitable kernel configuration options... * If you have an AMD CPU, you must enable KVM_AMD in your kernel configuration. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. >>> Emerging (1 of 1) app-emulation/qemu-9999::gentoo >>> Unpacking source... GIT update --> repository: git://git.qemu.org/qemu.git at the commit: 1eeace9c237a729d11c7acd7c0338ab4562af637 branch: master storage directory: "/usr/portage/distfiles/egit-src/qemu.git" checkout type: bare repository Cloning into '/var/tmp/portage/app-emulation/qemu-9999/work/qemu-9999'... done. Branch branch-master set up to track remote branch master from origin. Switched to a new branch 'branch-master' >>> Unpacked to /var/tmp/portage/app-emulation/qemu-9999/work/qemu-9999 >>> Source unpacked in /var/tmp/portage/app-emulation/qemu-9999/work >>> Preparing source in /var/tmp/portage/app-emulation/qemu-9999/work/qemu-9999 ... * Applying qemu-1.7.0-cflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-emulation/qemu-9999/work/qemu-9999 ... * Building the following softmmu targets: ,aarch64-softmmu,arm-softmmu,i386-softmmu,ppc-softmmu,ppc64-softmmu,x86_64-softmmu * Building the following user targets: ,arm-linux-user * ../configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 --docdir=/usr/share/doc/qemu-9999/html --disable-bsd-user --disable-guest-agent --disable-strip --disable-werror --python=/usr/bin/python2.7 --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --host-cc=x86_64-pc-linux-gnu-gcc --disable-debug-info --disable-debug-tcg --enable-docs --enable-tcg-interpreter --disable-attr --disable-brlapi --enable-linux-aio --enable-bluez --enable-cap-ng --enable-curl --enable-fdt --disable-glusterfs --enable-gtk --disable-rdma --disable-libiscsi --enable-vnc-jpeg --enable-kvm --enable-lzo --enable-curses --disable-libnfs --disable-numa --enable-opengl --enable-vnc-png --disable-rbd --enable-vnc-sasl --enable-sdl --enable-seccomp --disable-smartcard-nss --disable-snappy --enable-spice --disable-libssh2 --disable-quorum --disable-vnc-tls --disable-vnc-ws --enable-libusb --enable-usb-redir --enable-uuid --enable-vde --enable-vhost-net --disable-virtfs --enable-vnc --disable-xen --disable-xen-pci-passthrough --disable-xfsctl --disable-linux-user --enable-system --target-list=,aarch64-softmmu,arm-softmmu,i386-softmmu,ppc-softmmu,ppc64-softmmu,x86_64-softmmu --with-system-pixman --audio-drv-list=sdl,alsa,oss --with-gtkabi=3.0 --with-sdlabi=1.2 ERROR: User requested feature opengl configure was not able to find it. Install GL devel (e.g. MESA) * ERROR: app-emulation/qemu-9999::gentoo failed (configure phase): * configure failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 9080: Called qemu_src_configure 'softmmu' '/var/tmp/portage/app-emulation/qemu-9999/work/qemu-9999/softmmu-build' * environment, line 8794: Called die * The specific snippet of code: * ../configure "${conf_opts[@]}" || die "configure failed"; * * If you need support, post the output of `emerge --info '=app-emulation/qemu-9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/qemu-9999::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-emulation/qemu-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-9999/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/qemu-9999/work/qemu-9999/softmmu-build' * S: '/var/tmp/portage/app-emulation/qemu-9999/work/qemu-9999' >>> Failed to emerge app-emulation/qemu-9999, Log file: >>> '/var/tmp/portage/app-emulation/qemu-9999/temp/build.log' * Messages for package app-emulation/qemu-9999: * If you have an AMD CPU, you must enable KVM_AMD in your kernel configuration. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. * Messages for package app-emulation/qemu-9999: * ERROR: app-emulation/qemu-9999::gentoo failed (configure phase): * configure failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 9080: Called qemu_src_configure 'softmmu' '/var/tmp/portage/app-emulation/qemu-9999/work/qemu-9999/softmmu-build' * environment, line 8794: Called die * The specific snippet of code: * ../configure "${conf_opts[@]}" || die "configure failed"; * * If you need support, post the output of `emerge --info '=app-emulation/qemu-9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/qemu-9999::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-emulation/qemu-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-9999/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/qemu-9999/work/qemu-9999/softmmu-build' * S: '/var/tmp/portage/app-emulation/qemu-9999/work/qemu-9999'
that commit just shows glx is needed and mesa always provides that currently for glesv2, you're probably referring to this commit: http://git.qemu.org/?p=qemu.git;a=commit;h=cd2bc889e5b30c69926fc1511b6522e7cb4c705d
should be all set now in the tree; thanks for the report! Commit message: Require mesa[gles2] for USE=opengl to match upstream http://sources.gentoo.org/app-emulation/qemu/qemu-9999.ebuild?r1=1.99&r2=1.100