Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592534 - dev-perl/Crypt-OpenSSL-RSA fails to build with >=dev-libs/openssl-1.1.0
Summary: dev-perl/Crypt-OpenSSL-RSA fails to build with >=dev-libs/openssl-1.1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL: https://rt.cpan.org/Ticket/Display.ht...
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2016-08-31 07:47 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2018-03-22 21:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,4.58 KB, text/plain)
2016-08-31 07:47 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-08-31 07:47:13 UTC
Created attachment 444538 [details]
build.log

x86_64-pc-linux-gnu-gcc -c   -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=native -mtune=native -O2 -pipe   -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" -fPIC "-I/usr/lib64/perl5/5.24.0/x86_64-linux/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);
                      ^
RSA.xs: In function ‘XS_Crypt__OpenSSL__RSA_generate_key’:
RSA.xs:301:26: warning: implicit declaration of function ‘RSA_generate_key’ [-Wimplicit-function-declaration]
     CHECK_OPEN_SSL(rsa = RSA_generate_key(SvIV(bitsSV), exponent, NULL, NULL));
                          ^
RSA.xs:41:40: note: in definition of macro ‘CHECK_OPEN_SSL’
 #define CHECK_OPEN_SSL(p_result) if (!(p_result)) croakSsl(__FILE__, __LINE__);
                                        ^
RSA.xs:301:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     CHECK_OPEN_SSL(rsa = RSA_generate_key(SvIV(bitsSV), exponent, NULL, NULL));
                        ^
RSA.xs:41:40: note: in definition of macro ‘CHECK_OPEN_SSL’
 #define CHECK_OPEN_SSL(p_result) if (!(p_result)) croakSsl(__FILE__, __LINE__);
                                        ^
RSA.xs: In function ‘boot_Crypt__OpenSSL__RSA’:
RSA.xs:214:5: warning: implicit declaration of function ‘ERR_load_crypto_strings’ [-Wimplicit-function-declaration]
     ERR_load_crypto_strings();
     ^
make: *** [Makefile:349: RSA.o] Error 1
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-01-05 10:07:41 UTC
commit 85bae87afb4adf4db551c14949984e2ced1febe3
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Thu Jan 5 11:06:09 2017 +0100

    dev-perl/Crypt-OpenSSL-RSA: Add OpenSSL-1.1 compatibility patch from Debian, bug 592534
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1



(Actual upstream is totally nonresponsive.)