Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543386 - app-emulation/qemu-9999 - ERROR: unknown option --disable-glx
Summary: app-emulation/qemu-9999 - ERROR: unknown option --disable-glx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo QEMU Project
URL: https://bugs.launchpad.net/qemu/+bug/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-15 03:48 UTC by Chase Rayfield
Modified: 2015-03-17 00:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chase Rayfield 2015-03-15 03:48:43 UTC
Qemu now uses pkg-config for configuring opengl/glx

the configure argument is now --enable/disable-opengl rather than --enable/disable-glx

Also changing just that doesn't fix the problem so its a bit beyond my skill. Once the configure flag is correct it can't find Mesa.. 

Relevant Qemu git commits
Opengl Config overhaul...
http://git.qemu.org/?p=qemu.git;a=commit;h=da076ffed6b9a9cb6b1afce78a4de743212db36e

and fixups to the former... 
http://git.qemu.org/?p=qemu.git;a=commit;h=f676c67e4be3d4687ca67f35432b8ea4c1d4cc38


>>> Emerging (1 of 1) app-emulation/qemu-9999
>>> Unpacking source...
GIT update -->
   repository:               git://git.qemu.org/qemu.git
   at the commit:            7ccfb495c64e1eef5886dcc4d48523ed6d1d22a4
   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 ...
 * python_export_best() is deprecated. Please use python_setup instead,
 * combined with python_export if necessary.
 * Building the following softmmu targets: ,i386-softmmu,sparc-softmmu,sparc64-softmmu,x86_64-softmmu
 * Building the following user targets: ,i386-linux-user,x86_64-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 --disable-tcg-interpreter --enable-attr --disable-brlapi --enable-linux-aio --disable-bluez --enable-cap-ng --enable-curl --enable-fdt --disable-glusterfs --enable-gtk --disable-rdma --disable-libiscsi --enable-vnc-jpeg --enable-kvm --disable-lzo --enable-curses --disable-libnfs --disable-numa --disable-glx --enable-vnc-png --disable-rbd --disable-vnc-sasl --disable-sdl --enable-seccomp --disable-smartcard-nss --disable-snappy --disable-spice --disable-libssh2 --disable-quorum --disable-vnc-tls --disable-vnc-ws --enable-libusb --enable-usb-redir --enable-uuid --disable-vde --enable-vhost-net --disable-virtfs --enable-vnc --disable-xen --disable-xen-pci-passthrough --disable-xfsctl --disable-linux-user --enable-system --target-list=,i386-softmmu,sparc-softmmu,sparc64-softmmu,x86_64-softmmu --with-system-pixman --audio-drv-list=alsa,oss --with-gtkabi=3.0
ERROR: unknown option --disable-glx
Try '../configure --help' for more information
 * ERROR: app-emulation/qemu-9999 failed (configure phase):
 *   configure failed


Reproducible: Always

Steps to Reproduce:
USE="opengl" emerge =qemu-9999
Actual Results:  
configure fails

Expected Results:  
Qemu should be checked out from git and compiled and merged!

As a temporary workaround until someone fixes the ebuild to support opengl pkg-config options just change the ebuild to support the new confugure option and --disable-opengl
Comment 1 SpanKY gentoo-dev 2015-03-16 18:41:04 UTC
should be all set now in the tree; thanks for the report!

Commit message: Handle renamed opengl configure flag
http://sources.gentoo.org/app-emulation/qemu/qemu-9999.ebuild?r1=1.93&r2=1.94
Comment 2 SpanKY gentoo-dev 2015-03-16 18:42:27 UTC
note: the fact that configure still fails is a bug in upstream qemu and should be reported there.  it is looking for a "glx.pc" which, afaict, is not a standard pkg-config module.  might be something Fedora-specific.
Comment 3 Chase Rayfield 2015-03-16 22:12:27 UTC
It appears its not a fedora specific thing? 

http://permalink.gmane.org/gmane.comp.emulators.qemu/325918

I've filed a bug report on thier bug tracker with a list of the pc files on my boxen.
Comment 4 Chase Rayfield 2015-03-16 22:12:55 UTC
Forgot the link.

https://bugs.launchpad.net/qemu/+bug/1432861
Comment 5 SpanKY gentoo-dev 2015-03-17 00:18:01 UTC
thanks for posting that upstream