Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832494 - app-emulation/qemu[vnc] needs gnutls enabled
Summary: app-emulation/qemu[vnc] needs gnutls enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-01 10:00 UTC by Agostino Sarubbo
Modified: 2022-02-02 03:54 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-02-01 10:00:47 UTC
https://github.com/qemu/qemu/commit/21407ddf967f9b6f9ea22ab3a1644f6b29d53255

crypto: delete built-in DES implementation
The built-in DES implementation is used for the VNC server password
authentication scheme. When building system emulators it is reasonable
to expect that an external crypto library is being used. It is thus
not worth keeping a home grown DES implementation in tree.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>


So qemu with only vnc without gnutls fails in that way:
error: internal error: qemu unexpectedly closed the monitor: 2022-02-01T09:30:00.449415Z qemu-system-x86_64: -vnc 127.0.0.1:34,password=on,audiodev=audio1: Cipher backend does not support DES algorithm


Works for me by just enable USE gnutls

FTR I'm using 6.2.0
Comment 1 Larry the Git Cow gentoo-dev 2022-02-02 03:54:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdac7bbf8994e32182af9cef1d9a6a013912e3d3

commit bdac7bbf8994e32182af9cef1d9a6a013912e3d3
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2022-02-02 03:47:12 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2022-02-02 03:47:12 +0000

    app-emulation/qemu: REQUIRED_USE+="vnc? ( gnutls )"
    
    Closes: https://bugs.gentoo.org/832494
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 app-emulation/qemu/qemu-6.2.0-r3.ebuild | 3 ++-
 app-emulation/qemu/qemu-6.2.0.ebuild    | 3 ++-
 app-emulation/qemu/qemu-9999.ebuild     | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)