Bug 1260996 - qemu-img requires a whole stack of X and Gtk libraries
Summary: qemu-img requires a whole stack of X and Gtk libraries
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-08 11:34 UTC by Dmitry Tantsur
Modified: 2016-02-22 06:35 UTC (History)
10 users (show)

Fixed In Version: 2.3.1-3.fc22 qemu-2.3.1-5.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-09 10:29:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dmitry Tantsur 2015-09-08 11:34:40 UTC
Description of problem:
qemu-img 2.3.1 depends on a huge list of libraries, including X, Gtk and wayland. This is not something desired upstream, and it seems to be fixed somewhere between 2.3.1 and the current git master. It also not a problem on debian with 2.1.2.

Version-Release number of selected component (if applicable):
Arch        : x86_64
Epoch       : 2
Version     : 2.3.1
Release     : 1.fc22

Debian version: http://paste.openstack.org/show/450111/
Fedora 22 version: http://paste.openstack.org/show/450131/

We're using qemu-img on an utility ramdisk for OpenStack Ironic, so every redundant dependency hurts a lot.

Comment 1 Daniel Berrangé 2015-09-08 11:45:54 UTC
This is a bug caused a typo in upstream:

commit 95c6bff3561eedaf7c7de287bc4a002720605a8d
Author: Benoît Canet <benoit>
Date:   Fri Feb 21 22:21:15 2014 +0100

    quorum: Add quorum mechanism.


Accidentally fixed later in 

commit 488981a4af396551a3178d032cc2b41d9553ada2
Author: Daniel P. Berrange <berrange>
Date:   Wed Jul 1 18:10:35 2015 +0100

    block: convert quorum blockdrv to use crypto APIs


The trivial fix that can be applied is

diff -rup qemu-2.3.1/configure qemu-2.3.1.new/configure
--- qemu-2.3.1/configure        2015-08-11 20:19:07.000000000 +0100
+++ qemu-2.3.1.new/configure    2015-09-08 12:40:44.694091584 +0100
@@ -2323,7 +2323,7 @@ quorum_tls_libs=`$pkg_config --libs gnut
 if compile_prog "$quorum_tls_cflags" "$quorum_tls_libs" ; then
   qcow_tls=yes
   libs_softmmu="$quorum_tls_libs $libs_softmmu"
-  libs_tools="$quorum_tls_libs $libs_softmmu"
+  libs_tools="$quorum_tls_libs $libs_tools"
   QEMU_CFLAGS="$QEMU_CFLAGS $quorum_tls_cflags"
   quorum="yes"
 else

Comment 2 Fedora Update System 2015-09-08 14:22:18 UTC
qemu-2.3.1-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15364

Comment 3 Fedora Update System 2015-09-08 21:25:34 UTC
qemu-2.3.1-3.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update qemu'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15364

Comment 4 Fedora Update System 2015-09-18 20:51:05 UTC
qemu-2.3.1-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2015-09-22 00:22:00 UTC
qemu-2.3.1-5.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16369

Comment 6 Fedora Update System 2015-09-23 21:23:46 UTC
qemu-2.3.1-5.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update qemu'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16369

Comment 7 Fedora Update System 2015-10-09 10:28:33 UTC
qemu-2.3.1-5.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.