Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1384010 - m2crypto-0.25.1-1.fc25: FTBFS with OpenSSL 1.1.0
Summary: m2crypto-0.25.1-1.fc25: FTBFS with OpenSSL 1.1.0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: m2crypto
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact: Fedora Extras Quality Assurance
URL: http://apps.fedoraproject.org/koschei...
Whiteboard:
Depends On:
Blocks: 1383740 1488196
TreeView+ depends on / blocked
 
Reported: 2016-10-12 11:05 UTC by Jitka Plesnikova
Modified: 2018-04-11 07:33 UTC (History)
6 users (show)

Fixed In Version: m2crypto-0.26.2-1.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-21 23:17:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jitka Plesnikova 2016-10-12 11:05:54 UTC
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

Comment 1 Fedora End Of Life 2017-02-28 10:26:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 2 anish 2017-05-17 07:57:01 UTC
It happens to me, is there any workaround for this issue?

Comment 3 Miloslav Trmač 2017-05-17 13:51:10 UTC
(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 .

Comment 4 Karsten Hopp 2017-09-08 12:31:06 UTC
Any news here ? We still don't have an m2crypto package in f26 or f27 that has been compiled with the current openssl

Comment 5 Miloslav Trmač 2017-09-08 22:25:56 UTC
Not really I’m afraid.

Comment 7 Matěj Cepl 2017-09-20 21:13:19 UTC
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/).

Comment 8 Miloslav Trmač 2017-09-21 23:17:12 UTC
m2crypto-0.26.2-1.fc28 built in rawhide. Thanks, Matěj!


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