qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).