Jason Helfman wrote:
[libvirt-announce@ CCdropped]
I get this breakage on libvirt 1.2.2 for FreeBSD.
CCLD libvirt_iohelper
CC locking/virtlockd-lock_daemon.o
CC locking/virtlockd-lock_daemon_config.o
CC locking/virtlockd-lock_daemon_dispatch.o
CC locking/virtlockd-lock_protocol.o
CCLD virtlockd
GEN virtlockd.8
gmake[3]: *** No rule to make target `test_libvirt_lockd.aug', needed by
`all-am'. Stop.
gmake[3]: Leaving directory
`/usr/home/helfman/workspace/redports/devel/libvirt/work/libvirt-1.2.2/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/home/helfman/workspace/redports/devel/libvirt/work/libvirt-1.2.2/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/home/helfman/workspace/redports/devel/libvirt/work/libvirt-1.2.2'
gmake: *** [all] Error 2
*** [do-build] Error code 1
Any ideas?
https://redports.org/buildarchive/20140306065501-14242/
Here is a link to a tarball of one of the build directories.
https://redports.org/~jgh/20140306065501-14242-181603/libvirt-1.2.2.tbz
-jgh
Looks like build is broken with qemu driver disabled.
This fixes it for me:
diff --git a/src/Makefile.am b/src/Makefile.am
index 25d0370..b35dc65 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1757,7 +1757,9 @@ if WITH_QEMU
test_libvirt_lockd.aug: locking/test_libvirt_lockd.aug.in \
locking/qemu-lockd.conf $(AUG_GENTEST)
$(AM_V_GEN)$(AUG_GENTEST) locking/qemu-lockd.conf $< $@
-endif WITH_QEMU
+else ! WITH_QEMU
+test_libvirt_lockd.aug:
+endif ! WITH_QEMU
test_virtlockd.aug: locking/test_virtlockd.aug.in \
locking/virtlockd.conf $(AUG_GENTEST)
You'll need to regenerate Makefile.in to get it fixed.
Or, if you don't want to bother with autotools, there's a workaround to
try:
In src/Makefile.in, find a piece like that:
@WITH_QEMU_TRUE(a)test_libvirt_lockd.aug: locking/test_libvirt_lockd.aug.in \
After this block, add:
@WITH_QEMU_FALSE(a)test_libvirt_lockd.aug:
And re-run configure. Does it work?
Roman Bogorodskiy