Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545180 - app-emulation/spice[-client]: spice-server.pc depends on xinerama but RDEPEND has "client? ( libXinerama )"
Summary: app-emulation/spice[-client]: spice-server.pc depends on xinerama but RDEPEND...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
: 553890 555988 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-31 19:32 UTC by Till Schäfer
Modified: 2015-11-15 07:47 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Till Schäfer 2015-03-31 19:32:32 UTC
>>> Emerging (1 of 1) app-emulation/qemu-2.2.1::gentoo
>>> Failed to emerge app-emulation/qemu-2.2.1, Log file:
>>>  '/var/tmp/portage/app-emulation/qemu-2.2.1/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.45, 1.14, 1.90
 * Package:    app-emulation/qemu-2.2.1
 * Repository: gentoo
 * Maintainer: cardoe@gentoo.org qemu@gentoo.org
 * USE:        abi_x86_64 aio amd64 caps curl elibc_glibc fdt filecaps jpeg kernel_linux ncurses nls pin-upstream-blobs png python_targets_python2_7 qemu_softmmu_targets_x86_64 sasl seccomp spice threads usb usbredir userland_GNU uuid vhost-net vnc
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking qemu-2.2.1.tar.bz2 to /var/tmp/portage/app-emulation/qemu-2.2.1/work
>>> Source unpacked in /var/tmp/portage/app-emulation/qemu-2.2.1/work
>>> Preparing source in /var/tmp/portage/app-emulation/qemu-2.2.1/work/qemu-2.2.1 ...
 * Applying qemu-1.7.0-cflags.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/qemu-2.2.1/work/qemu-2.2.1 ...
 * python_export_best() is deprecated. Please use python_setup instead,
 * combined with python_export if necessary.
 * Building the following softmmu targets: ,x86_64-softmmu
 * ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 --docdir=/usr/share/doc/qemu-2.2.1/html --disable-bsd-user --disable-guest-agent --disable-strip --disable-werror --python=/usr/bin/python2.7 --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --host-cc=x86_64-pc-linux-gnu-gcc --disable-debug-info --disable-debug-tcg --enable-docs --disable-tcg-interpreter --disable-attr --disable-brlapi --enable-linux-aio --disable-bluez --enable-cap-ng --enable-curl --enable-fdt --disable-glusterfs --disable-gtk --disable-rdma --disable-libiscsi --enable-vnc-jpeg --enable-kvm --disable-lzo --enable-curses --disable-libnfs --disable-numa --disable-glx --enable-vnc-png --disable-rbd --enable-vnc-sasl --disable-sdl --enable-seccomp --disable-smartcard-nss --disable-snappy --enable-spice --disable-libssh2 --disable-quorum --disable-vnc-tls --disable-vnc-ws --enable-libusb --enable-usb-redir --enable-uuid --disable-vde --enable-vhost-net --disable-virtfs --enable-vnc --disable-xen --disable-xen-pci-passthrough --disable-xfsctl --disable-linux-user --enable-system --target-list=,x86_64-softmmu --with-system-pixman --audio-drv-list=oss

ERROR: User requested feature spice
       configure was not able to find it.
       Install spice-server(>=0.12.0) and spice-protocol(>=0.12.3) devel

 * ERROR: app-emulation/qemu-2.2.1::gentoo failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 5513:  Called qemu_src_configure 'softmmu' '/var/tmp/portage/app-emulation/qemu-2.2.1/work/qemu-2.2.1/softmmu-build'
 *   environment, line 5227:  Called die
 * The specific snippet of code:
 *       ../configure "${conf_opts[@]}" || die "configure failed";
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/qemu-2.2.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/qemu-2.2.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/qemu-2.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-2.2.1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/qemu-2.2.1/work/qemu-2.2.1/softmmu-build'
 * S: '/var/tmp/portage/app-emulation/qemu-2.2.1/work/qemu-2.2.1'


Reproducible: Always




# emerge --info app-emulation/qemu
Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.20-r2, 3.18.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.7-gentoo-x86_64-Intel-R-_Core-TM-_i5-4690_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    16308192 total,   7847300 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of tree: Tue, 31 Mar 2015 18:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.6
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask-write --jobs=5 --load-average=5.0"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="acl aes amd64 avx avx2 bash-completion berkdb bzip2 cli consolekit cracklib crypt cxx dbus dri fma3 fortran gdbm glib glibc iconv ipv4 ipv6 libav mmx mmxext modules multilib ncurses nls nptl openmp pam pcre policykit popcnt readline sasl session spice sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 syslog tcpd threads udev unicode vim-syntax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-emulation/qemu-2.2.0 was built with the following:
USE="aio caps curl fdt filecaps jpeg ncurses nls pin-upstream-blobs png sasl seccomp spice threads usb usbredir uuid vhost-net vnc -accessibility -alsa -bluetooth -debug (-glusterfs) -gtk -infiniband -iscsi -lzo -nfs -numa -opengl -pulseaudio -python -rbd -sdl (-selinux) -smartcard -snappy -ssh -static -static-softmmu -static-user -systemtap -tci -test -tls -vde -virtfs -xattr -xen -xfs" ABI_X86="64" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 (-alpha) (-arm) -cris -i386 -lm32 (-m68k) -microblaze -microblazeel (-mips) -mips64 -mips64el -mipsel -moxie -or32 (-ppc) (-ppc64) -ppcemb -s390x -sh4 -sh4eb (-sparc) -sparc64 -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 (-alpha) (-arm) -armeb -cris -i386 (-m68k) -microblaze -microblazeel (-mips) -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -or32 (-ppc) (-ppc64) -ppc64abi32 -s390x -sh4 -sh4eb (-sparc) -sparc32plus -sparc64 -unicore32 -x86_64"

>>> Attempting to run pkg_info() for 'app-emulation/qemu-2.2.0'
Using:
  app-emulation/spice-protocol-0.12.3
  sys-firmware/ipxe-1.0.0_p20130925
  sys-firmware/seabios-1.7.5
    USE=binary
  sys-firmware/vgabios-0.7a
Comment 1 SpanKY gentoo-dev 2015-04-04 20:11:28 UTC
and you have spice packages installed ?  what does this show:
  emerge -pv app-emulation/spice app-emulation/spice-protocol
  pkg-config --cflags spice-protocol spice-server
  pkg-config --modversion spice-protocol spice-server
Comment 2 Till Schäfer 2015-04-04 21:17:01 UTC
yes: 

# emerge -pv app-emulation/spice app-emulation/spice-protocol

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] app-emulation/spice-protocol-0.12.3  0 KiB
[ebuild   R    ] app-emulation/spice-0.12.5-r1  USE="sasl -client -smartcard -static-libs" 0 KiB

Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB


# pkg-config --cflags spice-protocol spice-server
Package xinerama was not found in the pkg-config search path.
Perhaps you should add the directory containing `xinerama.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xinerama', required by 'spice-server', not found


# pkg-config --modversion spice-protocol spice-server
0.12.3
0.12.5
Comment 3 SpanKY gentoo-dev 2015-04-04 23:28:45 UTC
not a bug in qemu.  app-emulation/spice[-client] is broken: the ebuild doesn't depend on xinerama, but the pkg-config file still does.
Comment 4 SpanKY gentoo-dev 2015-07-06 11:43:24 UTC
*** Bug 553890 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2015-08-04 01:11:19 UTC
*** Bug 555988 has been marked as a duplicate of this bug. ***
Comment 6 Dennis Schridde 2015-08-16 15:52:25 UTC
It seems there are other reasons than broken pkg-config files, that make this fail to build:
```
# pkg-config --modversion spice-{protocol,server}
0.12.8
0.12.5
# pkg-config --cflags spice-{protocol,server}
-I/usr/include/spice-server -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/spice-1
# pkg-config --libs spice-{protocol,server}
-lspice-server
```

build.log:
```
 * Package:    app-emulation/qemu-2.4.0
 * Repository: gentoo
 * Maintainer: qemu@gentoo.org
 * USE:        abi_x86_64 aio alsa amd64 bluetooth caps curl elibc_glibc fdt filecaps gtk jpeg kernel_linux lzo ncurses nls opengl pin-upstream-blobs png pulseaudio python_targets_python2_7 qemu_softmmu_targets_x86_64 qemu_user_targets_x86_64 sdl sdl2 seccomp spice tci threads usb usbredir userland_GNU uuid vhost-net virtfs vnc vte xattr
 * FEATURES:   compressdebug preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking qemu-2.4.0.tar.bz2 to /var/tmp/portage/app-emulation/qemu-2.4.0/work
>>> Source unpacked in /var/tmp/portage/app-emulation/qemu-2.4.0/work
>>> Preparing source in /var/tmp/portage/app-emulation/qemu-2.4.0/work/qemu-2.4.0 ...
 * Applying qemu-1.7.0-cflags.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/qemu-2.4.0/work/qemu-2.4.0 ...
../configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 --docdir=/usr/share/doc/qemu-2.4.0/html --disable-bsd-user --disable-guest-agent --disable-strip --disable-werror --python=/usr/bin/python2.7 --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --host-cc=x86_64-pc-linux-gnu-gcc --disable-debug-info --disable-debug-tcg --enable-docs --enable-tcg-interpreter --enable-attr --disable-brlapi --enable-linux-aio --enable-bluez --enable-cap-ng --enable-curl --enable-fdt --disable-glusterfs --enable-gtk --disable-rdma --disable-libiscsi --enable-vnc-jpeg --enable-kvm --enable-lzo --enable-curses --disable-libnfs --disable-numa --enable-opengl --enable-vnc-png --disable-rbd --disable-vnc-sasl --enable-sdl --enable-seccomp --disable-smartcard-nss --disable-snappy --enable-spice --disable-libssh2 --disable-vnc-tls --enable-libusb --enable-usb-redir --enable-uuid --disable-vde --enable-vhost-net --enable-virtfs --enable-vnc --enable-vte --disable-xen --disable-xen-pci-passthrough --disable-xfsctl --disable-linux-user --enable-system --with-system-pixman --audio-drv-list=pa,sdl,alsa,oss --with-gtkabi=3.0 --with-sdlabi=2.0 --target-list=x86_64-softmmu

ERROR: User requested feature spice
       configure was not able to find it.
       Install spice-server(>=0.12.0) and spice-protocol(>=0.12.3) devel

 * ERROR: app-emulation/qemu-2.4.0::gentoo failed (configure phase):
 *   configure failed
```

```
# emerge --info app-emulation/spice app-emulation/spice-protocol net-misc/spice-gtk
Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-4.9.3, glibc-2.21-r1, 4.1.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.5-gentoo-x86_64-8G-with-gentoo-2.2
KiB Mem:    15315600 total,   2661848 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 16 Aug 2015 09:45:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1
ccache version 3.2.2 [disabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.2::gentoo
dev-util/cmake:           3.3.0::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /var/cache/portage/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

sage-on-gentoo
    location: /var/lib/layman/sage-on-gentoo
    sync-type: laymansync
    sync-uri: git://github.com/cschwan/sage-on-gentoo.git
    masters: gentoo
    priority: 50

local
    location: /var/cache/portage/local
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=bdver3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -O2 -march=bdver3"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --nospinner"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j6"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacplus aacs acl acpi alsa amd64 audit avahi bash-completion bdplus berkdb bluetooth bluray branding bzip2 cairo caps cdda cddb cdio cdr celt cjk cli cracklib crypt cups cxx dbus declarative dirac dri dts dvb dvd dvdr egl emboss encode exif fam fax ffmpeg firefox flac fontconfig fortran gdbm gif glamor gles gles2 gmp gpm gstreamer gtk ibus iconv ipv6 jpeg jpeg2k kde kipi ladspa latex lcms ldap libnotify libsecret lua_target_lua5-2 lv2 lz4 lzma lzo mad mmx mmxext mng modemmanager modplug modules mp3 mp4 mpeg mplayer mtp multilib multitarget mysql ncurses netlink networkmanager nls nptl ogg openal opencl openexr opengl openmax openmp opus pam pango pch pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline rtmp samba scanner schroedinger sctp sdl semantic-desktop session speex spell sse sse2 ssl startup-notification subversion svg systemd tcpd theora threads tiff truetype udev udisks unicode upnp upnp-av upower usb v4l vaapi vdpau vorbis vpx wavpack wayland webp widgets x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xz zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="stage words flow sheets" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" DRACUT_MODULES="btrfs caps systemd" ELIBC="glibc" ENLIGHTENMENT_MODULES="*" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="coreboot efi-64 pc" INPUT_DEVICES="evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en en_GB ar fa" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-emulation/spice-0.12.5-r1::gentoo was built with the following:
USE="-client -sasl -smartcard -static-libs" ABI_X86="64"


app-emulation/spice-protocol-0.12.8::gentoo was built with the following:
USE="" ABI_X86="64"


net-misc/spice-gtk-0.28::gentoo was built with the following:
USE="dbus gtk3 introspection lz4 (policykit) pulseaudio python usbredir -gstreamer -sasl -smartcard -static-libs -vala -webdav" ABI_X86="64" PYTHON_TARGETS="python2_7"
```
Comment 7 Dennis Schridde 2015-08-16 16:02:17 UTC
It seems to be a bug in spice:
```
$ cat test-spice.c 
#include <spice.h>
int main(void) { spice_server_new(); return 0; }
$ gcc $(pkg-config --cflags spice-protocol spice-server) -o test-spice test-spice.c $(pkg-config --cflags spice-protocol spice-server)                                                                                       
In file included from test-spice.c:1:0:
/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 /usr/include/spice-server/spice.h:23,
                 from test-spice.c:1:
/usr/include/spice-1/spice/enums.h:185:5: note: previous definition of ‘SPICE_IMAGE_COMPRESS_INVALID’ was here
     SPICE_IMAGE_COMPRESS_INVALID,
     ^
In file included from test-spice.c:1:0:
/usr/include/spice-server/spice.h:476:5: error: redeclaration of enumerator ‘SPICE_IMAGE_COMPRESS_OFF’
     SPICE_IMAGE_COMPRESS_OFF      = 1,
     ^
In file included from /usr/include/spice-1/spice/qxl_dev.h:38:0,
                 from /usr/include/spice-server/spice.h:23,
                 from test-spice.c:1:
/usr/include/spice-1/spice/enums.h:186:5: note: previous definition of ‘SPICE_IMAGE_COMPRESS_OFF’ was here
     SPICE_IMAGE_COMPRESS_OFF,
     ^
In file included from test-spice.c:1:0:
/usr/include/spice-server/spice.h:477:5: error: redeclaration of enumerator ‘SPICE_IMAGE_COMPRESS_AUTO_GLZ’
     SPICE_IMAGE_COMPRESS_AUTO_GLZ = 2,
     ^
In file included from /usr/include/spice-1/spice/qxl_dev.h:38:0,
                 from /usr/include/spice-server/spice.h:23,
                 from test-spice.c:1:
/usr/include/spice-1/spice/enums.h:187:5: note: previous definition of ‘SPICE_IMAGE_COMPRESS_AUTO_GLZ’ was here
     SPICE_IMAGE_COMPRESS_AUTO_GLZ,
     ^
In file included from test-spice.c:1:0:
/usr/include/spice-server/spice.h:478:5: error: redeclaration of enumerator ‘SPICE_IMAGE_COMPRESS_AUTO_LZ’
     SPICE_IMAGE_COMPRESS_AUTO_LZ  = 3,
     ^
In file included from /usr/include/spice-1/spice/qxl_dev.h:38:0,
                 from /usr/include/spice-server/spice.h:23,
                 from test-spice.c:1:
/usr/include/spice-1/spice/enums.h:188:5: note: previous definition of ‘SPICE_IMAGE_COMPRESS_AUTO_LZ’ was here
     SPICE_IMAGE_COMPRESS_AUTO_LZ,
     ^
In file included from test-spice.c:1:0:
/usr/include/spice-server/spice.h:479:5: error: redeclaration of enumerator ‘SPICE_IMAGE_COMPRESS_QUIC’
     SPICE_IMAGE_COMPRESS_QUIC     = 4,
     ^
In file included from /usr/include/spice-1/spice/qxl_dev.h:38:0,
                 from /usr/include/spice-server/spice.h:23,
                 from test-spice.c:1:
/usr/include/spice-1/spice/enums.h:189:5: note: previous definition of ‘SPICE_IMAGE_COMPRESS_QUIC’ was here
     SPICE_IMAGE_COMPRESS_QUIC,
     ^
In file included from test-spice.c:1:0:
/usr/include/spice-server/spice.h:480:5: error: redeclaration of enumerator ‘SPICE_IMAGE_COMPRESS_GLZ’
     SPICE_IMAGE_COMPRESS_GLZ      = 5,
     ^
In file included from /usr/include/spice-1/spice/qxl_dev.h:38:0,
                 from /usr/include/spice-server/spice.h:23,
                 from test-spice.c:1:
/usr/include/spice-1/spice/enums.h:190:5: note: previous definition of ‘SPICE_IMAGE_COMPRESS_GLZ’ was here
     SPICE_IMAGE_COMPRESS_GLZ,
     ^
In file included from test-spice.c:1:0:
/usr/include/spice-server/spice.h:481:5: error: redeclaration of enumerator ‘SPICE_IMAGE_COMPRESS_LZ’
     SPICE_IMAGE_COMPRESS_LZ       = 6,
     ^
In file included from /usr/include/spice-1/spice/qxl_dev.h:38:0,
                 from /usr/include/spice-server/spice.h:23,
                 from test-spice.c:1:
/usr/include/spice-1/spice/enums.h:191:5: note: previous definition of ‘SPICE_IMAGE_COMPRESS_LZ’ was here
     SPICE_IMAGE_COMPRESS_LZ,
     ^
$ q file -v /usr/include/spice-1/spice/enums.h /usr/include/spice-server/spice.h
app-emulation/spice-0.12.5-r1 (/usr/include/spice-server/spice.h)
app-emulation/spice-protocol-0.12.8 (/usr/include/spice-1/spice/enums.h)
```

It seems spice and spice-protocol have some kind of incompatibility - maybe code moved from one to the other and there were no compensations made for this on the other side?
Comment 8 Dennis Schridde 2015-08-16 16:08:08 UTC
The following patch makes it build:
```
$ diff -u spice.h.orig /usr/include/spice-server/spice.h
--- spice.h.orig        2015-08-16 18:04:57.913092419 +0200
+++ /usr/include/spice-server/spice.h   2015-08-16 18:05:33.594856765 +0200
@@ -471,15 +471,7 @@
                                SpiceBaseInstance *sin);
 int spice_server_remove_interface(SpiceBaseInstance *sin);
 
-typedef enum {
-    SPICE_IMAGE_COMPRESS_INVALID  = 0,
-    SPICE_IMAGE_COMPRESS_OFF      = 1,
-    SPICE_IMAGE_COMPRESS_AUTO_GLZ = 2,
-    SPICE_IMAGE_COMPRESS_AUTO_LZ  = 3,
-    SPICE_IMAGE_COMPRESS_QUIC     = 4,
-    SPICE_IMAGE_COMPRESS_GLZ      = 5,
-    SPICE_IMAGE_COMPRESS_LZ       = 6,
-} spice_image_compression_t;
+typedef SpiceImageCompress spice_image_compression_t;
 
 int spice_server_set_image_compression(SpiceServer *s,
                                        spice_image_compression_t comp);
```
Comment 9 Dennis Schridde 2015-08-16 16:10:21 UTC
Sorry, my bad. The following commit fixes this properly: http://cgit.freedesktop.org/spice/spice-protocol/commit/?id=cd7817603834251e5c1c4cda39980abbfc850580
Comment 10 Dennis Schridde 2015-08-16 16:12:15 UTC
The commit is part of spice-protocol-0.12.9, which was tagged, uploaded to http://www.spice-space.org/download/releases/, but not mentioned on http://www.spice-space.org/download.html, yet.
Comment 11 Matthias Maier gentoo-dev 2015-08-16 17:13:32 UTC
(In reply to Dennis Schridde from comment #8)
(In reply to Dennis Schridde from comment #9)
(In reply to Dennis Schridde from comment #10)
> [...]
>
> The commit is part of spice-protocol-0.12.9, which was tagged, uploaded to
> http://www.spice-space.org/download/releases/, but not mentioned on
> http://www.spice-space.org/download.html, yet.

This was intended for bug #557872, bug #557576?
Comment 12 Matthias Maier gentoo-dev 2015-11-15 07:47:49 UTC
commit 4b9af846b69fddc4708c2bd0a49d77a49212e6f3
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Sun Nov 15 01:30:25 2015 -0600

    app-emulation/spice: version bump to 0.12.6 (CVE-2015-5260, CVE-2015-5260)
    
     - Bump to latest version that fixes to security issues.
     - Introduce libressl support
    
    Bugs: 545180
    Bugs: 560006
    Bugs: 562890
    Bugs: 565250
    
    Package-Manager: portage-2.2.23

commit 4afce62fa2103017af0f310d6354e0e3d3fd3c7f
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Sun Nov 15 01:26:53 2015 -0600

    app-emulation/spice-protocol: version bump to 0.12.10
    
    Package-Manager: portage-2.2.23