Skip to contentSkip to conversation

qemu vs. spice-server-devel build failure

Qemu-devel Gabriel L. Somlo 2 participants 2 messages Jun 17, 2014 – Jun 19, 2014

lore
Share & tools
lore
#0 lore raw

On up-to-date F20, once I updated spice-server-devel from 0.12.4-3.fc20.x86_64 to 0.12.5-2.fc20.x86_64, I started getting the following error during build:

CC qemu-char.o
In file included from /usr/include/spice-server/spice.h:25:0,
from
/home/somlo/KVM-OSX/SCRATCH/qemu/include/ui/qemu-spice.h: 25,

                 from qemu-char.c:84:

/usr/include/spice-1/spice/macros.h:105:0: error: "INLINE" redefined [-Werror]
#define INLINE inline
^
In file included from /home/somlo/KVM-OSX/SCRATCH/qemu/include/qemu/bswap.h:8:0,
from
/home/somlo/KVM-OSX/SCRATCH/qemu/include/qemu-common.h:11,

                 from qemu-char.c:24:

/home/somlo/KVM-OSX/SCRATCH/qemu/include/fpu/softfloat.h:66:0: note:
this is the location of the previous definition
#define INLINE static inline
^
cc1: all warnings being treated as errors
make: *** [qemu-char.o] Error 1

Removing spice-server-devel is currently a good workaround for me, probably backing out of the update and going back to the previous Fedora release of spice would work as well. It doesn't seem to be a bug in qemu itself (checking out previous known-good commits still fails to build with the new /usr/include/spice-server/spice.h.

Thanks,
--Gabriel