Comment 74 for bug 723871

Revision history for this message
Serge Hallyn (serge-hallyn) wrote : Re: [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

Please move this thread to a wiki.ubuntu.com wiki page and a
private or different mailing list.

Since gawk is needed for the build, you need to add gawk to
the build-depends line in debian/control.

-serge

Quoting Boris Derzhavets (<email address hidden>):
> @Serge,
>
> I am getting error when build in PPA :-
>
> make[2]: Entering directory `/build/buildd/spice-gtk-0.6/po'
> cd .. \
> && CONFIG_FILES=po/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \
> /bin/bash ./config.status
> config.status: creating po/Makefile.in
> ./config.status: line 1509: gawk: command not found <= ??
> config.status: error: could not create po/Makefile.in
> make[2]: *** [stamp-it] Error 127
> make[2]: Leaving directory `/build/buildd/spice-gtk-0.6/po'
> make[1]: *** [distclean-recursive] Error 1
> make[1]: Leaving directory `/build/buildd/spice-gtk-0.6'
> dh_auto_clean: make -j1 distclean returned exit code 2
> make: *** [clean] Error 29
> dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules clean gave error exit status 2
>
> Locally it doesn't happen.
> # which gawk
> /usr/bin/gawk
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/723871
>
> Title:
> qemu-kvm-0.14.0 Aborts with -vga qxl
>
> Status in QEMU:
> Invalid
> Status in “libvirt” package in Ubuntu:
> Triaged
> Status in “qemu-kvm” package in Ubuntu:
> Fix Released
>
> Bug description:
> Host CPU is Core i7 Q820. KVM is from 2.6.35-gentoo-r5 kernel (x86_64).
> Host has spice-0.7.2 and spice-protocol-0.7.0.
> Guest is Windows XP SP3 with qxl driver 0.6.1, virtio-serial 1.1.6 and vdagent 0.6.3.
>
> qemu-kvm is started like so:
> qemu-system-x86_64 -cpu host -enable-kvm -pidfile /home/rick/qemu/hds/wxp.pid -drive file=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,disable-ticketing -monitor stdio
> and crashes with:
> qemu-system-x86_64: /home/rick/qemu/src/qemu-kvm-0.14.0/qemu-kvm.c:1724: kvm_mutex_unlock: Assertion `!cpu_single_env' failed.
> Aborted
>
> If I use -no-kvm, it works fine. If I use -vga std, it works fine.
> -enable-kvm and -vga qxl crashes.