Received: from eggs.gnu.org ([208.118.235.92]:45030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sgj48-0006L5-SV for qemu-devel@nongnu.org; Mon, 18 Jun 2012 17:00:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sgj45-0007bD-QN for qemu-devel@nongnu.org; Mon, 18 Jun 2012 17:00:52 -0400 Received: from indium.canonical.com ([91.189.90.7]:46283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sgj45-0007ay-KW for qemu-devel@nongnu.org; Mon, 18 Jun 2012 17:00:49 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Sgj43-0001qE-Tg for ; Mon, 18 Jun 2012 21:00:47 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id DF8B62E8009 for ; Mon, 18 Jun 2012 21:00:47 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 18 Jun 2012 20:50:35 -0000 From: Serge Hallyn <1014823@bugs.launchpad.net> Sender: bounces@canonical.com References: <20120618200521.15172.19732.malonedeb@wampee.canonical.com> Message-Id: <20120618205035.7949.11195.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1014823] Re: qemu-kvm-1.0.1 compilation error on Ubuntu 12.04 Reply-To: Bug 1014823 <1014823@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The bug is actually in libc (see bug 1010069). You can work around it using the same patch we are using in the ubuntu package, define_AT_EMPTY_PATH.patch. It probably won't apply cleanly upstream, but just make sure to add #ifndef AT_REMOVEDIR #define AT_REMOVEDIR 0x200 #endif #ifndef AT_EMPTY_PATH #define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */ #endif #ifndef O_PATH #define O_PATH 010000000 #endif near the top of hw/9pfs/virtio-9p-handle.c -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1014823 Title: qemu-kvm-1.0.1 compilation error on Ubuntu 12.04 Status in QEMU: Confirmed Bug description: CC libhw64/9pfs/virtio-9p-handle.o /usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function =E2=80=98= handle_update_file_cred=E2=80=99: /usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:70:58: error: =E2=80= =98AT_EMPTY_PATH=E2=80=99 undeclared (first use in this function) /usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:70:58: note: each unde= clared identifier is reported only once for each function it appears in /usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function =E2=80=98= handle_lstat=E2=80=99: /usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:87:34: error: =E2=80= =98AT_EMPTY_PATH=E2=80=99 undeclared (first use in this function) /usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function =E2=80=98= handle_symlink=E2=80=99: /usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:314:62: error: =E2=80= =98AT_EMPTY_PATH=E2=80=99 undeclared (first use in this function) /usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function =E2=80=98= handle_link=E2=80=99: /usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:337:45: error: =E2=80= =98AT_EMPTY_PATH=E2=80=99 undeclared (first use in this function) /usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function =E2=80=98= handle_chown=E2=80=99: /usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:373:58: error: =E2=80= =98AT_EMPTY_PATH=E2=80=99 undeclared (first use in this function) make[1]: *** [9pfs/virtio-9p-handle.o] Error 1 make: *** [subdir-libhw64] Error 2 It compiled okay on 11.04. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1014823/+subscriptions