Bug 967393 - compilation error - qemu_migration.c - current git
compilation error - qemu_migration.c - current git
Product: Virtualization Tools
Classification: Community
Component: libvirt (Show other bugs)
x86_64 Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Libvirt Maintainers
Depends On:
  Show dependency treegraph
Reported: 2013-05-26 22:50 EDT by ingram.julian
Modified: 2013-05-27 04:45 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-05-27 04:45:16 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description ingram.julian 2013-05-26 22:50:46 EDT
Description of problem:

compilation error - current git - libvirt_driver_qemu_impl_la-qemu_migration.lo

Version-Release number of selected component (if applicable):

git v1.0.5-385-g2697c8a

How reproducible:


Steps to Reproduce:

On a fresh Debian install;

apt-get -y install build-essential \
                libtool \
                autoconf \
                automake \
                autopoint \
                pkg-config \
                python-dev \
                libxml2-utils \
                libxml2-dev \
                libdevmapper-dev \
                libnl-dev \
                xsltproc \
                gettext \

cd /usr/local/src/
git clone git://libvirt.org/libvirt.git
cd libvirt*

Actual results:

  CC     libvirt_driver_qemu_impl_la-qemu_migration.lo
qemu/qemu_migration.c: In function 'qemuMigrationCookieGraphicsAlloc':
qemu/qemu_migration.c:320:9: error: label 'error' used but not defined
qemu/qemu_migration.c: At top level:
cc1: error: unrecognized command line option "-Wno-unused-command-line-argument" [-Werror]
cc1: all warnings being treated as errors
make[3]: *** [libvirt_driver_qemu_impl_la-qemu_migration.lo] Error 1
make[3]: Leaving directory `/usr/local/src/libvirt/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/libvirt/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/libvirt'
make: *** [all] Error 2

Expected results:

CC     libvirt_driver_qemu_impl_la-qemu_migration.lo
CC     (...)

Additional info:

Apologies if I'm doing something to mess it up
Comment 1 Jiri Denemark 2013-05-27 04:45:16 EDT
Fixed by

commit c6f2523fb168e39232039766aa0287b5fbb77b5f
Author: Jiri Denemark <jdenemar@redhat.com>
Date:   Mon May 27 10:19:36 2013 +0200

    qemu: Fix build without gnutls
    "error" label in qemuMigrationCookieGraphicsAlloc is now used
    unconditionally thanks to VIR_STRDUP.

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