Opened 5 years ago

Last modified 5 years ago

#58970 closed defect

kdelibs4 @4.14.3_14: build failure against openssl 1.1.1 — at Version 3

Reported by: photor Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: kdelibs4

Description (last modified by kencu (Ken))

Failed to build kdelibs4 when doing "sudo port upgrade outdated" on mac os x 10.10. Tried "sudo port clean --all installed" and then upgraded again, but no help.

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kio/kssl/ksslcertificate.cpp:404:27: error: too many arguments to function call, expected 1, have 3; did you mean '::CRYPTO_free'?
:info:build                 d->kossl->OPENSSL_free(x);
:info:build                           ^~~~~~~~~~~~~~~
:info:build /opt/local/include/openssl/crypto.h:128:9: note: expanded from macro 'OPENSSL_free'
:info:build         CRYPTO_free(addr, OPENSSL_FILE, OPENSSL_LINE)
:info:build         ^~~~~~~~~~~
:info:build /opt/local/include/openssl/crypto.h:271:6: note: '::CRYPTO_free' declared here
:info:build void CRYPTO_free(void *ptr, const char *file, int line);
:info:build      ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kio/kssl/ksslcertificate.cpp:406:45: error: member access into incomplete type 'EVP_PKEY' (aka 'evp_pkey_st')
:info:build                 x = d->kossl->BN_bn2hex(pkey->pkey.dsa->g);
:info:build                                             ^
:info:build /opt/local/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'evp_pkey_st'
:info:build typedef struct evp_pkey_st EVP_PKEY;
:info:build                ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kio/kssl/ksslcertificate.cpp:418:27: error: too many arguments to function call, expected 1, have 3; did you mean '::CRYPTO_free'?
:info:build                 d->kossl->OPENSSL_free(x);
:info:build                           ^~~~~~~~~~~~~~~
:info:build /opt/local/include/openssl/crypto.h:128:9: note: expanded from macro 'OPENSSL_free'
:info:build         CRYPTO_free(addr, OPENSSL_FILE, OPENSSL_LINE)
:info:build         ^~~~~~~~~~~
:info:build /opt/local/include/openssl/crypto.h:271:6: note: '::CRYPTO_free' declared here
:info:build void CRYPTO_free(void *ptr, const char *file, int line);
:info:build      ^

Change History (4)

Changed 5 years ago by photor

Attachment: main.log.zip added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/main.log

comment:1 Changed 5 years ago by kencu (Ken)

Yep, it is blowing up when trying to build against openssl 1.1.1.

This one could be harder to fix, I'm afraid.

comment:2 Changed 5 years ago by kencu (Ken)

Owner: set to NicosPavlov
Port: kdelibs4 added
Status: newassigned

comment:3 Changed 5 years ago by kencu (Ken)

Description: modified (diff)
Summary: Failed to build kdelibs4 on mac os x 10.10kdelibs4 @4.14.3_14: build failure against openssl 1.1.1
Note: See TracTickets for help on using tickets.