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

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

 



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

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]