[libvirt] [PATCH] build: fix build of virt-login-shell on systems with older gnutls

Eric Blake eblake at redhat.com
Tue Oct 22 06:03:25 UTC 2013


On 10/22/2013 06:29 AM, Jim Fehlig wrote:
> On systems where gnutls uses libgcrypt, I'm seeing the following
> build failure
> 
> libvirt.c:314: error: variable 'virTLSThreadImpl' has initializer but incomplete type
> libvirt.c:319: error: 'GCRY_THREAD_OPTION_PTHREAD' undeclared here (not in a function)
> ...
> 
> Fix by undefining WITH_GNUTLS_GCRYPT in config-post.h
> 
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
> 
> Although I'm more confident in this fix vs the previously reported
> virt-login-shell build failure, I'd still prefer an ACK before pushing.

I'm not sure on the other one yet, but can definitely ACK this one.

(Oh, and it's a pity that gnutls is now effectively LGPLv3+ if it uses
libnettle which in turn uses LGPLv3+ libgmp - because that makes libvirt
unusable with GPLv2-only programs like Oz on platforms with newer
gnutls. At least your situation with older gnutls is not impacted,
because things are still LGPLv2+)

-- 
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/20131022/3b94f002/attachment-0001.sig>


More information about the libvir-list mailing list