On 07/02/2013 03:43 AM, Daniel P. Berrange wrote:
On Mon, Jul 01, 2013 at 02:10:29PM -0600, Eric Blake wrote:
> rpmbuild of mingw-libvirt.spec failed with:
>
> GEN libvirt.syms
> GEN libvirt_qemu.def
> cat: libvirt_access.syms: No such file or directory
> cat: libvirt_access_qemu.syms: No such file or directory
> cat: libvirt_access_lxc.syms: No such file or directory
>
> I traced this to unconditionally trying to use the ACL .syms files,
> even when polkit isn't in use.
Hmm, really ? The methods in these .syms files are actually
methods that are inserted into all the driver method impls
unconditionally. So we shouldn't make this conditional on
polkit, rather we should fix the bug that causes them to
be unused when polkit is missing.
I'll keep investigating, then. My next step will be to see if I can
reproduce it on a --without-libvirtd local build, instead of being stuck
with debugging mingw cross-compiling.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org