[libvirt] [PATCH] build: avoid build failure without polkit
Eric Blake
eblake at redhat.com
Tue Jul 2 16:20:25 UTC 2013
On 07/02/2013 10:16 AM, Eric Blake wrote:
>
> which includes libvirt_access.syms, yet a verbose make shows that the
> failure is:
>
> ...
> printf 'global:\n\n' >>libvirt.syms-tmp && \
> cat ../../src/libvirt_private.syms libvirt_access.syms
> libvirt_access_qemu.syms libvirt_access_lxc.syms
> ../../src/libvirt_esx.syms ../../src/libvirt_vmx.syms
> ../../src/libvirt_libssh2.syms >>libvirt.syms-tmp && \
> printf '\n\nlocal:\n*;\n\n};' >>libvirt.syms-tmp && \
> chmod a-w libvirt.syms-tmp && \
> mv libvirt.syms-tmp libvirt.syms
> 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
>
> so it may be a VPATH problem. In fact, looking at that line, look at
> how libvirt_access.syms is listed locally, while
> ../../src/libvirt_esx.syms is listed in another directory. I'm still
> playing with it...
Aha - light bulb moment. We have EXTRA_DIST += $(USED_SYM_FILES), which
means tarballs are including something that should be generated. We
have _other_ generated sym files that are intentionally not part of the
tarball; looks like I need to do the same here. Now testing my theory.
--
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/92c1aaa8/attachment-0001.sig>
More information about the libvir-list
mailing list