[Spice-devel] spice-protocol 0.12.8 compromises compiling xf86-video-qxl

Peter Mattern pmattern at arcor.de
Wed Jul 15 00:52:27 PDT 2015


Hello.

Both release 0.1.4 and latest Git checkout of xf86-video-qxl fail to 
compile against spice-protocol 0.12.8 when Xspice is enabled 
(--enable-xspice, no problems without that switch).

configure and autogen work flawlessly but make fails throwing a bunch of 
messages like
        [...]
        CC       spiceqxl_drv_la-spiceqxl_util.lo
      In file included from qxl.h:30:0,
                       from spiceqxl_util.h:26,
                       from spiceqxl_util.c:30:
        /usr/include/spice-server/spice.h:475:5: error: redeclaration of 
enumerator \
        'SPICE_IMAGE_COMPRESS_INVALID'
        SPICE_IMAGE_COMPRESS_INVALID  = 0,
        ^
      In file included from /usr/include/spice-1/spice/qxl_dev.h:38:0,
                       from qxl.h:28,
                       from spiceqxl_util.h:26,
                       from spiceqxl_util.c:30:
        /usr/include/spice-1/spice/enums.h:185:5: note: previous 
definition of \
        'SPICE_IMAGE_COMPRESS_INVALID' was here
        SPICE_IMAGE_COMPRESS_INVALID,
        ^

Seen on Arch Linux x86_64.

According to https://bugzilla.redhat.com/1239102 it's a known issue but 
the only recommendation is to compile affected software against older 
version of spice-protocol.
So does anyone know whether a point release to fix the problem is 
planned or a workaround exists?

Regards,

Peter Mattern



More information about the Spice-devel mailing list