On 05/28/2012 11:36 AM, Dipankar Sarma wrote:
On Mon, May 28, 2012 at 11:13:23AM +0100, Daniel P. Berrange wrote:
> On Mon, May 28, 2012 at 02:24:16AM -0400, Alex Jia wrote:
>> Hi all,
>> I met some compiling error since May 26:
>> <snip>
>> make[3]: Entering directory `/home/ajia/Workspace/libvirt/src'
>> CCLD libvirt_driver_qemu.la
>> libtool: link: `libvirt_qemu_probes.lo' is not a valid libtool object
>
> I see that too
I'm still working on this one...
>
>> Notes, in fact, libvirt_driver_qemu.la hasn't been generated:
>> [root@202 libvirt]# find . -name libvirt_driver_qemu.la
>> [root@202 libvirt]# find . -name libvirt_qemu_probes.lo
>
> Yes, it looks like a dependency bug in the Makefile.am - I'm
> just testing a possible fix
'make rpm' seems to be broken as well right now -
make[2]: *** No rule to make target `locking/test_libvirt_sanlock.aug.in', needed by
`distdir'. Stop.
make[2]: Leaving directory `/home/dipankar/src/powerpc/libvirt-ppc/src'
make[1]: *** [distdir] Error 1
But this one is a typo; I'm pushing the following under the
build-breaker rule:
From 28dbf01d08cc8623b040df10ae4822706b78fb7e Mon Sep 17 00:00:00 2001
From: Eric Blake <eblake(a)redhat.com>
Date: Tue, 29 May 2012 10:54:50 -0600
Subject: [PATCH] build: don't clean a file that belongs in the tarball
Otherwise, 'make rpm' fails with:
make[2]: *** No rule to make target
`locking/test_libvirt_sanlock.aug.in', needed by `distdir'. Stop.
make[2]: Leaving directory `/home/dipankar/src/powerpc/libvirt-ppc/src'
make[1]: *** [distdir] Error 1
Reported by Dipankar Sarma.
* src/Makefile.am (CLEANFILES): Clean only the generated file.
---
src/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index b409802..e172e55 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1359,7 +1359,7 @@ sanlock_la_LIBADD = -lsanlock_client \
augeas_DATA += locking/libvirt_sanlock.aug
augeastest_DATA += locking/test_libvirt_sanlock.aug
-CLEANFILES += locking/test_libvirt_sanlock.aug.in
+CLEANFILES += locking/test_libvirt_sanlock.aug
$(builddir)/locking/%-sanlock.conf: $(srcdir)/locking/sanlock.conf
$(AM_V_GEN)$(MKDIR_P) locking ; \
--
1.7.7.6
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org