=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for lua53-sec-0.6 ------------------- ** Build for BSD ** ------------------- gmake[1]: Entering directory '/tmp/pkgbuild/security/lua-sec/work.earmv7hf/luasec-luasec-0.6/src' gmake[2]: Entering directory '/tmp/pkgbuild/security/lua-sec/work.earmv7hf/luasec-luasec-0.6/src' cc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/lua-5.3 -I/usr/include -O2 -fPIC -Wall -pedantic -I. -I/usr/pkg/include -DWITH_LUASOCKET -DLUA_COMPAT_MODULE -I/usr/pkg/include/lua-5.3 -I/usr/include -c -o x509.o x509.c cc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/lua-5.3 -I/usr/include -O2 -fPIC -Wall -pedantic -I. -I/usr/pkg/include -DWITH_LUASOCKET -DLUA_COMPAT_MODULE -I/usr/pkg/include/lua-5.3 -I/usr/include -c -o context.o context.c gmake[3]: Entering directory '/tmp/pkgbuild/security/lua-sec/work.earmv7hf/luasec-luasec-0.6/src/luasocket' cc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/lua-5.3 -I/usr/include -O2 -fPIC -Wall -pedantic -I. -I/usr/pkg/include -DWITH_LUASOCKET -DLUA_COMPAT_MODULE -O2 -fPIC -Wall -pedantic -I. -I/usr/pkg/include -DWITH_LUASOCKET -DLUA_COMPAT_MODULE -DLUASOCKET_DEBUG -I/usr/pkg/include/lua-5.3 -I/usr/include -c -o io.o io.c cc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/lua-5.3 -I/usr/include -O2 -fPIC -Wall -pedantic -I. -I/usr/pkg/include -DWITH_LUASOCKET -DLUA_COMPAT_MODULE -O2 -fPIC -Wall -pedantic -I. -I/usr/pkg/include -DWITH_LUASOCKET -DLUA_COMPAT_MODULE -DLUASOCKET_DEBUG -I/usr/pkg/include/lua-5.3 -I/usr/include -c -o buffer.o buffer.c context.c:39:0: warning: "SSLv23_method" redefined #define SSLv23_method() TLS_method() In file included from context.c:16:0: /usr/include/openssl/ssl.h:1867:0: note: this is the location of the previous definition #define SSLv23_method TLS_method context.c: In function 'str2method': context.c:104:3: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations] if (!strcmp(method, "tlsv1")) return TLSv1_method(); ^~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/ssl.h:15, from context.c:16: /usr/include/openssl/ssl.h:1877:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^ context.c:106:3: warning: 'TLSv1_1_method' is deprecated [-Wdeprecated-declarations] if (!strcmp(method, "tlsv1_1")) return TLSv1_1_method(); ^~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/ssl.h:15, from context.c:16: /usr/include/openssl/ssl.h:1883:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */ ^ context.c:107:3: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations] if (!strcmp(method, "tlsv1_2")) return TLSv1_2_method(); ^~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/ssl.h:15, from context.c:16: /usr/include/openssl/ssl.h:1889:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */ ^ x509.c: In function 'push_asn1_string': x509.c:149:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] lua_pushlstring(L, (char*)ASN1_STRING_data(string), ^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/ssl.h:15, from x509.c:22: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ x509.c: In function 'push_asn1_ip': x509.c:185:3: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] unsigned char *ip = ASN1_STRING_data(string); ^~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/ssl.h:15, from x509.c:22: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ x509.c: In function 'meth_extensions': x509.c:296:35: error: dereferencing pointer to incomplete type 'X509_EXTENSION {aka struct X509_extension_st}' push_asn1_objname(L, extension->object, 1); ^~ x509.c: In function 'meth_pubkey': x509.c:407:32: error: dereferencing pointer to incomplete type 'EVP_PKEY {aka struct evp_pkey_st}' switch(EVP_PKEY_type(pkey->type)) { ^~ cc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/lua-5.3 -I/usr/include -O2 -fPIC -Wall -pedantic -I. -I/usr/pkg/include -DWITH_LUASOCKET -DLUA_COMPAT_MODULE -O2 -fPIC -Wall -pedantic -I. -I/usr/pkg/include -DWITH_LUASOCKET -DLUA_COMPAT_MODULE -DLUASOCKET_DEBUG -I/usr/pkg/include/lua-5.3 -I/usr/include -c -o timeout.o timeout.c gmake[2]: *** [: x509.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... cc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/lua-5.3 -I/usr/include -O2 -fPIC -Wall -pedantic -I. -I/usr/pkg/include -DWITH_LUASOCKET -DLUA_COMPAT_MODULE -O2 -fPIC -Wall -pedantic -I. -I/usr/pkg/include -DWITH_LUASOCKET -DLUA_COMPAT_MODULE -DLUASOCKET_DEBUG -I/usr/pkg/include/lua-5.3 -I/usr/include -c -o usocket.o usocket.c ar rcu libluasocket.a io.o buffer.o timeout.o usocket.o ranlib libluasocket.a gmake[3]: Leaving directory '/tmp/pkgbuild/security/lua-sec/work.earmv7hf/luasec-luasec-0.6/src/luasocket' gmake[2]: Leaving directory '/tmp/pkgbuild/security/lua-sec/work.earmv7hf/luasec-luasec-0.6/src' gmake[1]: *** [Makefile:47: bsd] Error 2 gmake[1]: Leaving directory '/tmp/pkgbuild/security/lua-sec/work.earmv7hf/luasec-luasec-0.6/src' gmake: *** [Makefile:48: bsd] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/security/lua-sec *** Error code 1 Stop. make: stopped in /usr/pkgsrc/security/lua-sec