From: "Daniel P. Berrangé" <berrange@redhat.com>
To: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Amol Surati <suratiamol@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu compilation failure with nettle 3.5.1
Date: Thu, 11 Jul 2019 14:03:51 +0100 [thread overview]
Message-ID: <20190711130351.GK11930@redhat.com> (raw)
In-Reply-To: <20190711121817.GB5846@work-vm>
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 :|
prev parent reply other threads:[~2019-07-11 13:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190711130351.GK11930@redhat.com \
--to=berrange@redhat.com \
--cc=dgilbert@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=suratiamol@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).