Bug 1430606

Summary: Can't build qemu-kvm with newer spice packages
Product: Red Hat Enterprise Linux 7 Reporter: Miroslav Rezanina <mrezanin>
Component: qemu-kvmAssignee: Miroslav Rezanina <mrezanin>
Status: CLOSED ERRATA QA Contact: Chao Yang <chayang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: chayang, rbalakri, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.3-133.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 17:49:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miroslav Rezanina 2017-03-09 05:52:45 UTC
When building qemu-kvm package using newest spice packages we got lots of deprecated warnings. As we treat all warnings as error for qemu-kvm build, this breaks the build.

We have to backport patches replacing old spice API.

Comment 2 Miroslav Rezanina 2017-03-09 12:47:12 UTC
Fix included in qemu-kvm-1.5.3-133.el7

Comment 4 Chao Yang 2017-05-10 05:44:55 UTC
Reproduced with qemu-kvm-1.5.3-132.el7.src.rpm

In file included from spice-qemu-char.c:6:0:
/usr/include/spice-server/spice-experimental.h:21:2: error: #warning spice-experimental.h is deprecated [-Werror=cpp]
 #warning spice-experimental.h is deprecated
  ^
cc1: all warnings being treated as errors
make: *** [spice-qemu-char.o] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /var/tmp/rpm-tmp.8ru1Cw (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.8ru1Cw (%build)


Verified pass with qemu-kvm-1.5.3-137.el7.src.rpm. Compilation completed correctly.

Moving VERIFIED per above.

Comment 5 errata-xmlrpc 2017-08-01 17:49:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:1856