Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592532 - <dev-perl/Crypt-OpenSSL-Bignum-0.80.0-r1 fails to build with >=dev-libs/openssl-1.1.0
Summary: <dev-perl/Crypt-OpenSSL-Bignum-0.80.0-r1 fails to build with >=dev-libs/opens...
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: 657160
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2016-08-31 07:41 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2018-09-23 06:05 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,3.76 KB, text/plain)
2016-08-31 07:41 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
Crypt-OpenSSL-Bignum-0.80.0-openssl-1.1.patch (Crypt-OpenSSL-Bignum-0.80.0-openssl-1.1.patch,905 bytes, patch)
2017-10-17 06:26 UTC, Mark Wright
Details | Diff

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:41:38 UTC
Created attachment 444534 [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.06\" -DXS_VERSION=\"0.06\" -fPIC "-I/usr/lib64/perl5/5.24.0/x86_64-linux/CORE"  -DPERL5 -DOPENSSL_NO_KRB5 Bignum.c
Bignum.xs: In function ‘XS_Crypt__OpenSSL__Bignum_new’:
Bignum.xs:95:5: error: invalid use of void expression
     checkOpenSslCall( BN_zero( bn ) );
     ^
Bignum.xs: In function ‘XS_Crypt__OpenSSL__Bignum_zero’:
Bignum.xs:106:5: error: invalid use of void expression
     checkOpenSslCall( BN_zero( bn ) );
     ^
Bignum.xs: In function ‘boot_Crypt__OpenSSL__Bignum’:
Bignum.xs:32:5: warning: implicit declaration of function ‘ERR_load_crypto_strings’ [-Wimplicit-function-declaration]
     ERR_load_crypto_strings();
     ^
make: *** [Makefile:348: Bignum.o] Error 1
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-01-05 10:18:07 UTC
* I've added 0.70.0, but I dont see anything related in the changelog, so this likely still is an issue. 

* Strangely Debian doesnt patch the package. ???
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-03-12 23:13:45 UTC
RH doesnt patch the package either ("Rebuild against 1.1"), so something is odd here.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-04-05 15:20:22 UTC
They don't patch the package because they still ship deprecated features in their openssl-1.1 packages.
Our openssl-1.1 packages currently don't provide deprecated features.
Comment 4 Mark Wright gentoo-dev 2017-10-17 06:26:04 UTC
Created attachment 498938 [details, diff]
Crypt-OpenSSL-Bignum-0.80.0-openssl-1.1.patch

Patch by me, I can try to upstream it if you like, thanks.
Comment 5 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-10-17 06:34:09 UTC
(In reply to Mark Wright from comment #4)
> Created attachment 498938 [details, diff] [details, diff]
> Crypt-OpenSSL-Bignum-0.80.0-openssl-1.1.patch
> 
> Patch by me, I can try to upstream it if you like, thanks.

Patch should be applied upstream eventually anyway, so go ahead and submit it there if you want.

But I'll mainline it in gentoo in an -r1 when I get time.
Comment 6 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-10-19 01:34:13 UTC
Patch submitted upstream, going to land in gentoo ASAP. https://github.com/kmx/perl-Crypt-OpenSSL-Bignum/pull/7
Comment 7 Larry the Git Cow gentoo-dev 2017-10-19 01:47:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de872dbfadcb881f6dc7dd0b79760b5e11628fcd

commit de872dbfadcb881f6dc7dd0b79760b5e11628fcd
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-10-19 01:44:28 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-10-19 01:45:23 +0000

    dev-perl/Crypt-OpenSSL-Bignum: Fix for OpenSSL 1.1.0f
    
    Bug: https://bugs.gentoo.org/592532
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../Crypt-OpenSSL-Bignum-0.80.0-r1.ebuild          | 24 +++++++++++
 .../Crypt-OpenSSL-Bignum-0.80.0-openssl1.1.patch   | 49 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)}
Comment 8 Hanno Böck gentoo-dev 2017-12-24 14:37:58 UTC
Upstream 0.09 (which would probably be 0.90.0 in gentoo) contains the patch:
http://cpansearch.perl.org/src/KMX/Crypt-OpenSSL-Bignum-0.09/Changes
Comment 9 Larry the Git Cow gentoo-dev 2018-04-23 15:12:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=635d56fb9faa93e7d10edabbee1aa642270fb967

commit 635d56fb9faa93e7d10edabbee1aa642270fb967
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-04-13 19:36:44 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2018-04-23 15:12:37 +0000

    dev-perl/Crypt-OpenSSL-Bignum: 0.90.0 version bump
    
    Closes: https://bugs.gentoo.org/647532
    Bug: https://bugs.gentoo.org/592532
    Package-Manager: Portage-2.3.28, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/7974

 .../Crypt-OpenSSL-Bignum-0.90.0.ebuild             | 23 ++++++++++++++++++++++
 dev-perl/Crypt-OpenSSL-Bignum/Manifest             |  1 +
 2 files changed, 24 insertions(+)}
Comment 10 Hanno Böck gentoo-dev 2018-09-22 08:16:59 UTC
As this is fixed with 0.90.0, which is already stabilized, we can close, right?
Comment 11 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-09-23 05:52:23 UTC
Issue was kept open until affected versions are purged from tree. Looking into cleaning up old versions atm.
Comment 12 Larry the Git Cow gentoo-dev 2018-09-23 06:04:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=467e51993c34f0d1794baea5ecca4a298db3439d

commit 467e51993c34f0d1794baea5ecca4a298db3439d
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-09-23 06:03:06 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-09-23 06:04:08 +0000

    dev-perl/Crypt-OpenSSL-Bignum: Cleanup old versions 0.{4,7,8}0* re bug #592532
    
    Removing old versions broken with openssl1.1 installed.
    
    Closes: https://bugs.gentoo.org/592532
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 .../Crypt-OpenSSL-Bignum-0.40.0-r2.ebuild          | 22 ----------
 .../Crypt-OpenSSL-Bignum-0.70.0.ebuild             | 23 ----------
 .../Crypt-OpenSSL-Bignum-0.80.0-r1.ebuild          | 24 -----------
 .../Crypt-OpenSSL-Bignum-0.80.0.ebuild             | 23 ----------
 dev-perl/Crypt-OpenSSL-Bignum/Manifest             |  3 --
 .../Crypt-OpenSSL-Bignum-0.80.0-openssl1.1.patch   | 49 ----------------------
 6 files changed, 144 deletions(-)