Re: [PATCH] build: shut up automake warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]