Cook: perl-net-ssleay 1.85 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libgdbm-1.18.1-i486 Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Installing (pkg/local): perl-dev-5.28.1-i486 Installing (pkg/local): openssl-dev-1.1.1d-i486 Extracting source archive "Net-SSLeay-1.85.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed *** Found OpenSSL-1.1.1d installed in /usr *** That's newer than what this module was tested with You should consider checking if there is a newer release of this module available. Everything will probably work OK, though. *** 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 Running Mkbootstrap for SSLeay () "/usr/bin/perl" "-Iinc" "/usr/lib/perl5/5.28.1/ExtUtils/xsubpp" -typemap '/usr/lib/perl5/5.28.1/ExtUtils/typemap' -typemap '/home/slitaz/wok/perl-net-ssleay/source/perl-net-ssleay-1.85/typemap' SSLeay.xs > SSLeay.xsc chmod 644 "SSLeay.bs" "/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs 644 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 mv SSLeay.xsc SSLeay.c cc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.85\" -DXS_VERSION=\"1.85\" -fPIC "-I/usr/lib/perl5/5.28.1/i486-linux-thread-multi/CORE" SSLeay.c SSLeay.xs: In function 'XS_Net__SSLeay_CTX_tlsv1_new': SSLeay.xs:1808:6: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations] RETVAL = SSL_CTX_new (TLSv1_method()); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1877:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function 'XS_Net__SSLeay_CTX_tlsv1_1_new': SSLeay.xs:1817:6: warning: 'TLSv1_1_method' is deprecated [-Wdeprecated-declarations] RETVAL = SSL_CTX_new (TLSv1_1_method()); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1883:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */ ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function 'XS_Net__SSLeay_CTX_tlsv1_2_new': SSLeay.xs:1828:6: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations] RETVAL = SSL_CTX_new (TLSv1_2_method()); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1889:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */ ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function 'XS_Net__SSLeay_RAND_pseudo_bytes': SSLeay.xs:2707:9: warning: 'RAND_pseudo_bytes' is deprecated [-Wdeprecated-declarations] rc = RAND_pseudo_bytes(random, num); ^~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/rand.h:44:1: note: declared here DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function 'XS_Net__SSLeay_X509_CRL_get_lastUpdate': SSLeay.c:6248:2: warning: 'X509_CRL_get_lastUpdate' is deprecated [-Wdeprecated-declarations] RETVAL = X509_CRL_get_lastUpdate(x); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/x509.h:727:1: note: declared here DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function 'XS_Net__SSLeay_X509_CRL_get_nextUpdate': SSLeay.c:6267:2: warning: 'X509_CRL_get_nextUpdate' is deprecated [-Wdeprecated-declarations] RETVAL = X509_CRL_get_nextUpdate(x); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/x509.h:728:1: note: declared here DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl)) ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function 'XS_Net__SSLeay_X509_get_subjectAltNames': SSLeay.xs:3410:26: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] PUSHs(sv_2mortal(newSVpv((const char*)ASN1_STRING_data(subjAltNameDN->d.otherName->value->value.utf8string), ASN1_STRING_length(subjAltNameDN->d.otherName->value->value.utf8string)))); ^~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^~~~~~~~~~~~~~~~~~ SSLeay.xs:3419:26: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] PUSHs(sv_2mortal(newSVpv((const char*)ASN1_STRING_data(subjAltNameDN->d.ia5), ASN1_STRING_length(subjAltNameDN->d.ia5)))); ^~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function 'XS_Net__SSLeay_P_X509_get_crl_distribution_points': SSLeay.xs:3470:25: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] XPUSHs(sv_2mortal(newSVpv((char*)ASN1_STRING_data(gn->d.ia5),ASN1_STRING_length(gn->d.ia5)))); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function 'XS_Net__SSLeay_P_X509_get_ocsp_uri': SSLeay.xs:3511:3: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] XPUSHs(sv_2mortal(newSVpv( ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function 'XS_Net__SSLeay_P_ASN1_STRING_get': SSLeay.xs:3829:9: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] u8 = newSVpv((const char*)ASN1_STRING_data(s), ASN1_STRING_length(s)); ^~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function 'XS_Net__SSLeay_TLSv1_method': SSLeay.c:9279:2: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1877:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function 'XS_Net__SSLeay_TLSv1_server_method': SSLeay.c:9296:2: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_server_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1878:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function 'XS_Net__SSLeay_TLSv1_client_method': SSLeay.c:9313:2: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_client_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1879:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function 'XS_Net__SSLeay_TLSv1_1_method': SSLeay.c:9333:2: warning: 'TLSv1_1_method' is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_1_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1883:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */ ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function 'XS_Net__SSLeay_TLSv1_1_server_method': SSLeay.c:9350:2: warning: 'TLSv1_1_server_method' is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_1_server_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1884:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_server_method(void)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function 'XS_Net__SSLeay_TLSv1_1_client_method': SSLeay.c:9367:2: warning: 'TLSv1_1_client_method' is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_1_client_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1885:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function 'XS_Net__SSLeay_TLSv1_2_method': SSLeay.c:9388:2: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_2_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1889:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */ ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function 'XS_Net__SSLeay_TLSv1_2_server_method': SSLeay.c:9405:2: warning: 'TLSv1_2_server_method' is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_2_server_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1890:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function 'XS_Net__SSLeay_TLSv1_2_client_method': SSLeay.c:9422:2: warning: 'TLSv1_2_client_method' is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_2_client_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1891:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function 'XS_Net__SSLeay_RSA_generate_key': SSLeay.xs:5443:9: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] RETVAL = RSA_generate_key(bits, e, ssleay_RSA_generate_key_cb_invoke, cb); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/rsa.h:234:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function 'XS_Net__SSLeay_OCSP_response_results': SSLeay.xs:6781:33: warning: passing argument 1 of 'i2d_OCSP_CERTID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] int len = i2d_OCSP_CERTID(OCSP_SINGLERESP_get0_id(sir),NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/objects.h:15, from /usr/include/openssl/evp.h:28, from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from SSLeay.xs:167: /usr/include/openssl/ocsp.h:330:1: note: expected 'OCSP_CERTID *' {aka 'struct ocsp_cert_id_st *'} but argument is of type 'const OCSP_CERTID *' {aka 'const struct ocsp_cert_id_st *'} DECLARE_ASN1_FUNCTIONS(OCSP_CERTID) ^ SSLeay.xs:6790:23: warning: passing argument 1 of 'i2d_OCSP_CERTID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] i2d_OCSP_CERTID(OCSP_SINGLERESP_get0_id(sir),&pi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/objects.h:15, from /usr/include/openssl/evp.h:28, from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from SSLeay.xs:167: /usr/include/openssl/ocsp.h:330:1: note: expected 'OCSP_CERTID *' {aka 'struct ocsp_cert_id_st *'} but argument is of type 'const OCSP_CERTID *' {aka 'const struct ocsp_cert_id_st *'} DECLARE_ASN1_FUNCTIONS(OCSP_CERTID) ^ rm -f blib/arch/auto/Net/SSLeay/SSLeay.so LD_RUN_PATH="/usr/lib:/lib" cc -shared -O2 -fstack-protector-strong SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ -L/usr -L/usr/lib -lssl -lcrypto -lz \ /usr/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status make: *** [Makefile:497: blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 Build dependencies to remove: 5 Removing: libgdbm openssl-dev perl perl-core perl-dev Debug information ret1. ================================================================================ Cook date: 2020-09-13 00:07 Wasted time : 33s 291:collect2: error: ld returned 1 exit status ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================