Red Hat Bugzilla – Bug 1430606
Can't build qemu-kvm with newer spice packages
Last modified: 2017-08-01 13:49:19 EDT
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.
Fix included in qemu-kvm-1.5.3-133.el7
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.
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