=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for vsftpd-3.0.3 => Fix buggy -idirafter for clang --- main.o --- --- utility.o --- --- prelogin.o --- --- main.o --- clang -c main.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- utility.o --- clang -c utility.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- prelogin.o --- clang -c prelogin.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- ftpcmdio.o --- --- postlogin.o --- --- ftpcmdio.o --- clang -c ftpcmdio.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- privsock.o --- --- postlogin.o --- clang -c postlogin.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- privsock.o --- clang -c privsock.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- tunables.o --- clang -c tunables.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- ftpdataio.o --- clang -c ftpdataio.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- secbuf.o --- clang -c secbuf.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- ls.o --- --- postprivparent.o --- --- ls.o --- clang -c ls.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- postprivparent.o --- clang -c postprivparent.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- logging.o --- clang -c logging.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- str.o --- --- netstr.o --- --- str.o --- clang -c str.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- sysstr.o --- --- netstr.o --- clang -c netstr.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- sysstr.o --- clang -c sysstr.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- strlist.o --- clang -c strlist.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- banner.o --- --- sysstr.o --- sysstr.c:77:40: warning: implicit conversion from enumeration type 'enum EVSFSysStrOpenMode' to different enumeration type 'enum EVSFSysUtilOpenMode' [-Wenum-conversion] enum EVSFSysUtilOpenMode open_mode = kVSFSysStrOpenUnknown; ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ --- filestr.o --- --- banner.o --- clang -c banner.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- filestr.o --- clang -c filestr.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- sysstr.o --- 1 warning generated. --- parseconf.o --- --- secutil.o --- --- parseconf.o --- clang -c parseconf.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- secutil.o --- clang -c secutil.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- ascii.o --- clang -c ascii.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- oneprocess.o --- --- twoprocess.o --- --- oneprocess.o --- clang -c oneprocess.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- twoprocess.o --- clang -c twoprocess.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- privops.o --- clang -c privops.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- standalone.o --- clang -c standalone.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- hash.o --- clang -c hash.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- tcpwrap.o --- --- ipaddrparse.o --- --- tcpwrap.o --- clang -c tcpwrap.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- ipaddrparse.o --- clang -c ipaddrparse.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- access.o --- --- features.o --- --- access.o --- clang -c access.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- features.o --- clang -c features.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- readwrite.o --- --- opts.o --- --- readwrite.o --- clang -c readwrite.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- ssl.o --- --- opts.o --- clang -c opts.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- ssl.o --- clang -c ssl.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- sslslave.o --- --- ptracesandbox.o --- --- sslslave.o --- clang -c sslslave.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- ptracesandbox.o --- clang -c ptracesandbox.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- ftppolicy.o --- --- ssl.o --- ssl.c:62:5: warning: implicit declaration of function 'SSL_library_init' is invalid in C99 [-Wimplicit-function-declaration] SSL_library_init(); ^ ssl.c:63:13: warning: implicit declaration of function 'SSL_CTX_new' is invalid in C99 [-Wimplicit-function-declaration] p_ctx = SSL_CTX_new(SSLv23_server_method()); ^ ssl.c:63:25: warning: implicit declaration of function 'SSLv23_server_method' is invalid in C99 [-Wimplicit-function-declaration] p_ctx = SSL_CTX_new(SSLv23_server_method()); ^ ssl.c:63:11: warning: incompatible integer to pointer conversion assigning to 'SSL_CTX *' (aka 'struct ssl_ctx_st *') from 'int' [-Wint-conversion] p_ctx = SSL_CTX_new(SSLv23_server_method()); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssl.c:68:15: error: use of undeclared identifier 'SSL_OP_ALL' options = SSL_OP_ALL; ^ ssl.c:71:18: error: use of undeclared identifier 'SSL_OP_NO_SSLv2' options |= SSL_OP_NO_SSLv2; ^ --- sysutil.o --- --- ssl.o --- ssl.c:75:18: error: use of undeclared identifier 'SSL_OP_NO_SSLv3' options |= SSL_OP_NO_SSLv3; ^ ssl.c:79:18: error: use of undeclared identifier 'SSL_OP_NO_TLSv1' options |= SSL_OP_NO_TLSv1; ^ ssl.c:81:5: warning: implicit declaration of function 'SSL_CTX_set_options' is invalid in C99 [-Wimplicit-function-declaration] SSL_CTX_set_options(p_ctx, options); ^ ssl.c:89:11: warning: implicit declaration of function 'SSL_CTX_use_certificate_chain_file' is invalid in C99 [-Wimplicit-function-declaration] if (SSL_CTX_use_certificate_chain_file(p_ctx, tunable_rsa_cert_file) != 1) ^ ssl.c:93:11: warning: implicit declaration of function 'SSL_CTX_use_PrivateKey_file' is invalid in C99 [-Wimplicit-function-declaration] if (SSL_CTX_use_PrivateKey_file(p_ctx, p_key, X509_FILETYPE_PEM) != 1) ^ ssl.c:93:53: error: use of undeclared identifier 'X509_FILETYPE_PEM' if (SSL_CTX_use_PrivateKey_file(p_ctx, p_key, X509_FILETYPE_PEM) != 1) ^ ssl.c:105:11: warning: implicit declaration of function 'SSL_CTX_use_certificate_chain_file' is invalid in C99 [-Wimplicit-function-declaration] if (SSL_CTX_use_certificate_chain_file(p_ctx, tunable_dsa_cert_file) != 1) ^ ssl.c:109:11: warning: implicit declaration of function 'SSL_CTX_use_PrivateKey_file' is invalid in C99 [-Wimplicit-function-declaration] if (SSL_CTX_use_PrivateKey_file(p_ctx, p_key, X509_FILETYPE_PEM) != 1) ^ ssl.c:109:53: error: use of undeclared identifier 'X509_FILETYPE_PEM' if (SSL_CTX_use_PrivateKey_file(p_ctx, p_key, X509_FILETYPE_PEM) != 1) ^ ssl.c:115:9: warning: implicit declaration of function 'SSL_CTX_set_cipher_list' is invalid in C99 [-Wimplicit-function-declaration] SSL_CTX_set_cipher_list(p_ctx, tunable_ssl_ciphers) != 1) ^ ssl.c:124:7: error: use of undeclared identifier 'EC_KEY' EC_KEY* key = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); ^ ssl.c:124:15: error: use of undeclared identifier 'key' EC_KEY* key = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); ^ ssl.c:124:21: warning: implicit declaration of function 'EC_KEY_new_by_curve_name' is invalid in C99 [-Wimplicit-function-declaration] EC_KEY* key = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); ^ ssl.c:124:46: error: use of undeclared identifier 'NID_X9_62_prime256v1' EC_KEY* key = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); ^ ssl.c:125:11: error: use of undeclared identifier 'key' if (key == NULL) ^ ssl.c:129:7: warning: implicit declaration of function 'SSL_CTX_set_tmp_ecdh' is invalid in C99 [-Wimplicit-function-declaration] SSL_CTX_set_tmp_ecdh(p_ctx, key); ^ ssl.c:129:35: error: use of undeclared identifier 'key' SSL_CTX_set_tmp_ecdh(p_ctx, key); ^ ssl.c:130:7: warning: implicit declaration of function 'EC_KEY_free' is invalid in C99 [-Wimplicit-function-declaration] EC_KEY_free(key); ^ ssl.c:130:19: error: use of undeclared identifier 'key' EC_KEY_free(key); ^ ssl.c:134:24: error: use of undeclared identifier 'SSL_VERIFY_PEER' verify_option |= SSL_VERIFY_PEER; ^ --- ftppolicy.o --- clang -c ftppolicy.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- sysutil.o --- clang -c sysutil.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- sysdeputil.o --- --- ssl.o --- ssl.c:138:24: error: use of undeclared identifier 'SSL_VERIFY_FAIL_IF_NO_PEER_CERT' verify_option |= SSL_VERIFY_FAIL_IF_NO_PEER_CERT; ^ ssl.c:142:7: warning: implicit declaration of function 'SSL_CTX_set_verify' is invalid in C99 [-Wimplicit-function-declaration] SSL_CTX_set_verify(p_ctx, verify_option, ssl_verify_callback); ^ ssl.c:146:14: warning: implicit declaration of function 'SSL_CTX_load_verify_locations' is invalid in C99 [-Wimplicit-function-declaration] if (!SSL_CTX_load_verify_locations(p_ctx, tunable_ca_certs_file, NULL)) ^ ssl.c:150:19: warning: implicit declaration of function 'SSL_load_client_CA_file' is invalid in C99 [-Wimplicit-function-declaration] p_names = SSL_load_client_CA_file(tunable_ca_certs_file); ^ ssl.c:150:17: warning: incompatible integer to pointer conversion assigning to 'struct stack_st_X509_NAME *' from 'int' [-Wint-conversion] p_names = SSL_load_client_CA_file(tunable_ca_certs_file); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssl.c:155:9: warning: implicit declaration of function 'SSL_CTX_set_client_CA_list' is invalid in C99 [-Wimplicit-function-declaration] SSL_CTX_set_client_CA_list(p_ctx, p_names); ^ ssl.c:160:7: warning: implicit declaration of function 'SSL_CTX_set_session_id_context' is invalid in C99 [-Wimplicit-function-declaration] SSL_CTX_set_session_id_context(p_ctx, (void*) p_ctx_id, ^ ssl.c:166:7: warning: implicit declaration of function 'SSL_CTX_set_timeout' is invalid in C99 [-Wimplicit-function-declaration] SSL_CTX_set_timeout(p_ctx, INT_MAX); ^ ssl.c:256:60: error: use of undeclared identifier 'SSL_read' return ssl_read_common(p_sess, (SSL*) p_ssl, p_buf, len, SSL_read); ^ ssl.c:262:60: error: use of undeclared identifier 'SSL_peek'; did you mean 'ssl_peek'? return ssl_read_common(p_sess, (SSL*) p_ssl, p_buf, len, SSL_peek); ^~~~~~~~ ssl_peek ssl.c:260:1: note: 'ssl_peek' declared here ssl_peek(struct vsf_session* p_sess, void* p_ssl, char* p_buf, unsigned int len) ^ ssl.c:278:11: warning: implicit declaration of function 'SSL_get_error' is invalid in C99 [-Wimplicit-function-declaration] err = SSL_get_error(p_ssl, retval); ^ ssl.c:280:32: error: use of undeclared identifier 'SSL_ERROR_WANT_READ' while (retval < 0 && (err == SSL_ERROR_WANT_READ || ^ ssl.c:281:32: error: use of undeclared identifier 'SSL_ERROR_WANT_WRITE' err == SSL_ERROR_WANT_WRITE)); ^ ssl.c:285:22: warning: implicit declaration of function 'SSL_get_shutdown' is invalid in C99 [-Wimplicit-function-declaration] if (retval == 0 && SSL_get_shutdown(p_ssl) != SSL_RECEIVED_SHUTDOWN) ^ ssl.c:285:49: error: use of undeclared identifier 'SSL_RECEIVED_SHUTDOWN' if (retval == 0 && SSL_get_shutdown(p_ssl) != SSL_RECEIVED_SHUTDOWN) ^ ssl.c:317:14: warning: implicit declaration of function 'SSL_write' is invalid in C99 [-Wimplicit-function-declaration] retval = SSL_write((SSL*) p_ssl, p_buf, len); ^ ssl.c:318:11: warning: implicit declaration of function 'SSL_get_error' is invalid in C99 [-Wimplicit-function-declaration] err = SSL_get_error((SSL*) p_ssl, retval); ^ --- sysdeputil.o --- clang -c sysdeputil.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc --- ssl.o --- fatal error: too many errors emitted, stopping now [-ferror-limit=] --- seccompsandbox.o --- --- ssl.o --- 24 warnings and 20 errors generated. *** [ssl.o] Error code 1 bmake: stopped in /var/pkgsrc/work/net/vsftpd/work/vsftpd-3.0.3 --- seccompsandbox.o --- clang -c seccompsandbox.c -O2 -DPKG_SYSCONFDIR="\"/usr/pkg/etc/vsftpd\"" -DVARBASE="\"/var\"" -I/usr/include -Idummyinc 1 error bmake: stopped in /var/pkgsrc/work/net/vsftpd/work/vsftpd-3.0.3 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/vsftpd *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/vsftpd