Bug 1401512 - kdelibs3 FTBFS (openssl-1.1)
Summary: kdelibs3 FTBFS (openssl-1.1)
Alias: None
Product: Fedora
Classification: Fedora
Component: kdelibs3
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 1383740
TreeView+ depends on / blocked
Reported: 2016-12-05 13:30 UTC by Rex Dieter
Modified: 2017-02-21 08:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-02-21 08:56:28 UTC
Type: Bug

Attachments (Terms of Use)

Description Rex Dieter 2016-12-05 13:30:49 UTC
kdelibs3 FTBFS against openssl-1.1, build.log snippet,

ksmimecrypto.cc: In member function 'stack_st_X509* KSMIMECryptoPrivate::certsToX509(QPtrList<KSSLCertificate>&)':
ksmimecrypto.cc:42:23: error: 'class KOpenSSLProxy' has no member named 'sk_new'; did you mean 'SSL_new'?
 #define sk_new kossl->sk_new
ksmimecrypto.cc:90:62: note: in expansion of macro 'sk_new'
     STACK_OF(X509) *x509 = reinterpret_cast<STACK_OF(X509)*>(sk_new(NULL));
ksmimecrypto.cc: In member function 'void KSMIMECryptoPrivate::MemBIOToQByteArray(BIO*, QByteArray&)':
ksmimecrypto.cc:245:36: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
     reinterpret_cast<BUF_MEM *>(src->ptr)->data = NULL;

Comment 1 Rex Dieter 2016-12-05 13:31:33 UTC
that said, kdelibs3 being very much legacy code could *probably* use compat-openssl10

Comment 2 Hans de Goede 2017-02-21 08:56:28 UTC
This has been fixed for a while now by using compat-openssl10 as suggested, closing.

Note You need to log in before you can comment on or make changes to this bug.