Description of problem: Package m2crypto fails to build from source in Fedora Rawhide. SWIG/_m2crypto_wrap.c:4052:35: error: 'CRYPTO_NUM_LOCKS' undeclared here (not in a function) ... SWIG/_m2crypto_wrap.c:4897:12: error: storage size of 'rnd' isn't known ... SWIG/_m2crypto_wrap.c:5221:34: error: dereferencing pointer to incomplete type 'EVP_MD_CTX {aka struct evp_md_ctx_st}' ... SWIG/_m2crypto_wrap.c:5244:49: error: invalid application of 'sizeof' to incomplete type 'HMAC_CTX {aka struct hmac_ctx_st}' ... SWIG/_m2crypto_wrap.c:5614:35: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}' ,,, SWIG/_m2crypto_wrap.c:32495:112: error: 'SSL_ST_INIT' undeclared (first use in this function) This is caused by upgrading openssl from 1:1.0.2j-1.fc26 to 1:1.1.0b-1.fc26. Additional info: This package is tracked by Koschei. See: http://apps.fedoraproject.org/koschei/package/m2crypto
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'.
It happens to me, is there any workaround for this issue?
(In reply to anish from comment #2) > It happens to me, is there any workaround for this issue? I’m afraid not, see https://bugzilla.redhat.com/show_bug.cgi?id=1439366 .
Any news here ? We still don't have an m2crypto package in f26 or f27 that has been compiled with the current openssl
Not really I’m afraid.
M2Crypto 0.26.2 was released today which adds port to OpenSSL 1.1.0 (while still maintaining compatibility all the way down to RHEL-6). Available at normal places (https://pypi.python.org/pypi/M2Crypto/).
m2crypto-0.26.2-1.fc28 built in rawhide. Thanks, Matěj!