* [Qemu-devel] qemu compilation failure with nettle 3.5.1
@ 2019-07-11 5:26 Amol Surati
2019-07-11 12:18 ` Dr. David Alan Gilbert
0 siblings, 1 reply; 3+ messages in thread
From: Amol Surati @ 2019-07-11 5:26 UTC (permalink / raw)
To: qemu-devel; +Cc: suratiamol
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;
Thanks,
Amol
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] qemu compilation failure with nettle 3.5.1
2019-07-11 5:26 [Qemu-devel] qemu compilation failure with nettle 3.5.1 Amol Surati
@ 2019-07-11 12:18 ` Dr. David Alan Gilbert
2019-07-11 13:03 ` Daniel P. Berrangé
0 siblings, 1 reply; 3+ messages in thread
From: Dr. David Alan Gilbert @ 2019-07-11 12:18 UTC (permalink / raw)
To: Amol Surati, berrange; +Cc: qemu-devel
Copying in Daniel
* Amol Surati (suratiamol@gmail.com) 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;
>
> Thanks,
> Amol
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] qemu compilation failure with nettle 3.5.1
2019-07-11 12:18 ` Dr. David Alan Gilbert
@ 2019-07-11 13:03 ` Daniel P. Berrangé
0 siblings, 0 replies; 3+ messages in thread
From: Daniel P. Berrangé @ 2019-07-11 13:03 UTC (permalink / raw)
To: Dr. David Alan Gilbert; +Cc: Amol Surati, qemu-devel
On Thu, Jul 11, 2019 at 01:18:17PM +0100, Dr. David Alan Gilbert wrote:
> Copying in Daniel
>
> * Amol Surati (suratiamol@gmail.com) 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 :|
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-07-11 13:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-11 5:26 [Qemu-devel] qemu compilation failure with nettle 3.5.1 Amol Surati
2019-07-11 12:18 ` Dr. David Alan Gilbert
2019-07-11 13:03 ` Daniel P. Berrangé
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.