Bug 1383650 - perl-Crypt-OpenSSL-RSA-0.28-15.fc26 FTBFS: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}'
Summary: perl-Crypt-OpenSSL-RSA-0.28-15.fc26 FTBFS: dereferencing pointer to incomplet...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Crypt-OpenSSL-RSA
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://apps.fedoraproject.org/kosche...
Whiteboard:
Depends On:
Blocks: 1383740 1383760
TreeView+ depends on / blocked
 
Reported: 2016-10-11 11:17 UTC by Petr Pisar
Modified: 2016-10-27 08:30 UTC (History)
2 users (show)

Fixed In Version: perl-Crypt-OpenSSL-RSA-0.28-16.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-27 08:30:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 117481 0 None None None 2016-10-12 09:24:41 UTC

Description Petr Pisar 2016-10-11 11:17:56 UTC
perl-Crypt-OpenSSL-RSA-0.28-15.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 -m64 -mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" -fPIC "-I/usr/lib64/perl5/CORE"  -DPERL5 -DOPENSSL_NO_KRB5 RSA.c
RSA.xs: In function '_is_private':
RSA.xs:52:22: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}'
     return(p_rsa->rsa->d != NULL);
                      ^~
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-13 16:44:55 UTC
I developed a fix and posted it to the upstream bug report.

Comment 2 Petr Pisar 2016-10-27 08:18:00 UTC
No reply from upstream in two weeks. I will apply it into Fedora.


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