* [Qemu-devel] [Bug 1014823] [NEW] qemu-kvm-1.0.1 compilation error on Ubuntu 12.04
@ 2012-06-18 20:05 Whit Blauvelt
2012-06-18 20:50 ` [Qemu-devel] [Bug 1014823] " Serge Hallyn
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Whit Blauvelt @ 2012-06-18 20:05 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
CC libhw64/9pfs/virtio-9p-handle.o
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_update_file_cred’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:70:58: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:70:58: note: each undeclared 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 ‘handle_lstat’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:87:34: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_symlink’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:314:62: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_link’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:337:45: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_chown’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:373:58: error: ‘AT_EMPTY_PATH’ 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.
** Affects: qemu
Importance: Undecided
Status: New
--
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:
New
Bug description:
CC libhw64/9pfs/virtio-9p-handle.o
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_update_file_cred’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:70:58: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:70:58: note: each undeclared 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 ‘handle_lstat’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:87:34: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_symlink’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:314:62: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_link’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:337:45: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_chown’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:373:58: error: ‘AT_EMPTY_PATH’ 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [Bug 1014823] Re: qemu-kvm-1.0.1 compilation error on Ubuntu 12.04
2012-06-18 20:05 [Qemu-devel] [Bug 1014823] [NEW] qemu-kvm-1.0.1 compilation error on Ubuntu 12.04 Whit Blauvelt
@ 2012-06-18 20:50 ` Serge Hallyn
2012-06-18 20:51 ` Serge Hallyn
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Serge Hallyn @ 2012-06-18 20:50 UTC (permalink / raw)
To: qemu-devel
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 ‘handle_update_file_cred’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:70:58: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:70:58: note: each undeclared 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 ‘handle_lstat’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:87:34: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_symlink’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:314:62: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_link’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:337:45: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_chown’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:373:58: error: ‘AT_EMPTY_PATH’ 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [Bug 1014823] Re: qemu-kvm-1.0.1 compilation error on Ubuntu 12.04
2012-06-18 20:05 [Qemu-devel] [Bug 1014823] [NEW] qemu-kvm-1.0.1 compilation error on Ubuntu 12.04 Whit Blauvelt
2012-06-18 20:50 ` [Qemu-devel] [Bug 1014823] " Serge Hallyn
@ 2012-06-18 20:51 ` Serge Hallyn
2012-06-18 20:52 ` Serge Hallyn
2013-07-26 13:31 ` Peter Maydell
3 siblings, 0 replies; 5+ messages in thread
From: Serge Hallyn @ 2012-06-18 20:51 UTC (permalink / raw)
To: qemu-devel
Oh, actually I was about to mark this invalid, but in fact it is a valid
bug that it is trying to compile this bit of code when the AT* were not
defined. There is a patch sent and acked upstream to fix this, so I'll
mark it confirmed for now.
** Changed in: qemu
Status: New => Confirmed
--
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 ‘handle_update_file_cred’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:70:58: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:70:58: note: each undeclared 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 ‘handle_lstat’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:87:34: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_symlink’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:314:62: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_link’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:337:45: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_chown’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:373:58: error: ‘AT_EMPTY_PATH’ 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [Bug 1014823] Re: qemu-kvm-1.0.1 compilation error on Ubuntu 12.04
2012-06-18 20:05 [Qemu-devel] [Bug 1014823] [NEW] qemu-kvm-1.0.1 compilation error on Ubuntu 12.04 Whit Blauvelt
2012-06-18 20:50 ` [Qemu-devel] [Bug 1014823] " Serge Hallyn
2012-06-18 20:51 ` Serge Hallyn
@ 2012-06-18 20:52 ` Serge Hallyn
2013-07-26 13:31 ` Peter Maydell
3 siblings, 0 replies; 5+ messages in thread
From: Serge Hallyn @ 2012-06-18 20:52 UTC (permalink / raw)
To: qemu-devel
(Note, the patch has Subject:
Subject: [Qemu-devel] [PATCH] configure: Fix build for some versions of
glibc (9pfs)
)
--
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 ‘handle_update_file_cred’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:70:58: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:70:58: note: each undeclared 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 ‘handle_lstat’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:87:34: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_symlink’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:314:62: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_link’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:337:45: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_chown’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:373:58: error: ‘AT_EMPTY_PATH’ 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [Bug 1014823] Re: qemu-kvm-1.0.1 compilation error on Ubuntu 12.04
2012-06-18 20:05 [Qemu-devel] [Bug 1014823] [NEW] qemu-kvm-1.0.1 compilation error on Ubuntu 12.04 Whit Blauvelt
` (2 preceding siblings ...)
2012-06-18 20:52 ` Serge Hallyn
@ 2013-07-26 13:31 ` Peter Maydell
3 siblings, 0 replies; 5+ messages in thread
From: Peter Maydell @ 2013-07-26 13:31 UTC (permalink / raw)
To: qemu-devel
The patch Serge mentions was committed upstream and released last year.
** Changed in: qemu
Status: Confirmed => Fix Released
--
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:
Fix Released
Bug description:
CC libhw64/9pfs/virtio-9p-handle.o
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_update_file_cred’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:70:58: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:70:58: note: each undeclared 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 ‘handle_lstat’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:87:34: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_symlink’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:314:62: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_link’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:337:45: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function)
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c: In function ‘handle_chown’:
/usr/src/qemu-kvm-1.0.1/hw/9pfs/virtio-9p-handle.c:373:58: error: ‘AT_EMPTY_PATH’ 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-07-26 13:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-18 20:05 [Qemu-devel] [Bug 1014823] [NEW] qemu-kvm-1.0.1 compilation error on Ubuntu 12.04 Whit Blauvelt
2012-06-18 20:50 ` [Qemu-devel] [Bug 1014823] " Serge Hallyn
2012-06-18 20:51 ` Serge Hallyn
2012-06-18 20:52 ` Serge Hallyn
2013-07-26 13:31 ` Peter Maydell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.