[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1925449] [NEW] Failure building with clang-10 and libssh
From: |
Philippe Mathieu-Daudé |
Subject: |
[Bug 1925449] [NEW] Failure building with clang-10 and libssh |
Date: |
Thu, 22 Apr 2021 09:00:49 -0000 |
Public bug reported:
On Fedora 32, configuring with --enable-libssh and building with clang:
qemu 5.2.94
Compilation
host CPU : x86_64
host endianness : little
C compiler : clang-10
Host C compiler : clang-10
Dependencies
libssh support : YES
triggers:
FAILED: libblock.fa.p/block_ssh.c.o
block/ssh.c:349:13: error: 'ssh_is_server_known' is deprecated
[-Werror,-Wdeprecated-declarations]
state = ssh_is_server_known(s->session);
^
/usr/include/libssh/libssh.h:546:1: note: 'ssh_is_server_known' has been
explicitly marked deprecated here
SSH_DEPRECATED LIBSSH_API int ssh_is_server_known(ssh_session session);
^
/usr/include/libssh/libssh.h:84:40: note: expanded from macro 'SSH_DEPRECATED'
#define SSH_DEPRECATED __attribute__ ((deprecated))
^
block/ssh.c:444:9: error: 'ssh_get_publickey' is deprecated
[-Werror,-Wdeprecated-declarations]
r = ssh_get_publickey(s->session, &pubkey);
^
/usr/include/libssh/libssh.h:543:1: note: 'ssh_get_publickey' has been
explicitly marked deprecated here
SSH_DEPRECATED LIBSSH_API int ssh_get_publickey(ssh_session session, ssh_key
*key);
^
/usr/include/libssh/libssh.h:84:40: note: expanded from macro 'SSH_DEPRECATED'
#define SSH_DEPRECATED __attribute__ ((deprecated))
^
2 errors generated.
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1925449
Title:
Failure building with clang-10 and libssh
Status in QEMU:
New
Bug description:
On Fedora 32, configuring with --enable-libssh and building with
clang:
qemu 5.2.94
Compilation
host CPU : x86_64
host endianness : little
C compiler : clang-10
Host C compiler : clang-10
Dependencies
libssh support : YES
triggers:
FAILED: libblock.fa.p/block_ssh.c.o
block/ssh.c:349:13: error: 'ssh_is_server_known' is deprecated
[-Werror,-Wdeprecated-declarations]
state = ssh_is_server_known(s->session);
^
/usr/include/libssh/libssh.h:546:1: note: 'ssh_is_server_known' has been
explicitly marked deprecated here
SSH_DEPRECATED LIBSSH_API int ssh_is_server_known(ssh_session session);
^
/usr/include/libssh/libssh.h:84:40: note: expanded from macro 'SSH_DEPRECATED'
#define SSH_DEPRECATED __attribute__ ((deprecated))
^
block/ssh.c:444:9: error: 'ssh_get_publickey' is deprecated
[-Werror,-Wdeprecated-declarations]
r = ssh_get_publickey(s->session, &pubkey);
^
/usr/include/libssh/libssh.h:543:1: note: 'ssh_get_publickey' has been
explicitly marked deprecated here
SSH_DEPRECATED LIBSSH_API int ssh_get_publickey(ssh_session session, ssh_key
*key);
^
/usr/include/libssh/libssh.h:84:40: note: expanded from macro 'SSH_DEPRECATED'
#define SSH_DEPRECATED __attribute__ ((deprecated))
^
2 errors generated.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1925449/+subscriptions
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug 1925449] [NEW] Failure building with clang-10 and libssh,
Philippe Mathieu-Daudé <=