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 1383760

Summary: perl-Crypt-OpenSSL-PKCS10-0.15-3.fc26 FTBFS: dereferencing pointer to incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Crypt-OpenSSL-PKCS10Assignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: perl-devel, wjhns174
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/build/2264989
Whiteboard:
Fixed In Version: perl-Crypt-OpenSSL-PKCS10-0.16-1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-18 08:26: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: 1383650    
Bug Blocks: 1383740    

Description Petr Pisar 2016-10-11 17:07:39 UTC
perl-Crypt-OpenSSL-PKCS10-0.15-3.fc26 fails to build in F26:

gcc -c   -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"0.15\" -DXS_VERSION=\"0.15\" -fPIC "-I/usr/lib/perl5/CORE"  -DPERL5 -Wall PKCS10.c
[...]
PKCS10.xs:439:10: error: dereferencing pointer to incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
  if (pkey->type == EVP_PKEY_RSA) {
          ^~

This is caused by upgrading openssl from 1:1.0.2j-1.fc26 to 1:1.1.0b-1.fc26.

Comment 1 Petr Pisar 2016-10-14 12:55:35 UTC
I developed a fix and posted it to the upstream bug report.

Comment 2 Petr Pisar 2016-10-18 08:13:19 UTC
The fix was accepted and released in 0.16 version.