Xen unstable fails to build on ubutnu 12.04
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Will McDermott
Hello,
I am trying to compile xen 4.2 unstable from mercurial. I can't get past the make tools step. When I run make tools, the build fails with:
Thanks Will, this looks like a new one, I've not noticed any reports of this before. CCing xen-devel@ and our Qemu folks.
Guys, this looks like
http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg03460.html or
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/930181 (which Will references below). I didn't look if any patch has gone in upstream or not.
I can't explain why other Ubuntu users aren't seeing this though.
Ian.
Quoted 48 lines
CC
libhw64/9pfs/coxattr.o
CClibhw64/9pfs/virtio-9p-synth.o
CClibhw64/9pfs/virtio-9p-handle.o/root/xen-unstable.hg/tools/qemu-xen-dir/hw/9pfs/virtio-9p-handle.c: In function âhandle_update_file_credâ:/root/xen-unstable.hg/tools/qemu-xen-dir/hw/9pfs/virtio-9p-handle.c:70:58:
error: âAT_EMPTY_PATHâ undeclared (first use in this function)/root/xen-unstable.hg/tools/qemu-xen-dir/hw/9pfs/virtio-9p-handle.c:70:58:
note: each undeclared identifier is reported only once for each function it appears in/root/xen-unstable.hg/tools/qemu-xen-dir/hw/9pfs/virtio-9p-handle.c: In function âhandle_lstatâ:/root/xen-unstable.hg/tools/qemu-xen-dir/hw/9pfs/virtio-9p-handle.c:87:34:
error: âAT_EMPTY_PATHâ undeclared (first use in this function)/root/xen-unstable.hg/tools/qemu-xen-dir/hw/9pfs/virtio-9p-handle.c: In function âhandle_symlinkâ:/root/xen-unstable.hg/tools/qemu-xen-dir/hw/9pfs/virtio-9p-handle.c:314:62:
error: âAT_EMPTY_PATHâ undeclared (first use in this function)/root/xen-unstable.hg/tools/qemu-xen-dir/hw/9pfs/virtio-9p-handle.c: In function âhandle_linkâ:/root/xen-unstable.hg/tools/qemu-xen-dir/hw/9pfs/virtio-9p-handle.c:337:45:
error: âAT_EMPTY_PATHâ undeclared (first use in this function)/root/xen-unstable.hg/tools/qemu-xen-dir/hw/9pfs/virtio-9p-handle.c: In function âhandle_chownâ:/root/xen-unstable.hg/tools/qemu-xen-dir/hw/9pfs/virtio-9p-handle.c:373:58:
error: âAT_EMPTY_PATHâ undeclared (first use in this function) make[4]: *** [9pfs/virtio-9p-handle.o] Error 1
make[3]: *** [subdir-libhw64] Error 2
make[3]: Leaving directory `/root/xen-unstable.hg/tools/qemu-xen-dir-remote'
make[2]: *** [subdir-install-qemu-xen-dir] Error 2
make[2]: Leaving directory `/root/xen-unstable.hg/tools' make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/root/xen-unstable.hg/tools'
make: *** [install-tools] Error 2I am running ubuntu 12.04, kernel ver: 3.2.0-24-generic
Any ideas? I have googled furiously and found some people talking about qemu-kvm having the same issue:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/930181
But I was not able to find the patchThanks in advance!
Quoted 6 lines
Mercurialm
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 9 lines · Ian Campbell
Quoted 4 lines · Will McDermott
Hello,
I am trying to compile xen 4.2 unstable from mercurial. I can't get past the make tools step. When I run make tools, the build fails with:
Thanks Will, this looks like a new one, I've not noticed any reports of this before. CCing xen-devel@ and our Qemu folks.
Quoted 7 lines
Guys, this looks like
http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg03460.html or
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/930181 (which Will references below). I didn't look if any patch has gone in upstream or not.I can't explain why other Ubuntu users aren't seeing this though.
You must have libcap and libattr installed, because that's what it takes to enable virtfs in QEMU by default.
And virtfs at the moment doesn't compile without that patch.
I'll ping the QEMU maintainers about it, and also submit a patch to our build system to disable virtfs.