All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 1925449] [NEW] Failure building with clang-10 and libssh
@ 2021-04-22  9:00 Philippe Mathieu-Daudé
  2021-05-09 15:43 ` [Bug 1925449] " Philippe Mathieu-Daudé
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-04-22  9:00 UTC (permalink / raw)
  To: qemu-devel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-09 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-22  9:00 [Bug 1925449] [NEW] Failure building with clang-10 and libssh Philippe Mathieu-Daudé
2021-05-09 15:43 ` [Bug 1925449] " Philippe Mathieu-Daudé

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.