Summary: | dev-perl/Crypt-OpenSSL-RSA fails to build with >=dev-libs/openssl-1.1.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://rt.cpan.org/Ticket/Display.html?id=117481 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=651170 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 592438 | ||
Attachments: | build.log |
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.) |
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