[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu compilation failure with nettle 3.5.1
From: |
Daniel P . Berrangé |
Subject: |
Re: [Qemu-devel] qemu compilation failure with nettle 3.5.1 |
Date: |
Thu, 11 Jul 2019 14:03:51 +0100 |
User-agent: |
Mutt/1.12.0 (2019-05-25) |
On Thu, Jul 11, 2019 at 01:18:17PM +0100, Dr. David Alan Gilbert wrote:
> Copying in Daniel
>
> * Amol Surati (address@hidden) wrote:
> > Hi,
> >
> > The qemu upstream (at commit 6df2cdf44a at the moment) fails to compile
> > with nettle 3.5.1. It seems that Nettle has deprecated a few parts of
> > its API.
> >
> > A workaround is to provide --disable-nettle during qemu configuration.
> >
> > A portion of the error log:
> >
> > error: ‘nettle_aes_encrypt’ is deprecated
> > error: ‘nettle_aes_decrypt’ is deprecated
> > error: ‘nettle_aes_encrypt’ is deprecated
> > error: ‘nettle_aes_decrypt’ is deprecated
> > error: ‘nettle_aes_set_encrypt_key’ is deprecated
> > error: ‘nettle_aes_set_decrypt_key’ is deprecated
> > error: ‘nettle_aes_set_encrypt_key’ is deprecated
> > error: ‘nettle_aes_set_decrypt_key’ is deprecated
> > error: ‘nettle_aes_set_encrypt_key’ is deprecated
> > error: ‘nettle_aes_set_decrypt_key’ is deprecated
> >
> >
> > The declaration of one of the functions from nettle's aes.h:
> >
> > void
> > aes_encrypt(const struct aes_ctx *ctx,
> > size_t length, uint8_t *dst,
> > const uint8_t *src) _NETTLE_ATTRIBUTE_DEPRECATED;
Yep, I'm already working on a patch, but in the meantime you should
use --disable-werror, as this is merely a deprecation, not any real
functional problem.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|