Bug 1401512

Summary: kdelibs3 FTBFS (openssl-1.1)
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: kdelibs3Assignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: hdegoede, kevin, rdieter, smparrish, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-21 08:56:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1383740    

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.