[libvirt] Libvirt build broken

Martin Kletzander mkletzan at redhat.com
Thu Nov 3 14:04:02 UTC 2016


On Thu, Nov 03, 2016 at 01:50:17PM +0000, Wei Liu wrote:
>Hi
>
>Xen Project's CI system found a build failure between libvirt changes
>06a7b1ff..478ddedc.  I don't think this is Xen specific FWIW.
>

My guess is either 680d2f49dad425395de627a31006cb84848cfa65 or
0c62ccf927c60c9c248db52a23670ec2f9bce2b2 as those are the two that touch
gnutls configure stuff.

>The build log can be found at:
>
>http://logs.test-lab.xenproject.org/osstest/logs/101868/build-amd64-libvirt/5.ts-libvirt-build.log
>
>The first error:
>
>  CC       libvirt_driver_la-libvirt-host.lo
>libvirt.c:320:15: error: variable 'virTLSThreadImpl' has initializer but incomplete type
> static struct gcry_thread_cbs virTLSThreadImpl = {
>               ^
>Earlier in configure:
>
>  configure:     gnutls: no
>
>>From the look of it configure doesn't work properly anymore.
>

There are two problems here.  One is that you probably have old gnutls
(older than 2.2.0, for more info check the two commits).  That's why you
are not building with gnutls, but the real problem here (which is in the
code) is that we are not able to build without gnutls (my quick guess).
We are using struct gcry_thread_cbs even when building without gnutls
and that's what should be fixed, IMHO.

>
>Wei.
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20161103/183a8fed/attachment-0001.sig>


More information about the libvir-list mailing list