=> Bootstrap dependency digest>=20010302: found digest-20160304 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for p5-OpenSSL-0.09nb13 --- blib/lib/.exists --- --- blib/arch/.exists --- --- blib/lib/auto/OpenSSL/.exists --- --- blib/arch/auto/OpenSSL/.exists --- --- blib/bin/.exists --- --- blib/script/.exists --- --- blib/man1/.exists --- --- blib/man3/.exists --- --- config --- --- subdirs --- --- dynamic --- --- OpenSSL.c --- --- OpenSSL.bs --- --- pm_to_blib --- --- OpenSSL.bs --- Running Mkbootstrap for OpenSSL () --- OpenSSL.c --- "/usr/pkg/bin/perl" "/usr/pkg/lib/perl5/5.28.0/ExtUtils/xsubpp" -typemap '/usr/pkg/lib/perl5/5.28.0/ExtUtils/typemap' -typemap '/data/scratch/security/p5-OpenSSL/work/OpenSSL-0.09/typemap' OpenSSL.xs > OpenSSL.xsc --- OpenSSL.bs --- chmod 644 "OpenSSL.bs" --- blib/arch/auto/OpenSSL/OpenSSL.bs --- --- blibdirs --- --- blib/arch/auto/OpenSSL/OpenSSL.bs --- "/usr/pkg/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- OpenSSL.bs blib/arch/auto/OpenSSL/OpenSSL.bs 644 --- config --- --- pm_to_blib --- cp OpenSSL/HMAC.pm blib/lib/OpenSSL/HMAC.pm cp OpenSSL/Name.pm blib/lib/OpenSSL/Name.pm cp OpenSSL/Cipher.pm blib/lib/OpenSSL/Cipher.pm cp OpenSSL/PKCS7.pm blib/lib/OpenSSL/PKCS7.pm cp OpenSSL/X509.pm blib/lib/OpenSSL/X509.pm cp OpenSSL/PKCS12.pm blib/lib/OpenSSL/PKCS12.pm cp OpenSSL/Digest.pm blib/lib/OpenSSL/Digest.pm cp OpenSSL/BN.pm blib/lib/OpenSSL/BN.pm AutoSplitting blib/lib/OpenSSL/BN.pm (blib/lib/auto/OpenSSL/BN) cp OpenSSL/Rand.pm blib/lib/OpenSSL/Rand.pm cp OpenSSL/RSA.pm blib/lib/OpenSSL/RSA.pm cp OpenSSL.pm blib/lib/OpenSSL.pm cp OpenSSL/CRL.pm blib/lib/OpenSSL/CRL.pm --- OpenSSL.c --- mv OpenSSL.xsc OpenSSL.c --- OpenSSL.o --- clang -c -I. -O2 -pthread -I/usr/include -fno-strict-aliasing -pipe -D_FORTIFY_SOURCE=2 -O2 -I/usr/include -I/usr/include -DVERSION=\"0.09\" -DXS_VERSION=\"0.09\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.28.0/x86_64-netbsd-thread-multi/CORE" OpenSSL.c OpenSSL.xs:199:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *o = out; ^ ~~~ OpenSSL.xs:225:10: warning: returning 'char *' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return o; ^ OpenSSL.xs:235:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sv = newSVpv(digcvt(ret, s,len), len <<1); ^ /data/scratch/security/p5-OpenSSL/work/.buildlink/lib/perl5/5.28.0/x86_64-netbsd-thread-multi/CORE/embed.h:536:42: note: expanded from macro 'newSVpv' #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b) ^ OpenSSL.xs:174:51: note: passing argument to parameter 'from' here static const char * digcvt(char *ret, const char *from, int len) ^ OpenSSL.xs:248:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] sv = newSVpv(mutt_to_base64(ret, s,len, enc_cnt+1), enc_cnt); ^~~ /data/scratch/security/p5-OpenSSL/work/.buildlink/lib/perl5/5.28.0/x86_64-netbsd-thread-multi/CORE/embed.h:536:42: note: expanded from macro 'newSVpv' #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b) ^ OpenSSL.xs:196:54: note: passing argument to parameter 'out' here static unsigned char *mutt_to_base64 (unsigned char *out, const unsigned char *in, size_t len, ^ OpenSSL.xs:248:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sv = newSVpv(mutt_to_base64(ret, s,len, enc_cnt+1), enc_cnt); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/security/p5-OpenSSL/work/.buildlink/lib/perl5/5.28.0/x86_64-netbsd-thread-multi/CORE/embed.h:536:42: note: expanded from macro 'newSVpv' #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b) ^ /data/scratch/security/p5-OpenSSL/work/.buildlink/lib/perl5/5.28.0/x86_64-netbsd-thread-multi/CORE/proto.h:2468:56: note: passing argument to parameter 's' here PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len) ^ OpenSSL.xs:268:19: warning: implicit declaration of function 'EVP_md2' is invalid in C99 [-Wimplicit-function-declaration] _mds[0] = EVP_md2(); ^ OpenSSL.xs:268:17: warning: incompatible integer to pointer conversion assigning to 'EVP_MD *' (aka 'struct evp_md_st *') from 'int' [-Wint-conversion] _mds[0] = EVP_md2(); ^ ~~~~~~~~~ OpenSSL.xs:269:17: warning: assigning to 'EVP_MD *' (aka 'struct evp_md_st *') from 'const EVP_MD *' (aka 'const struct evp_md_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] _mds[1] = EVP_md4(); ^ ~~~~~~~~~ OpenSSL.xs:270:17: warning: assigning to 'EVP_MD *' (aka 'struct evp_md_st *') from 'const EVP_MD *' (aka 'const struct evp_md_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] _mds[2] = EVP_md5(); ^ ~~~~~~~~~ OpenSSL.xs:271:19: warning: implicit declaration of function 'EVP_sha' is invalid in C99 [-Wimplicit-function-declaration] _mds[3] = EVP_sha(); ^ OpenSSL.xs:271:17: warning: incompatible integer to pointer conversion assigning to 'EVP_MD *' (aka 'struct evp_md_st *') from 'int' [-Wint-conversion] _mds[3] = EVP_sha(); ^ ~~~~~~~~~ OpenSSL.xs:272:17: warning: assigning to 'EVP_MD *' (aka 'struct evp_md_st *') from 'const EVP_MD *' (aka 'const struct evp_md_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] _mds[4] = EVP_sha1(); ^ ~~~~~~~~~~ OpenSSL.xs:273:19: warning: implicit declaration of function 'EVP_dss' is invalid in C99 [-Wimplicit-function-declaration] _mds[5] = EVP_dss(); ^ OpenSSL.xs:273:17: warning: incompatible integer to pointer conversion assigning to 'EVP_MD *' (aka 'struct evp_md_st *') from 'int' [-Wint-conversion] _mds[5] = EVP_dss(); ^ ~~~~~~~~~ OpenSSL.xs:274:19: warning: implicit declaration of function 'EVP_dss1' is invalid in C99 [-Wimplicit-function-declaration] _mds[6] = EVP_dss1(); ^ OpenSSL.xs:274:17: warning: incompatible integer to pointer conversion assigning to 'EVP_MD *' (aka 'struct evp_md_st *') from 'int' [-Wint-conversion] _mds[6] = EVP_dss1(); ^ ~~~~~~~~~~ OpenSSL.xs:276:17: warning: assigning to 'EVP_MD *' (aka 'struct evp_md_st *') from 'const EVP_MD *' (aka 'const struct evp_md_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] _mds[7] = EVP_ripemd160(); ^ ~~~~~~~~~~~~~~~ OpenSSL.xs:288:39: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!X509_digest(x509, digest, md, &n)) ^~ /usr/include/openssl/x509.h:373:50: note: passing argument to parameter 'len' here unsigned char *md, unsigned int *len); ^ OpenSSL.xs:291:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(&s[i*3], "%02X%c", md[i], (i + 1 == (int) n) ? '\0' : ':'); ^~~~~~~ /usr/include/ssp/stdio.h:56:29: note: expanded from macro 'sprintf' __builtin___sprintf_chk(str, 0, __ssp_bos(str), __VA_ARGS__) ^~~ OpenSSL.xs:293:9: warning: returning 'unsigned char [192]' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return s; ^ OpenSSL.xs:319:15: error: incomplete definition of type 'struct rsa_st' return (key->n && key->e && key->d && key->p && key->q ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:319:25: error: incomplete definition of type 'struct rsa_st' return (key->n && key->e && key->d && key->p && key->q ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:319:35: error: incomplete definition of type 'struct rsa_st' return (key->n && key->e && key->d && key->p && key->q ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:319:45: error: incomplete definition of type 'struct rsa_st' return (key->n && key->e && key->d && key->p && key->q ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:319:55: error: incomplete definition of type 'struct rsa_st' return (key->n && key->e && key->d && key->p && key->q ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:320:10: error: incomplete definition of type 'struct rsa_st' && key->dmp1 && key->dmq1 && key->iqmp && key->d) ? 1 : 0; ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:320:23: error: incomplete definition of type 'struct rsa_st' && key->dmp1 && key->dmq1 && key->iqmp && key->d) ? 1 : 0; ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:320:36: error: incomplete definition of type 'struct rsa_st' && key->dmp1 && key->dmq1 && key->iqmp && key->d) ? 1 : 0; ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:320:49: error: incomplete definition of type 'struct rsa_st' && key->dmp1 && key->dmq1 && key->iqmp && key->d) ? 1 : 0; ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:363:9: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(des_ecb); ADD_C_(des_ede); ADD_C_(des_ede3); ^~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:363:26: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(des_ecb); ADD_C_(des_ede); ADD_C_(des_ede3); ^~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:363:43: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(des_ecb); ADD_C_(des_ede); ADD_C_(des_ede3); ^~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:364:9: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(des_cfb); ADD_C_(des_ede_cfb); ADD_C_(des_ede3_cfb); ^~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:364:26: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(des_cfb); ADD_C_(des_ede_cfb); ADD_C_(des_ede3_cfb); ^~~~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:364:47: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(des_cfb); ADD_C_(des_ede_cfb); ADD_C_(des_ede3_cfb); ^~~~~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:365:9: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(des_ofb); ADD_C_(des_ede_ofb); ADD_C_(des_ede3_ofb); ^~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:365:26: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(des_ofb); ADD_C_(des_ede_ofb); ADD_C_(des_ede3_ofb); ^~~~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:365:47: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(des_ofb); ADD_C_(des_ede_ofb); ADD_C_(des_ede3_ofb); ^~~~~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:366:9: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(des_cbc); ADD_C_(des_ede_cbc); ADD_C_(des_ede3_cbc); ^~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:366:26: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(des_cbc); ADD_C_(des_ede_cbc); ADD_C_(des_ede3_cbc); ^~~~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:366:47: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(des_cbc); ADD_C_(des_ede_cbc); ADD_C_(des_ede3_cbc); ^~~~~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:367:9: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(desx_cbc); ^~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:370:9: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(rc4); ADD_C_(rc4_40); ^~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:370:23: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(rc4); ADD_C_(rc4_40); ^~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:373:9: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(idea_ecb); ADD_C_(idea_cfb); ^~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:373:27: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(idea_ecb); ADD_C_(idea_cfb); ^~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:374:9: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(idea_ofb); ADD_C_(idea_cbc); ^~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:374:27: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(idea_ofb); ADD_C_(idea_cbc); ^~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:377:9: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(rc2_ecb); ADD_C_(rc2_cbc); ADD_C_(rc2_40_cbc); ^~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:377:26: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(rc2_ecb); ADD_C_(rc2_cbc); ADD_C_(rc2_40_cbc); ^~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:377:43: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(rc2_ecb); ADD_C_(rc2_cbc); ADD_C_(rc2_40_cbc); ^~~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:378:9: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(rc2_64_cbc); ADD_C_(rc2_cfb); ADD_C_(rc2_ofb); ^~~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:378:29: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(rc2_64_cbc); ADD_C_(rc2_cfb); ADD_C_(rc2_ofb); ^~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:378:46: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(rc2_64_cbc); ADD_C_(rc2_cfb); ADD_C_(rc2_ofb); ^~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:381:9: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(bf_ecb); ADD_C_(bf_cbc); ^~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:381:26: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(bf_ecb); ADD_C_(bf_cbc); ^~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:382:9: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(bf_cfb); ADD_C_(bf_ofb); ^~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:382:26: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(bf_cfb); ADD_C_(bf_ofb); ^~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:385:9: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(cast5_ecb); ADD_C_(cast5_cbc); ^~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:385:28: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(cast5_ecb); ADD_C_(cast5_cbc); ^~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:386:9: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(cast5_cfb); ADD_C_(cast5_ofb); ^~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:386:28: warning: assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADD_C_(cast5_cfb); ADD_C_(cast5_ofb); ^~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:389:2: warning: implicit declaration of function 'EVP_rc5_32_12_16_cbc' is invalid in C99 [-Wimplicit-function-declaration] ADD_C_(rc5_32_12_16_cbc); ADD_C_(rc5_32_12_16_ecb); ^ OpenSSL.xs:351:46: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ :244:1: note: expanded from here EVP_rc5_32_12_16_cbc ^ OpenSSL.xs:389:2: warning: incompatible integer to pointer conversion assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'int' [-Wint-conversion] ADD_C_(rc5_32_12_16_cbc); ADD_C_(rc5_32_12_16_ecb); ^~~~~~~~~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:389:28: warning: implicit declaration of function 'EVP_rc5_32_12_16_ecb' is invalid in C99 [-Wimplicit-function-declaration] ADD_C_(rc5_32_12_16_cbc); ADD_C_(rc5_32_12_16_ecb); ^ OpenSSL.xs:351:46: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ :3:1: note: expanded from here EVP_rc5_32_12_16_ecb ^ OpenSSL.xs:389:28: warning: incompatible integer to pointer conversion assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'int' [-Wint-conversion] ADD_C_(rc5_32_12_16_cbc); ADD_C_(rc5_32_12_16_ecb); ^~~~~~~~~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:390:2: warning: implicit declaration of function 'EVP_rc5_32_12_16_cfb' is invalid in C99 [-Wimplicit-function-declaration] ADD_C_(rc5_32_12_16_cfb); ADD_C_(rc5_32_12_16_ofb); ^ OpenSSL.xs:351:46: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ :9:1: note: expanded from here EVP_rc5_32_12_16_cfb ^ OpenSSL.xs:390:2: warning: incompatible integer to pointer conversion assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'int' [-Wint-conversion] ADD_C_(rc5_32_12_16_cfb); ADD_C_(rc5_32_12_16_ofb); ^~~~~~~~~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:390:28: warning: implicit declaration of function 'EVP_rc5_32_12_16_ofb' is invalid in C99 [-Wimplicit-function-declaration] ADD_C_(rc5_32_12_16_cfb); ADD_C_(rc5_32_12_16_ofb); ^ OpenSSL.xs:351:46: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ :15:1: note: expanded from here EVP_rc5_32_12_16_ofb ^ OpenSSL.xs:390:28: warning: incompatible integer to pointer conversion assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'int' [-Wint-conversion] ADD_C_(rc5_32_12_16_cfb); ADD_C_(rc5_32_12_16_ofb); ^~~~~~~~~~~~~~~~~~~~~~~~ OpenSSL.xs:351:42: note: expanded from macro 'ADD_C_' #define ADD_C_(x) cip_list[cip_cnt].func = (EVP_##x()); \ ^ ~~~~~~~~~~~ OpenSSL.xs:402:16: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] if(!(RETVAL = RSA_generate_key(bits, e, NULL, NULL))) ^ /usr/include/openssl/rsa.h:193:1: note: 'RSA_generate_key' has been explicitly marked deprecated here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ /usr/include/openssl/opensslconf.h:139:34: note: expanded from macro 'DEPRECATEDIN_0_9_8' # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ OpenSSL.xs:415:20: error: incomplete definition of type 'struct rsa_st' if(!(RETVAL->n = BN_new()) || !BN_dec2bn(&RETVAL->n, n)) { ~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:415:57: error: incomplete definition of type 'struct rsa_st' if(!(RETVAL->n = BN_new()) || !BN_dec2bn(&RETVAL->n, n)) { ~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:418:13: error: incomplete definition of type 'struct rsa_st' if(!(RETVAL->e = BN_new()) || !BN_dec2bn(&RETVAL->e, e)) { ~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:418:50: error: incomplete definition of type 'struct rsa_st' if(!(RETVAL->e = BN_new()) || !BN_dec2bn(&RETVAL->e, e)) { ~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:442:20: error: incomplete definition of type 'struct rsa_st' if(!(RETVAL->n = BN_new()) || !BN_dec2bn(&RETVAL->n, n)) { ~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:442:57: error: incomplete definition of type 'struct rsa_st' if(!(RETVAL->n = BN_new()) || !BN_dec2bn(&RETVAL->n, n)) { ~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:445:13: error: incomplete definition of type 'struct rsa_st' if(!(RETVAL->e = BN_new()) || !BN_dec2bn(&RETVAL->e, e)) { ~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:445:50: error: incomplete definition of type 'struct rsa_st' if(!(RETVAL->e = BN_new()) || !BN_dec2bn(&RETVAL->e, e)) { ~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:448:13: error: incomplete definition of type 'struct rsa_st' if(!(RETVAL->p = BN_new()) || !BN_dec2bn(&RETVAL->p, p)) { ~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ OpenSSL.xs:448:50: error: incomplete definition of type 'struct rsa_st' if(!(RETVAL->p = BN_new()) || !BN_dec2bn(&RETVAL->p, p)) { ~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 62 warnings and 20 errors generated. *** [OpenSSL.o] Error code 1 make: stopped in /data/scratch/security/p5-OpenSSL/work/OpenSSL-0.09 1 error make: stopped in /data/scratch/security/p5-OpenSSL/work/OpenSSL-0.09 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/security/p5-OpenSSL *** Error code 1 Stop. make: stopped in /data/pkgsrc/security/p5-OpenSSL