qemu-kvm-1.2.0+noroms cannot be rebuilt with spice and usb redirection enabled at a time

Bug #1063281 reported by Boris Derzhavets
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu-kvm
New
Undecided
Unassigned

Bug Description

View:-
https://launchpad.net/~bderzhavets/+archive/lib-usbredir89

Fragment from debian/control

Source: qemu-kvm
Section: misc
Priority: optional
Maintainer: Ubuntu Developers <email address hidden>
XSBC-Original-Maintainer: Michael Tokarev <email address hidden>
Uploaders: Guido Günther <email address hidden>, Jan Lübbe <email address hidden>
Build-Depends: debhelper (>= 8), pkg-config, texinfo, python,
 libaio-dev,
 libasound2-dev,
 libattr1-dev,
 libbluetooth-dev,
 libbrlapi-dev,
 libcap-dev,
 libcurl4-gnutls-dev,
 libglib2.0-dev,
 libgnutls-dev,
 libjpeg-dev,
 libncurses5-dev,
 libpci-dev,
 libpulse-dev,
 libpng12-dev,
 libspice-server-dev (>= 0.10.1),
 libspice-protocol-dev (>= 0.10.1),
 librados-dev, librbd-dev,
 libsasl2-dev,
 libsdl1.2-dev,
 libusbredirhost-dev,
 linux-libc-dev (>= 2.6.32),
 uuid-dev,
 xfslibs-dev,
 zlib1g-dev,
 device-tree-compiler [powerpc],
 libfdt-dev [powerpc]

Fragment from build log :-
https://launchpadlibrarian.net/118497302/buildlog_ubuntu-quantal-amd64.qemu-kvm_1.2.0%2Bnoroms-1ubuntu4_BUILDING.txt.gz

mkdir -p build/
cd build && ../configure \
  --with-pkgversion="qemu-kvm-1.2.0+noroms-1ubuntu4, Debian" \
  --target-list="x86_64-softmmu i386-softmmu x86_64-linux-user i386-linux-user" \
  --prefix=/usr \
  --with-confsuffix=/qemu \
  --datadir=/usr/share \
  --sysconfdir=/etc \
  --libexecdir=/usr/lib \
  --extra-cflags="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wall" \
  --extra-ldflags="-Wl,-Bsymbolic-functions -Wl,-z,relro" \
  --disable-strip \
  --disable-xen \
  --disable-guest-agent \
                --enable-spice \
                --enable-usb-redir \
  --audio-drv-list="pa,alsa,sdl,oss" \
  --enable-docs \
  --audio-card-list="ac97 es1370 sb16 cs4231a adlib gus hda" \
  `sed 's/#.*//' ../debian/optional-features` \
  --enable-kvm --disable-blobs \
   \
   || { echo == config.log ==; cat config.log; echo == config.log end ==; exit 1; }
Install prefix /usr
BIOS directory /usr/share/qemu
......
spice support yes
rbd support yes
xfsctl support yes
nss used no
usb net redir no
OpenGL support no
libiscsi support no
build guest agent no
seccomp support no
......

affects: qemu → qemu-kvm
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Since neither spice nor usb redirection is currently enabled in the package, and since spice cannot be enabled in qemu-kvm, this is not a bug in the qemu-kvm package.

Does the build succeed with the git upstream head from qemu.git (not qemu-kvm.git)? If not, then we can mark this as affecting QEMU. If so, then I'd recommend using that source for now. As soon as R opens, we intend to switch to that source as well.

Revision history for this message
Boris Derzhavets (bderzhavets) wrote :

I believe spice can be enabled in the qemu-kvm package:-

Fragment from build log :-
https://launchpadlibrarian.net/118497302/buildlog_ubuntu-quantal-amd64.qemu-kvm_1.2.0%2Bnoroms-1ubuntu4_BUILDING.txt.gz

. . . . . . .

--disable-guest-agent \
                --enable-spice \
                --enable-usb-redir \
  --audio-drv-list="pa,alsa,sdl,oss" \
  --enable-docs \
  --audio-card-list="ac97 es1370 sb16 cs4231a adlib gus hda" \
  `sed 's/#.*//' ../debian/optional-features` \
  --enable-kvm --disable-blobs \
   \
   || { echo == config.log ==; cat config.log; echo == config.log end ==; exit 1; }
Install prefix /usr
BIOS directory /usr/share/qemu
......

spice support yes <=
rbd support yes
xfsctl support yes
nss used no
usb net redir no <=
OpenGL support no
libiscsi support no
build guest agent no
seccomp support no

.......

Your statement sounds like qemu-kvm 1.2.0 upstream doesn't support spice in meantime ? (1.1 did , it was tested on precise)

Revision history for this message
Boris Derzhavets (bderzhavets) wrote :

I keep in mind only ppa builds using UNIVERSE

Revision history for this message
Dave Walker (davewalker) wrote :

@Boris, Can you outline the exact issue? Do you have a suggestion for change?

Thanks

Revision history for this message
Boris Derzhavets (bderzhavets) wrote :

I cannot build qemu-kvm 1.2.0 with spice usb redirection. It worked for 1.1

Revision history for this message
Boris Derzhavets (bderzhavets) wrote :

@Serge,

Current version of usbredir (ubuntu) is 0.4.3 ( matches debian sid)
qemu-kvm 1.2.0 seems to require usbredir 0.5.2.
I cannot file debian bug to upgrade usbredir package.

Thanks.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

@Boris,

once R opens up, please feel free to file a bug against usbredir to merged from upstream (if debian hasn't bumped their version yet).

In the meantime you can of course do so yourself in your ppa.

Note that in the next few weeks I will be playing with the debian qemu experimental tree, which is going to replace our qemu-kvm in R. You might find hints as to how they are compiling (since I assume they link against ubredir) there.

I recognize that it would be good to have a communications channel for this. Perhaps we should set up a qemu-devs (or somesuch) launchpad group and project and mailing list, for discussing alternate builds?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.