>>> perl-net-ssleay 1.85 Extracting gzip -d -c /home/buildroot/autobuild/instance-0/dl/perl-net-ssleay/Net-SSLeay-1.85.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/perl-net-ssleay-1.85 -xf - >>> perl-net-ssleay 1.85 Patching Applying 0001-fix-build-system.patch using patch: patching file inc/Module/Install/PRIVATE/Net/SSLeay.pm Hunk #1 succeeded at 36 (offset -1 lines). >>> perl-net-ssleay 1.85 Configuring cd /home/buildroot/autobuild/instance-0/output-1/build/perl-net-ssleay-1.85/ && if [ -f Build.PL ] && [ MB != "EUMM" ] ; then OPENSSL_PREFIX=/home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr PERL_MM_USE_DEFAULT=1 PERL5LIB= PERL_USE_UNSAFE_INC=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/perl Build.PL --config ar="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips64-buildroot-linux-gnu-gcc-ar" --config full_ar="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips64-buildroot-linux-gnu-gcc-ar" --config cc="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips64-buildroot-linux-gnu-gcc" --config ccflags="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1" --config optimize=" " --config ld="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips64-buildroot-linux-gnu-gcc" --config lddlflags="-shared " --config ldflags="" --include_dirs /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE --destdir /home/buildroot/autobuild/instance-0/output-1/target --installdirs vendor --install_path lib=/usr/lib/perl5/site_perl/5.34.1 --install_path arch=/usr/lib/perl5/site_perl/5.34.1/mips64-linux --install_path bin=/usr/bin --install_path script=/usr/bin --install_path bindoc=/usr/share/man/man1 --install_path libdoc=/usr/share/man/man3 ; else OPENSSL_PREFIX=/home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps PERL5LIB= PERL_USE_UNSAFE_INC=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/perl Makefile.PL AR="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips64-buildroot-linux-gnu-gcc-ar" FULL_AR="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips64-buildroot-linux-gnu-gcc-ar" CC="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips64-buildroot-linux-gnu-gcc" CCFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1" OPTIMIZE=" " LD="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips64-buildroot-linux-gnu-gcc" LDDLFLAGS="-shared " LDFLAGS="" PERL_ARCHLIB=/home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux DESTDIR=/home/buildroot/autobuild/instance-0/output-1/target INSTALLDIRS=vendor INSTALLVENDORLIB=/usr/lib/perl5/site_perl/5.34.1 INSTALLVENDORARCH=/usr/lib/perl5/site_perl/5.34.1/mips64-linux INSTALLVENDORBIN=/usr/bin INSTALLVENDORSCRIPT=/usr/bin INSTALLVENDORMAN1DIR=/usr/share/man/man1 INSTALLVENDORMAN3DIR=/usr/share/man/man3 ; fi *** Be sure to use the same compiler and options to compile your OpenSSL, perl, and Net::SSLeay. Mixing and matching compilers is not supported. Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [n] n Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::SSLeay Writing MYMETA.yml and MYMETA.json /bin/sed -i -e "s/^LDDLFLAGS = '\(.*\)'/LDDLFLAGS = \1/" /home/buildroot/autobuild/instance-0/output-1/build/perl-net-ssleay-1.85/Makefile /bin/sed -i -e "s/^CCFLAGS = '\(.*\)'/CCFLAGS = \1/" /home/buildroot/autobuild/instance-0/output-1/build/perl-net-ssleay-1.85/Makefile /bin/sed -i -e "s/^OPTIMIZE = '\(.*\)'/OPTIMIZE = \1/" /home/buildroot/autobuild/instance-0/output-1/build/perl-net-ssleay-1.85/Makefile >>> perl-net-ssleay 1.85 Building cd /home/buildroot/autobuild/instance-0/output-1/build/perl-net-ssleay-1.85/ && if [ -f Build.PL ] && [ MB != "EUMM" ] ; then PERL5LIB= PERL_USE_UNSAFE_INC=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/perl Build build; else /usr/bin/make -j1 FIXIN=: pure_all; fi make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/perl-net-ssleay-1.85' cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters: directory blib/lib/auto/Net/SSLeay: do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod Running Mkbootstrap for SSLeay () chmod 644 "SSLeay.bs" "/home/buildroot/autobuild/instance-0/output-1/host/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs 644 "/home/buildroot/autobuild/instance-0/output-1/host/bin/perl" "-Iinc" "/home/buildroot/autobuild/instance-0/output-1/host/lib/perl5/5.34.1/ExtUtils/xsubpp" -typemap '/home/buildroot/autobuild/instance-0/output-1/host/lib/perl5/5.34.1/ExtUtils/typemap' -typemap '/home/buildroot/autobuild/instance-0/output-1/build/perl-net-ssleay-1.85/typemap' SSLeay.xs > SSLeay.xsc mv SSLeay.xsc SSLeay.c /home/buildroot/autobuild/instance-0/output-1/host/bin/mips64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DVERSION=\"1.85\" -DXS_VERSION=\"1.85\" -fPIC "-I/home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE" SSLeay.c In file included from /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE/perl.h:5689, from SSLeay.xs:141: SSLeay.xs: In function 'XS_Net__SSLeay_RSA_get_key_parameters': SSLeay.xs:5458:21: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'} 5458 | XPUSHs(bn2sv(rsa->n)); | ^~ /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE/pp.h:479:55: note: in definition of macro 'XPUSHs' 479 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END | ^ SSLeay.xs:5459:21: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'} 5459 | XPUSHs(bn2sv(rsa->e)); | ^~ /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE/pp.h:479:55: note: in definition of macro 'XPUSHs' 479 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END | ^ SSLeay.xs:5460:21: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'} 5460 | XPUSHs(bn2sv(rsa->d)); | ^~ /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE/pp.h:479:55: note: in definition of macro 'XPUSHs' 479 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END | ^ SSLeay.xs:5461:21: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'} 5461 | XPUSHs(bn2sv(rsa->p)); | ^~ /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE/pp.h:479:55: note: in definition of macro 'XPUSHs' 479 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END | ^ SSLeay.xs:5462:21: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'} 5462 | XPUSHs(bn2sv(rsa->q)); | ^~ /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE/pp.h:479:55: note: in definition of macro 'XPUSHs' 479 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END | ^ SSLeay.xs:5463:21: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'} 5463 | XPUSHs(bn2sv(rsa->dmp1)); | ^~ /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE/pp.h:479:55: note: in definition of macro 'XPUSHs' 479 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END | ^ SSLeay.xs:5464:21: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'} 5464 | XPUSHs(bn2sv(rsa->dmq1)); | ^~ /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE/pp.h:479:55: note: in definition of macro 'XPUSHs' 479 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END | ^ SSLeay.xs:5465:21: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'} 5465 | XPUSHs(bn2sv(rsa->iqmp)); | ^~ /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE/pp.h:479:55: note: in definition of macro 'XPUSHs' 479 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END | ^ In file included from /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE/perl.h:5748, from SSLeay.xs:141: SSLeay.xs: In function 'XS_Net__SSLeay_SESSION_get_master_key': SSLeay.xs:5569:37: error: invalid use of incomplete typedef 'SSL_SESSION' {aka 'struct ssl_session_st'} 5569 | sv_setpvn(ST(0), (const char*)s->master_key, s->master_key_length); | ^~ /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE/embed.h:683:49: note: in definition of macro 'sv_setpvn' 683 | #define sv_setpvn(a,b,c) Perl_sv_setpvn(aTHX_ a,b,c) | ^ SSLeay.xs:5569:52: error: invalid use of incomplete typedef 'SSL_SESSION' {aka 'struct ssl_session_st'} 5569 | sv_setpvn(ST(0), (const char*)s->master_key, s->master_key_length); | ^~ /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE/embed.h:683:51: note: in definition of macro 'sv_setpvn' 683 | #define sv_setpvn(a,b,c) Perl_sv_setpvn(aTHX_ a,b,c) | ^ SSLeay.xs: In function 'XS_Net__SSLeay_get_client_random': SSLeay.xs:5611:37: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} 5611 | sv_setpvn(ST(0), (const char*)s->s3->client_random, SSL3_RANDOM_SIZE); | ^~ /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE/embed.h:683:49: note: in definition of macro 'sv_setpvn' 683 | #define sv_setpvn(a,b,c) Perl_sv_setpvn(aTHX_ a,b,c) | ^ SSLeay.xs: In function 'XS_Net__SSLeay_get_server_random': SSLeay.xs:5638:37: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} 5638 | sv_setpvn(ST(0), (const char*)s->s3->server_random, SSL3_RANDOM_SIZE); | ^~ /home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.34.1/mips64-linux/CORE/embed.h:683:49: note: in definition of macro 'sv_setpvn' 683 | #define sv_setpvn(a,b,c) Perl_sv_setpvn(aTHX_ a,b,c) | ^ SSLeay.xs: In function 'XS_Net__SSLeay_get_keyblock_size': SSLeay.xs:5671:4: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} 5671 | s->enc_read_ctx == NULL || | ^~ SSLeay.xs:5672:4: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} 5672 | s->enc_read_ctx->cipher == NULL || | ^~ SSLeay.xs:5673:4: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} 5673 | s->read_hash == NULL) | ^~ SSLeay.xs:5682:7: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} 5682 | c = s->enc_read_ctx->cipher; | ^~ SSLeay.xs:5684:7: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} 5684 | if (s->s3) | ^~ SSLeay.xs:5685:17: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} 5685 | md_size = s->s3->tmp.new_mac_secret_size; | ^~ SSLeay.xs: In function 'XS_Net__SSLeay_P_X509_get_signature_alg': SSLeay.xs:6294:20: error: invalid use of incomplete typedef 'X509' {aka 'struct x509_st'} 6294 | RETVAL = (x->cert_info->signature->algorithm); | ^~ SSLeay.xs: In function 'XS_Net__SSLeay_OCSP_response_results': SSLeay.xs:6783:36: error: invalid use of incomplete typedef 'OCSP_SINGLERESP' {aka 'struct ocsp_single_response_st'} 6783 | int len = i2d_OCSP_CERTID(sir->certId,NULL); | ^~ SSLeay.xs:6792:26: error: invalid use of incomplete typedef 'OCSP_SINGLERESP' {aka 'struct ocsp_single_response_st'} 6792 | i2d_OCSP_CERTID(sir->certId,&pi); | ^~ Makefile:353: recipe for target 'SSLeay.o' failed make[1]: *** [SSLeay.o] Error 1 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/perl-net-ssleay-1.85' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/perl-net-ssleay-1.85/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/perl-net-ssleay-1.85/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'