Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711266 - net-misc/openssh-8.1_p1-r2: build fails with USE="hpn libressl"
Summary: net-misc/openssh-8.1_p1-r2: build fails with USE="hpn libressl"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2020-03-02 00:34 UTC by kfm
Modified: 2021-06-14 12:25 UTC (History)
4 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 kfm 2020-03-02 00:34:13 UTC
Per the summary, openssh fails to build against libressl if the hpn USE flag is enabled, citing undefined references to the following symbols:

   EVP_CIPHER_meth_new
   EVP_CIPHER_meth_set_cleanup
   EVP_CIPHER_meth_set_do_cipher
   EVP_CIPHER_meth_set_flags
   EVP_CIPHER_meth_set_init
   EVP_CIPHER_meth_set_iv_length

This is as tested against libressl-3.0.2.

As 8.1_p1-r2 is currently undergoing stable keywording, I would suggest that both USE flags are made to block one another until a better solution can be found.
Comment 1 Alexandr Tiurin 2020-03-05 16:15:04 UTC
Same issue with 
USE="hpn pam pie -X -X509 -audit -bindist -debug -kerberos -ldns -libedit -libressl -livecd -sctp (-selinux) -ssl -static -test -xmss"

In file included from ssh_api.h:26,
                 from ssh_api.c:25:
cipher.h:53:33: error: unknown type name ‘EVP_CIPHER_CTX’
   53 | void ssh_aes_ctr_thread_destroy(EVP_CIPHER_CTX *ctx); // defined in cipher-ctr-mt.c
      |                                 ^~~~~~~~~~~~~~
cipher.h:54:40: error: unknown type name ‘EVP_CIPHER_CTX’
   54 | void ssh_aes_ctr_thread_reconstruction(EVP_CIPHER_CTX *ctx);
      |                                        ^~~~~~~~~~~~~~
In file included from sshkey.c:55:
cipher.h:53:33: error: unknown type name ‘EVP_CIPHER_CTX’
   53 | void ssh_aes_ctr_thread_destroy(EVP_CIPHER_CTX *ctx); // defined in cipher-ctr-mt.c
      |                                 ^~~~~~~~~~~~~~
cipher.h:54:40: error: unknown type name ‘EVP_CIPHER_CTX’
   54 | void ssh_aes_ctr_thread_reconstruction(EVP_CIPHER_CTX *ctx);
      |                                        ^~~~~~~~~~~~~~