Created attachment 536996 [details] build.log Same story as everywhere else. wocky-openssl-dh512.c: In function ‘get_dh512’: wocky-openssl-dh512.c:25:4: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’ dh->p=BN_bin2bn(dh512_p,sizeof(dh512_p),NULL); ^~ make[8]: *** [Makefile:780: wocky-openssl-dh512.lo] Error 1 make[8]: *** Waiting for unfinished jobs.... wocky-openssl.c: In function ‘check_peer_name’: wocky-openssl.c:888:23: error: dereferencing pointer to incomplete type ‘X509 {aka struct x509_st}’ X509_CINF *ci = cert->cert_info; ^~ wocky-openssl.c:909:19: error: dereferencing pointer to incomplete type ‘X509_CINF {aka struct x509_cinf_st}’ if (!rval && (ci->extensions != NULL)) ^~ wocky-openssl.c:918:22: error: dereferencing pointer to incomplete type ‘X509_EXTENSION {aka struct X509_extension_st}’ int len = ext->value->length; ^~ wocky-openssl.c: In function ‘_cert_status’: wocky-openssl.c:1122:33: error: dereferencing pointer to incomplete type ‘X509_STORE {aka struct x509_store_st}’ long old_flags = store->param->flags; ^~
I couldn't find any patch for this... but I see that other distributions are simply forcing gnutls usage to overcome this... that could be an option I guess
Created attachment 537020 [details, diff] drop-openssl-dep.patch Something like this?
Ah... I added the NeedPatch for the case someone was able to find a patch to port it to openssl-1.1... if not, we can simply move it to gnutls in the future
Created attachment 553076 [details, diff] build with openssl >= 1.1.0
With patch attached it builds with openssl 1.1.1
Created attachment 553080 [details, diff] patch to build with openssl 1.1.1, better libressl support libressl should now keep working. Apologies for the spam
(In reply to Roel Aaij from comment #6) > Created attachment 553080 [details, diff] [details, diff] > patch to build with openssl 1.1.1, better libressl support > > libressl should now keep working. Apologies for the spam Is this patch what you submitted at https://github.com/TelepathyIM/wocky/pull/1 ?
Created attachment 554010 [details, diff] patch to build with openssl 1.1.1, better libressl support Yes, this is what I submitted to the upstream wocky repository. Previous patch had a left-over issue, fixed in this version.
The Wocky PR was just merged. Keywords+=PATCH here?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef1871cc2442b12c4b41ad04ff1635786e24e724 commit ef1871cc2442b12c4b41ad04ff1635786e24e724 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-12-02 20:34:20 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-12-02 20:40:50 +0000 net-voip/telepathy-gabble: Fix build with openssl-1.1 Closes: https://bugs.gentoo.org/658902 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../telepathy-gabble-0.18.4-openssl-1.1.patch | 223 +++++++++++++++++++++ .../telepathy-gabble-0.18.4-r1.ebuild | 91 +++++++++ 2 files changed, 314 insertions(+)