Subject: | Compiliation fails with OpenSSL 1.1 |
OpenSSL 1.1 is breaking all the things without warning and its a $adjectives{big}[int(rand*1000)] map { $expletives[int(rand*1000)] } 1, 2
Attached is the build log from gentoo building it showing the compile failure ( cf: https://bugs.gentoo.org/show_bug.cgi?id=592532 )
Subject: | build.log |
* Package: dev-perl/Crypt-OpenSSL-Bignum-0.60.0
* Repository: gentoo
* Maintainer: perl@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
* FEATURES: preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking Crypt-OpenSSL-Bignum-0.06.tar.gz to /var/tmp/portage/dev-perl/Crypt-OpenSSL-Bignum-0.60.0/work
>>> Source unpacked in /var/tmp/portage/dev-perl/Crypt-OpenSSL-Bignum-0.60.0/work
>>> Preparing source in /var/tmp/portage/dev-perl/Crypt-OpenSSL-Bignum-0.60.0/work/Crypt-OpenSSL-Bignum-0.06 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/Crypt-OpenSSL-Bignum-0.60.0/work/Crypt-OpenSSL-Bignum-0.06 ...
* Using ExtUtils::MakeMaker
* perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Crypt-OpenSSL-Bignum-0.60.0/image/
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Crypt::OpenSSL::Bignum
Writing MYMETA.yml and MYMETA.json
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-perl/Crypt-OpenSSL-Bignum-0.60.0/work/Crypt-OpenSSL-Bignum-0.06 ...
* emake OTHERLDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed
make -j1 'OTHERLDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed'
cp Bignum/CTX.pm blib/lib/Crypt/OpenSSL/Bignum/CTX.pm
cp Bignum.pm blib/lib/Crypt/OpenSSL/Bignum.pm
Running Mkbootstrap for Crypt::OpenSSL::Bignum ()
chmod 644 "Bignum.bs"
"/usr/bin/perl" "/usr/lib64/perl5/5.24.0/ExtUtils/xsubpp" -typemap "/usr/lib64/perl5/5.24.0/ExtUtils/typemap" -typemap "typemap" Bignum.xs > Bignum.xsc && mv Bignum.xsc Bignum.c
Please specify prototyping behavior for Bignum.xs (see perlxs manual)
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
* ERROR: dev-perl/Crypt-OpenSSL-Bignum-0.60.0::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-perl/Crypt-OpenSSL-Bignum-0.60.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-perl/Crypt-OpenSSL-Bignum-0.60.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-perl/Crypt-OpenSSL-Bignum-0.60.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-perl/Crypt-OpenSSL-Bignum-0.60.0/temp/environment'.
* Working directory: '/var/tmp/portage/dev-perl/Crypt-OpenSSL-Bignum-0.60.0/work/Crypt-OpenSSL-Bignum-0.06'
* S: '/var/tmp/portage/dev-perl/Crypt-OpenSSL-Bignum-0.60.0/work/Crypt-OpenSSL-Bignum-0.06'