[libvirt] [PATCH] build: avoid build failure without polkit

Eric Blake eblake at redhat.com
Tue Jul 2 13:49:50 UTC 2013


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

-------------- 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/20130702/155baca8/attachment-0001.sig>


More information about the libvir-list mailing list