Skip to contentSkip to conversation

Libvirt build broken

DISCUSSION Wei Liu 4 participants 5 messages Nov 3, 2016 1 message not in the archive

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

Hi

Xen Project's CI system found a build failure between libvirt changes 06a7b1ff..478ddedc. I don't think this is Xen specific FWIW.

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.

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#1 lore raw
Quoted 5 lines · Wei Liu

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.

Quoted 6 lines

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:

Quoted 10 lines

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

Quoted 1 line

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.

Quoted 7 lines

Wei.

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw
In reply to Wei Liu
Quoted 22 lines · Wei Liu

Hi

Xen Project's CI system found a build failure between libvirt changes 06a7b1ff..478ddedc. I don't think this is Xen specific FWIW.

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

Quoted 1 line

From the look of it configure doesn't work properly anymore.

Quoted 6 lines

Wei.

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

I have just sent.
[PATCH] gcrypt: fix build in case we do not use gnutls and gcrypt

Signature · 8 lines
Best regards,
Olga


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#3 lore raw
In reply to Wei Liu
Quoted 11 lines · Wei Liu

Hi

Xen Project's CI system found a build failure between libvirt changes 06a7b1ff..478ddedc. I don't think this is Xen specific FWIW.

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:

Quoted 7 lines

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

Hi

I've just pushed a patch that fixes this build issue:

<https://www.redhat.com/archives/libvir-list/2016-November/msg00206.html>

Pavel

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

A message that is not in the archive (sent off-list or not yet received): 20161103145804.GC7746@antique-desktop

author
#5 lore raw
Quoted 18 lines · Pavel Hrdina
Quoted 17 lines · Wei Liu

Hi

Xen Project's CI system found a build failure between libvirt changes 06a7b1ff..478ddedc. I don't think this is Xen specific FWIW.

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:

Quoted 8 lines
Quoted 1 line

configure: gnutls: no

Hi

I've just pushed a patch that fixes this build issue:

<https://www.redhat.com/archives/libvir-list/2016-November/msg00206.html>

Thanks!

Wei.

Quoted 1 line

Pavel

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel