[libvirt] [PATCH] build: shut up automake warnings

Eric Blake eblake at redhat.com
Fri Sep 6 20:48:36 UTC 2013


On 09/05/2013 07:04 AM, Eric Blake wrote:
>>
>> Unfortunately, 1.14 complains about subdir-objects way more than about
>> anything else and I still haven't found the way out of that one.

I found the way out (but with a caveat...) - you add 'subdir-objects' to
the AM_INIT_AUTOMAKE line in configure.ac (portable back to RHEL 5's
automake 1.9).  But in doing so, automake then tries to create a
directory named:

./src/$(srcdir)/remote/.deps

among others (yes, that's the literal directory name it created).  Which
means we have a bug in our (ab)use of BUILT_SOURCES - we are can't ship
generated .c files as part of the tarball and ALSO require that they be
built first but into the srcdir.  And since these are the very files
that are already causing rpcgen grief on non-Linux platforms, we
definitely still want to ship the generated .c, even if we don't store
the generated files in git.

> 
> Ouch - rawhide is currently still stuck on 1.13.4 [so much for the
> perception of rawhide being bleeding-edge]; I'll have to manually
> install from automake.git to play with subdir-objects (it may be easiest
> to just unconditionally turn it on, after testing that RHEL 5's 1.9 can
> handle it), as a followup patch.

Well, I now have my environment set up to reproduce the problem with
automake 1.14, and will hopefully have patches soon.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130906/c36b2dc0/attachment-0001.sig>


More information about the libvir-list mailing list