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 1397123

Summary: cyrus-imapd-2.4.18-3.fc26 FTBFS: dereferencing pointer to incomplete type 'X509_STORE_CTX {aka struct x509_store_ctx_st}'
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: cyrus-imapdAssignee: Jason Tibbitts <j>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: j, mhlavink, pokorra.mailinglists, psimerda, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/package/cyrus-imapd
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-24 01:29:01 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 Petr Pisar 2016-11-21 16:46:35 UTC
cyrus-imapd-2.4.18-3.fc26 fails to build in F26:

gcc -c -I.. -I/usr/include/libdb  -I/usr/include/et -I/usr/include/kerberosIV -fno-strict-aliasing -I/usr/include   -DHAVE_CONFIG_H  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -fPIC \
imclient.c
imclient.c: In function 'verify_callback':
imclient.c:1618:16: error: dereferencing pointer to incomplete type 'X509_STORE_CTX {aka struct x509_store_ctx_st}'
     switch (ctx->error) {
                ^~

This very probably caused by upgrading openssl from 1.0.2j to 1.1.0b

Comment 1 Jason Tibbitts 2016-11-22 20:44:38 UTC
Yep, this is pretty much expected.

The best thing is probably to just move to the latest 2.5 release.  I'm just going to start working on it; it might be in an odd state for a bit but it doesn't build now so it can't be much worse.

Comment 2 Jason Tibbitts 2016-11-24 01:29:01 UTC
I have pushed a very preliminary update to cyrus-imapd 2.5.10 in rawhide.  It should now build, but I still have plenty of work to do because the spec is extremely crufty so I did not actually do a build.

For now I think this issue can be closed.  What's checked in undoubtedly has a few issues remaining but at least there's no build failure due to openssl 1.1.