* Package: dev-lua/lua-openssl-0.7.3 * Repository: gentoo * Maintainer: crito@fnordpipe.org proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux libressl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking lua-openssl-0.7.3.tar.gz to /var/tmp/portage/dev-lua/lua-openssl-0.7.3/work >>> Unpacking lua-openssl-aux-b56f6937096acea34ddf241ec7ea08ac52414d18.tar.gz to /var/tmp/portage/dev-lua/lua-openssl-0.7.3/work/lua-openssl-0.7.3/deps >>> Unpacking lua-openssl-compat-daebe77a2f498817713df37f0bb316db1d82222f.tar.gz to /var/tmp/portage/dev-lua/lua-openssl-0.7.3/work/lua-openssl-0.7.3/deps >>> Source unpacked in /var/tmp/portage/dev-lua/lua-openssl-0.7.3/work >>> Preparing source in /var/tmp/portage/dev-lua/lua-openssl-0.7.3/work/lua-openssl-0.7.3 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lua/lua-openssl-0.7.3/work/lua-openssl-0.7.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-lua/lua-openssl-0.7.3/work/lua-openssl-0.7.3 ... make -j1 CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -fpic -O2 -pipe -march=native -g -Wall -Wno-unused-value -DPTHREADS -Ideps -Ideps/lua-compat -Ideps/auxiliar -c -o src/asn1.o src/asn1.c x86_64-pc-linux-gnu-gcc -fpic -O2 -pipe -march=native -g -Wall -Wno-unused-value -DPTHREADS -Ideps -Ideps/lua-compat -Ideps/auxiliar -c -o deps/auxiliar/auxiliar.o deps/auxiliar/auxiliar.c x86_64-pc-linux-gnu-gcc -fpic -O2 -pipe -march=native -g -Wall -Wno-unused-value -DPTHREADS -Ideps -Ideps/lua-compat -Ideps/auxiliar -c -o src/bio.o src/bio.c src/bio.c: In function ‘openssl_bio_pop’: src/bio.c:600:5: warning: implicit declaration of function ‘BIO_up_ref’; did you mean ‘DSA_up_ref’? [-Wimplicit-function-declaration] BIO_up_ref(end); ^~~~~~~~~~ DSA_up_ref src/bio.c: In function ‘BIO_info_callback’: src/bio.c:768:3: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(buf, sizeof buf, "BIO[%p]:", bio); ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ src/bio.c:774:5: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(p, p_maxlen, "Free - %s\n", BIO_method_name(bio)); ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ src/bio.c:778:7: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(p, p_maxlen, "read(%lu,%lu) - %s fd=%lu\n", ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ src/bio.c:782:7: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(p, p_maxlen, "read(%lu,%lu) - %s\n", ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ src/bio.c:788:7: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(p, p_maxlen, "write(%lu,%lu) - %s fd=%lu\n", ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ src/bio.c:792:7: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(p, p_maxlen, "write(%lu,%lu) - %s\n", ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ src/bio.c:797:5: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(p, p_maxlen, "puts() - %s\n", BIO_method_name(bio)); ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ src/bio.c:800:5: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(p, p_maxlen, "gets(%lu) - %s\n", (unsigned long)argi, BIO_method_name(bio)); ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ src/bio.c:803:5: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(p, p_maxlen, "ctrl(%lu) - %s\n", (unsigned long)argi, BIO_method_name(bio)); ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ src/bio.c:806:5: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(p, p_maxlen, "read return %ld\n", ret); ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ src/bio.c:809:5: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(p, p_maxlen, "write return %ld\n", ret); ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ src/bio.c:812:5: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(p, p_maxlen, "gets return %ld\n", ret); ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ src/bio.c:815:5: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(p, p_maxlen, "puts return %ld\n", ret); ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ src/bio.c:818:5: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(p, p_maxlen, "ctrl return %ld\n", ret); ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ src/bio.c:821:5: warning: ‘BIO_snprintf’ is deprecated [-Wdeprecated-declarations] BIO_snprintf(p, p_maxlen, "bio callback - unknown type (%d)\n", cmd); ^~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67, from src/openssl.h:19, from src/bio.c:9: /usr/include/openssl/bio.h:704:1: note: declared here BIO_snprintf(char *buf, size_t n, const char *format, ...) ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -fpic -O2 -pipe -march=native -g -Wall -Wno-unused-value -DPTHREADS -Ideps -Ideps/lua-compat -Ideps/auxiliar -c -o src/cipher.o src/cipher.c x86_64-pc-linux-gnu-gcc -fpic -O2 -pipe -march=native -g -Wall -Wno-unused-value -DPTHREADS -Ideps -Ideps/lua-compat -Ideps/auxiliar -c -o src/cms.o src/cms.c x86_64-pc-linux-gnu-gcc -fpic -O2 -pipe -march=native -g -Wall -Wno-unused-value -DPTHREADS -Ideps -Ideps/lua-compat -Ideps/auxiliar -c -o src/compat.o src/compat.c x86_64-pc-linux-gnu-gcc -fpic -O2 -pipe -march=native -g -Wall -Wno-unused-value -DPTHREADS -Ideps -Ideps/lua-compat -Ideps/auxiliar -c -o src/crl.o src/crl.c In file included from src/crl.c:9: src/crl.c: In function ‘openssl_revoked2table’: src/crl.c:143:24: warning: implicit declaration of function ‘X509_REVOKED_get0_serialNumber’; did you mean ‘X509_REVOKED_set_serialNumber’? [-Wimplicit-function-declaration] PUSH_ASN1_INTEGER(L, X509_REVOKED_get0_serialNumber(revoked)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/private.h:198:78: note: in definition of macro ‘PUSH_ASN1_INTEGER’ USH_ASN1_INTEGER(L, i) openssl_push_asn1(L, (ASN1_STRING*)i, V_ASN1_INTEGER) ^ src/private.h:198:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define PUSH_ASN1_INTEGER(L, i) openssl_push_asn1(L, (ASN1_STRING*)i, V_ASN1_INTEGER) ^ src/crl.c:143:3: note: in expansion of macro ‘PUSH_ASN1_INTEGER’ PUSH_ASN1_INTEGER(L, X509_REVOKED_get0_serialNumber(revoked)); ^~~~~~~~~~~~~~~~~ src/crl.c:146:21: warning: implicit declaration of function ‘X509_REVOKED_get0_revocationDate’; did you mean ‘X509_REVOKED_set_revocationDate’? [-Wimplicit-function-declaration] PUSH_ASN1_TIME(L, X509_REVOKED_get0_revocationDate(revoked)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/private.h:197:78: note: in definition of macro ‘PUSH_ASN1_TIME’ USH_ASN1_TIME(L, tm) openssl_push_asn1(L, (ASN1_STRING*)tm, V_ASN1_UTCTIME) ^~ src/private.h:197:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define PUSH_ASN1_TIME(L, tm) openssl_push_asn1(L, (ASN1_STRING*)tm, V_ASN1_UTCTIME) ^ src/crl.c:146:3: note: in expansion of macro ‘PUSH_ASN1_TIME’ PUSH_ASN1_TIME(L, X509_REVOKED_get0_revocationDate(revoked)); ^~~~~~~~~~~~~~ src/crl.c:150:40: warning: implicit declaration of function ‘X509_REVOKED_get0_extensions’; did you mean ‘X509_REQ_get_extensions’? [-Wimplicit-function-declaration] openssl_sk_x509_extension_totable(L, X509_REVOKED_get0_extensions(revoked)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ X509_REQ_get_extensions src/crl.c:150:40: warning: passing argument 2 of ‘openssl_sk_x509_extension_totable’ makes pointer from integer without a cast [-Wint-conversion] openssl_sk_x509_extension_totable(L, X509_REVOKED_get0_extensions(revoked)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/crl.c:9: src/private.h:236:85: note: expected ‘const struct stack_st_X509_EXTENSION *’ but argument is of type ‘int’ sl_sk_x509_extension_totable(lua_State *L, const STACK_OF(X509_EXTENSION)* sk); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/crl.c: In function ‘openssl_crl_extensions’: src/crl.c:392:44: warning: implicit declaration of function ‘X509_CRL_get0_extensions’; did you mean ‘X509_REQ_get_extensions’? [-Wimplicit-function-declaration] const STACK_OF(X509_EXTENSION) *exts = X509_CRL_get0_extensions(crl); ^~~~~~~~~~~~~~~~~~~~~~~~ X509_REQ_get_extensions src/crl.c:392:44: warning: initialization of ‘const struct stack_st_X509_EXTENSION *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] src/crl.c: In function ‘openssl_crl_parse’: src/crl.c:796:5: warning: implicit declaration of function ‘X509_CRL_get0_signature’; did you mean ‘X509_CRL_get0_by_cert’? [-Wimplicit-function-declaration] X509_CRL_get0_signature(crl, &sig, &alg); ^~~~~~~~~~~~~~~~~~~~~~~ X509_CRL_get0_by_cert src/crl.c:811:50: warning: initialization of ‘const struct stack_st_X509_EXTENSION *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] const STACK_OF(X509_EXTENSION) *extensions = X509_CRL_get0_extensions(crl); ^~~~~~~~~~~~~~~~~~~~~~~~ src/crl.c: In function ‘openssl_crl_get’: src/crl.c:937:27: warning: passing argument 1 of ‘ASN1_STRING_cmp’ makes pointer from integer without a cast [-Wint-conversion] if (ASN1_STRING_cmp(X509_REVOKED_get0_serialNumber(rev), sn) == 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/objects.h:960, from /usr/include/openssl/evp.h:86, from src/openssl.h:19, from src/crl.c:8: /usr/include/openssl/asn1.h:779:40: note: expected ‘const ASN1_STRING *’ {aka ‘const struct asn1_string_st *’} but argument is of type ‘int’ int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b); ~~~~~~~~~~~~~~~~~~~^ src/crl.c: In function ‘openssl_revoked_revocationDate’: src/crl.c:1065:27: warning: initialization of ‘const ASN1_TIME *’ {aka ‘const struct asn1_string_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] const ASN1_TIME* time = X509_REVOKED_get0_revocationDate(revoked); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/crl.c: In function ‘openssl_revoked_serialNumber’: src/crl.c:1074:38: warning: initialization of ‘const ASN1_INTEGER *’ {aka ‘const struct asn1_string_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] const ASN1_INTEGER *serialNumber = X509_REVOKED_get0_serialNumber(revoked); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/crl.c: In function ‘openssl_revoked_extensions’: src/crl.c:1084:42: warning: initialization of ‘const struct stack_st_X509_EXTENSION *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] const STACK_OF(X509_EXTENSION) *exts = X509_REVOKED_get0_extensions(revoked); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/crl.c:11: src/crl.c: In function ‘openssl_sk_x509_crl_fromtable’: src/crl.c:1115:12: warning: implicit declaration of function ‘X509_CRL_up_ref’; did you mean ‘X509_up_ref’? [-Wimplicit-function-declaration] IMP_LUA_SK(X509_CRL, x509_crl) ^~~~~~~~ src/sk.h:19:30: note: in definition of macro ‘REF_OR_DUP’ #define REF_OR_DUP(TYPE, x) TYPE##_up_ref(x) ^~~~ src/sk.h:98:1: note: in expansion of macro ‘TAB2SK’ TAB2SK(TYPE,type); \ ^~~~~~ src/crl.c:1115:1: note: in expansion of macro ‘IMP_LUA_SK’ IMP_LUA_SK(X509_CRL, x509_crl) ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -fpic -O2 -pipe -march=native -g -Wall -Wno-unused-value -DPTHREADS -Ideps -Ideps/lua-compat -Ideps/auxiliar -c -o src/csr.o src/csr.c src/csr.c: In function ‘openssl_csr_sign’: src/csr.c:381:5: warning: implicit declaration of function ‘X509_REQ_get0_signature’; did you mean ‘X509_REQ_get_attr’? [-Wimplicit-function-declaration] X509_REQ_get0_signature(csr, (const ASN1_BIT_STRING **)&sig, (const X509_ALGOR **)&alg); ^~~~~~~~~~~~~~~~~~~~~~~ X509_REQ_get_attr src/csr.c:401:11: warning: implicit declaration of function ‘i2d_re_X509_REQ_tbs’; did you mean ‘i2d_X509_REQ_bio’? [-Wimplicit-function-declaration] inl = i2d_re_X509_REQ_tbs(csr, &tosign); ^~~~~~~~~~~~~~~~~~~ i2d_X509_REQ_bio src/csr.c: In function ‘openssl_csr_parse’: src/csr.c:451:25: warning: implicit declaration of function ‘X509_REQ_get_X509_PUBKEY’; did you mean ‘X509_get_X509_PUBKEY’? [-Wimplicit-function-declaration] X509_PUBKEY *xpub = X509_REQ_get_X509_PUBKEY(csr); ^~~~~~~~~~~~~~~~~~~~~~~~ X509_get_X509_PUBKEY src/csr.c:451:25: warning: initialization of ‘X509_PUBKEY *’ {aka ‘struct X509_pubkey_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] x86_64-pc-linux-gnu-gcc -fpic -O2 -pipe -march=native -g -Wall -Wno-unused-value -DPTHREADS -Ideps -Ideps/lua-compat -Ideps/auxiliar -c -o src/dh.o src/dh.c src/dh.c: In function ‘openssl_dh_parse’: src/dh.c:32:22: warning: implicit declaration of function ‘DH_bits’; did you mean ‘DH_size’? [-Wimplicit-function-declaration] lua_pushinteger(L, DH_bits(dh)); ^~~~~~~ DH_size src/dh.c:35:3: warning: implicit declaration of function ‘DH_get0_pqg’ [-Wimplicit-function-declaration] DH_get0_pqg(dh, &p, &q, &g); ^~~~~~~~~~~ src/dh.c:36:3: warning: implicit declaration of function ‘DH_get0_key’; did you mean ‘DH_generate_key’? [-Wimplicit-function-declaration] DH_get0_key(dh, &pub, &pri); ^~~~~~~~~~~ DH_generate_key x86_64-pc-linux-gnu-gcc -fpic -O2 -pipe -march=native -g -Wall -Wno-unused-value -DPTHREADS -Ideps -Ideps/lua-compat -Ideps/auxiliar -c -o src/digest.o src/digest.c src/digest.c: In function ‘openssl_digest_ctx_reset’: src/digest.c:418:9: warning: implicit declaration of function ‘EVP_MD_CTX_reset’; did you mean ‘EVP_MD_CTX_create’? [-Wimplicit-function-declaration] ret = EVP_MD_CTX_reset(ctx); ^~~~~~~~~~~~~~~~ EVP_MD_CTX_create src/digest.c: In function ‘openssl_digest_ctx_data’: src/digest.c:489:21: warning: implicit declaration of function ‘EVP_MD_meth_get_app_datasize’; did you mean ‘EVP_PKEY_CTX_get_app_data’? [-Wimplicit-function-declaration] size_t ctx_size = EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ EVP_PKEY_CTX_get_app_data In file included from src/private.h:12, from src/digest.c:9: src/digest.c:492:24: warning: implicit declaration of function ‘EVP_MD_CTX_md_data’; did you mean ‘EVP_MD_CTX_create’? [-Wimplicit-function-declaration] lua_pushlstring(L, EVP_MD_CTX_md_data(ctx), ctx_size); ^~~~~~~~~~~~~~~~~~ deps/lua-compat/c-api/compat-5.3.h:146:72: note: in definition of macro ‘lua_pushlstring’ (((len) == 0) ? lua_pushlstring((L), "", 0) : lua_pushlstring((L), (s), (len))), lua_tostring((L), -1)) ^ src/digest.c:492:24: warning: passing argument 2 of ‘lua_pushlstring’ makes pointer from integer without a cast [-Wint-conversion] lua_pushlstring(L, EVP_MD_CTX_md_data(ctx), ctx_size); deps/lua-compat/c-api/compat-5.3.h:146:72: note: in definition of macro ‘lua_pushlstring’ (((len) == 0) ? lua_pushlstring((L), "", 0) : lua_pushlstring((L), (s), (len))), lua_tostring((L), -1)) ^ In file included from src/openssl.h:10, from src/digest.c:8: /usr/include/lua.h:163:60: note: expected ‘const char *’ but argument is of type ‘int’ LUA_API void (lua_pushlstring) (lua_State *L, const char *s, size_t l); ~~~~~~~~~~~~^ src/digest.c:500:14: warning: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Wint-conversion] memcpy(EVP_MD_CTX_md_data(ctx), d, ctx_size); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include-fixed/limits.h:194, from /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include-fixed/limits.h:34, from /usr/include/x86_64-pc-linux-gnu/luaconf.h:11, from /usr/include/luaconf.h:10, from /usr/include/lua.h:16, from src/openssl.h:10, from src/digest.c:8: /usr/include/bits/string_fortified.h:31:1: note: expected ‘void * restrict’ but argument is of type ‘int’ __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, ^~~~~ x86_64-pc-linux-gnu-gcc -fpic -O2 -pipe -march=native -g -Wall -Wno-unused-value -DPTHREADS -Ideps -Ideps/lua-compat -Ideps/auxiliar -c -o src/dsa.o src/dsa.c src/dsa.c: In function ‘openssl_dsa_parse’: src/dsa.c:32:22: warning: implicit declaration of function ‘DSA_bits’; did you mean ‘DSA_sign’? [-Wimplicit-function-declaration] lua_pushinteger(L, DSA_bits(dsa)); ^~~~~~~~ DSA_sign src/dsa.c:35:3: warning: implicit declaration of function ‘DSA_get0_pqg’ [-Wimplicit-function-declaration] DSA_get0_pqg(dsa, &p, &q, &g); ^~~~~~~~~~~~ src/dsa.c:36:3: warning: implicit declaration of function ‘DSA_get0_key’; did you mean ‘DSA_generate_key’? [-Wimplicit-function-declaration] DSA_get0_key(dsa, &pub, &pri); ^~~~~~~~~~~~ DSA_generate_key x86_64-pc-linux-gnu-gcc -fpic -O2 -pipe -march=native -g -Wall -Wno-unused-value -DPTHREADS -Ideps -Ideps/lua-compat -Ideps/auxiliar -c -o src/ec.o src/ec.c src/ec.c: In function ‘openssl_ecdsa_sign’: src/ec.c:445:5: warning: implicit declaration of function ‘ECDSA_SIG_get0’; did you mean ‘ECDSA_SIG_new’? [-Wimplicit-function-declaration] ECDSA_SIG_get0(sig, &r, &s); ^~~~~~~~~~~~~~ ECDSA_SIG_new src/ec.c: In function ‘openssl_ecdsa_verify’: src/ec.c:485:5: warning: implicit declaration of function ‘ECDSA_SIG_set0’; did you mean ‘ECDSA_SIG_new’? [-Wimplicit-function-declaration] ECDSA_SIG_set0(sig, r, s); ^~~~~~~~~~~~~~ ECDSA_SIG_new src/ec.c: In function ‘openssl_ecdsa_set_method’: src/ec.c:621:9: error: unknown type name ‘EC_KEY_METHOD’ const EC_KEY_METHOD *m = ENGINE_get_EC(e); ^~~~~~~~~~~~~ src/ec.c:621:28: warning: implicit declaration of function ‘ENGINE_get_EC’; did you mean ‘ENGINE_get_DH’? [-Wimplicit-function-declaration] const EC_KEY_METHOD *m = ENGINE_get_EC(e); ^~~~~~~~~~~~~ ENGINE_get_DH src/ec.c:621:28: warning: initialization of ‘const int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] src/ec.c:623:13: warning: implicit declaration of function ‘EC_KEY_set_method’; did you mean ‘ECDH_set_method’? [-Wimplicit-function-declaration] int r = EC_KEY_set_method(ec, m); ^~~~~~~~~~~~~~~~~ ECDH_set_method make: *** [Makefile:88: src/ec.o] Error 1 * ERROR: dev-lua/lua-openssl-0.7.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lua/lua-openssl-0.7.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lua/lua-openssl-0.7.3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-lua:lua-openssl-0.7.3:20180930-161449.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lua/lua-openssl-0.7.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lua/lua-openssl-0.7.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-lua/lua-openssl-0.7.3/work/lua-openssl-0.7.3' * S: '/var/tmp/portage/dev-lua/lua-openssl-0.7.3/work/lua-openssl-0.7.3'