Bug 1383759

Summary: perl-Crypt-OpenSSL-X509-1.807-1.fc26 FTBFS: unknown type name 'NETSCAPE_X509'
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Crypt-OpenSSL-X509Assignee: 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://github.com/dsully/perl-crypt-openssl-x509/issues/53
Whiteboard:
Fixed In Version: perl-Crypt-OpenSSL-X509-1.807-2.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-27 10:46:54 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:
Bug Depends On:    
Bug Blocks: 1383740    

Description Petr Pisar 2016-10-11 17:03:57 UTC
perl-Crypt-OpenSSL-X509-1.807-1.fc26 fails to build in F26:

gcc -c  -I/usr/include/openssl -I/usr/local/include/ssl -I/usr/local/ssl/include -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=\"1.807\" -DXS_VERSION=\"1.807\" -fPIC "-I/usr/lib/perl5/CORE"   X509.c
X509.xs: In function '_decode_netscape':
X509.xs:217:5: error: unknown type name 'NETSCAPE_X509'
     NETSCAPE_X509 nx;
     ^~~~~~~~~~~~~

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-27 10:29:25 UTC
Upstream prepared fix that's almost perfect. I sent him the missing piece. I will apply it to Fedora.