Re: libvirt 0.8.7 msys and xdr weirdness

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

 



> At first I wanted to say works for me, as I had tested the 0.8.7 RC1
> successfully, but then I checked the local diff in my tree and saw
> that I had fixed a problem in portablexdr that I hadn't converted in a
> proper patch yet.
> 
> The problem was that libvirt's configure script recently started to
> check explicitly for rpc/rpc.h. This header just contains this three
> lines
> 
> #include "config.h"

That's a bug in portablexdr.  No public header should _EVER_ include a
private header, especially not "config.h".

> #include <rpc/types.h>
> #include <rpc/xdr.h>
> 
> This is totally fine when included in libvirt, but in the configure
> conftest code the include for config.h fails making the whole check
> for portablexdr fail. That's what you're seeing in this line from
> configure
> 
> checking for xdrmem_create in -lportablexdr... no

Meanwhile, should libvirt work around the problem by checking instead
for rpc/types.h and rpc/xdr.h, or does rpc/rpc.h provide something extra
on other platforms where we cannot solve things by just going for the
constituent headers?  Or just wait for the fixed portablexdr to
percolate to anyone interested in building libvirt?

> 
> I've fixed this now and pushed a patch for this to the github repo.

I'm assuming you meant the portablexdr github repo?

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
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]