Summary: | app-text/qpdf-11.6.3: fails to configure with USE=-ssl: CMake Error at libqpdf/CMakeLists.txt:273 (message): no crypto provider is available | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | CaptainBlood <luc_pierard_de_maujouy> |
Component: | Current packages | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | leohdz172 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ebuild log |
Description
CaptainBlood
2023-12-10 02:42:53 UTC
relevant lines from `libqpdf/CMakeLists.txt` (around 277) ``` if(FOUND_CRYPTO) if(NOT DEFAULT_CRYPTO) # The preferred order of crypto providers is documented in # manual/installation.rst in the crypto.build section. if(USE_CRYPTO_GNUTLS) set(DEFAULT_CRYPTO "gnutls") elseif(USE_CRYPTO_OPENSSL) set(DEFAULT_CRYPTO "openssl") else() set(DEFAULT_CRYPTO "native") endif() endif() else() message(SEND_ERROR "no crypto provider is available") set(ANYTHING_MISSING 1) endif() if(ANYTHING_MISSING) message(FATAL_ERROR "Missing dependencies; unable to continue") endif() message(STATUS "") message(STATUS "*** Crypto Summary ***") message(STATUS " GNU TLS crypto enabled: " ${USE_CRYPTO_GNUTLS}) message(STATUS " OpenSSL crypto enabled: " ${USE_CRYPTO_OPENSSL}) message(STATUS " Native crypto enabled: " ${USE_CRYPTO_NATIVE}) message(STATUS " Default crypto: " ${DEFAULT_CRYPTO}) message(STATUS "") ``` @Alain Zscheile Thks for raising my mistake & clarification. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d33c07cfd2e08d000cf53042c355431f6be4d88f commit d33c07cfd2e08d000cf53042c355431f6be4d88f Author: Sam James <sam@gentoo.org> AuthorDate: 2023-12-15 06:16:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-15 06:17:32 +0000 app-text/qpdf: require SSL Non-SSL builds appear to either be unsupported upstream or not work at all (perhaps even not supposed to work). Closes: https://bugs.gentoo.org/919676 Signed-off-by: Sam James <sam@gentoo.org> .../{qpdf-11.6.3.ebuild => qpdf-11.6.3-r1.ebuild} | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) |