=> 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 up-imapproxy-1.2.5nb7 --- ./src/icc.o --- --- ./src/main.o --- --- ./src/imapcommon.o --- --- ./src/request.o --- --- ./src/hash.o --- --- ./src/becomenonroot.o --- --- ./src/config.o --- --- ./src/logging.o --- --- ./src/select.o --- --- ./src/pimpstat.o --- --- ./src/icc.o --- clang -O2 -I/usr/include -I/usr/include -O2 -I/usr/include -I. -I./include -c -o ./src/icc.o ./src/icc.c --- ./src/main.o --- clang -O2 -I/usr/include -I/usr/include -O2 -I/usr/include -I. -I./include -c -o ./src/main.o ./src/main.c --- ./src/imapcommon.o --- clang -O2 -I/usr/include -I/usr/include -O2 -I/usr/include -I. -I./include -c -o ./src/imapcommon.o ./src/imapcommon.c --- ./src/hash.o --- clang -O2 -I/usr/include -I/usr/include -O2 -I/usr/include -I. -I./include -c -o ./src/hash.o ./src/hash.c --- ./src/becomenonroot.o --- clang -O2 -I/usr/include -I/usr/include -O2 -I/usr/include -I. -I./include -c -o ./src/becomenonroot.o ./src/becomenonroot.c --- ./src/pimpstat.o --- clang -O2 -I/usr/include -I/usr/include -O2 -I/usr/include -I. -I./include -c -o ./src/pimpstat.o ./src/pimpstat.c --- ./src/config.o --- clang -O2 -I/usr/include -I/usr/include -O2 -I/usr/include -I. -I./include -c -o ./src/config.o ./src/config.c --- ./src/select.o --- clang -O2 -I/usr/include -I/usr/include -O2 -I/usr/include -I. -I./include -c -o ./src/select.o ./src/select.c --- ./src/logging.o --- clang -O2 -I/usr/include -I/usr/include -O2 -I/usr/include -I. -I./include -c -o ./src/logging.o ./src/logging.c --- ./src/request.o --- clang -O2 -I/usr/include -I/usr/include -O2 -I/usr/include -I. -I./include -c -o ./src/request.o ./src/request.c --- ./src/hash.o --- ./src/hash.c:84:106: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] syslog(LOG_ERR, "Hash(): Maximum of %d for '%s' exceeds architectural limit of %d", Size, Input_Key, sizeof Hash_Buffer ); ~~ ^~~~~~~~~~~~~~~~~~ %lu --- ./src/main.o --- ./src/main.c:464:18: warning: implicit declaration of function 'RAND_egd' is invalid in C99 [-Wimplicit-function-declaration] if ( RAND_egd( ( RAND_file_name( f_randfile, sizeof( f_randfile ) ) == f_randfile ) ? f_randfile : "/.rnd" ) ) ^ ./src/main.c:472:29: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] tls_ctx = SSL_CTX_new( TLSv1_client_method() ); ^ /usr/include/openssl/ssl.h:1629:1: note: 'TLSv1_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ ./src/main.c:620:9: warning: format specifies type 'int' but the argument has type 'pthread_t' (aka 'struct __pthread_st *') [-Wformat] fn, RecycleThread ); ^~~~~~~~~~~~~ ./src/main.c:644:60: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] clientsd = accept( listensd, (struct sockaddr *)&cliaddr, &addrlen ); ^~~~~~~~ /usr/include/sys/socket.h:651:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ./src/main.c:673:59: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] pthread_create( &ThreadId, &attr, (void *)HandleRequest, (void *)clientsd ); ^ ./src/main.c:1155:16: error: incomplete definition of type 'struct x509_store_ctx_st' switch (ctx->error) { ~~~^ /usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'struct x509_store_ctx_st' typedef struct x509_store_ctx_st X509_STORE_CTX; ^ 5 warnings and 1 error generated. --- ./src/hash.o --- 1 warning generated. --- ./src/main.o --- *** [./src/main.o] Error code 1 make: stopped in /data/scratch/mail/up-imapproxy/work/up-imapproxy-1.2.5 --- ./src/config.o --- ./src/config.c:499:24: warning: address of array 'ConfigTable[i].Keyword' will always evaluate to 'true' [-Wpointer-bool-conversion] if ( ! ConfigTable[i].Keyword ) ~ ~~~~~~~~~~~~~~~^~~~~~~ 1 warning generated. --- ./src/request.o --- ./src/request.c:518:127: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] snprintf( SendBuf, BufLen, "\n\n-----> C= %d %s PROXY: user tracing disabled. Expect further output until client logout.\n", time( 0 ), TraceUser ); ~~ ^~~~~~~~~ %ld ./src/request.c:562:86: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] snprintf( SendBuf, BufLen, "\n\n-----> C= %d %s PROXY: user tracing enabled.\n", time( 0 ), TraceUser ); ~~ ^~~~~~~~~ %ld ./src/request.c:717:22: warning: passing 'char [4096]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] EVP_EncodeBlock( EncodedUsername, Username, strlen( Username ) ); ^~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:617:36: note: passing argument to parameter 't' here int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); ^ ./src/request.c:717:39: warning: passing 'char [64]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] EVP_EncodeBlock( EncodedUsername, Username, strlen( Username ) ); ^~~~~~~~ /usr/include/openssl/evp.h:617:60: note: passing argument to parameter 'f' here int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); ^ ./src/request.c:765:27: warning: passing 'char [64]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] rc = EVP_DecodeBlock( Username, EncodedUsername, BytesRead - 2 ); ^~~~~~~~ /usr/include/openssl/evp.h:624:36: note: passing argument to parameter 't' here int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); ^ ./src/request.c:765:37: warning: passing 'char [4096]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] rc = EVP_DecodeBlock( Username, EncodedUsername, BytesRead - 2 ); ^~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:624:60: note: passing argument to parameter 'f' here int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); ^ ./src/request.c:773:22: warning: passing 'char [4096]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] EVP_EncodeBlock( EncodedPassword, Password, strlen( Password ) ); ^~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:617:36: note: passing argument to parameter 't' here int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); ^ ./src/request.c:773:39: warning: passing 'char [64]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] EVP_EncodeBlock( EncodedPassword, Password, strlen( Password ) ); ^~~~~~~~ /usr/include/openssl/evp.h:617:60: note: passing argument to parameter 'f' here int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); ^ ./src/request.c:807:27: warning: passing 'char [64]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] rc = EVP_DecodeBlock( Password, EncodedPassword, BytesRead - 2 ); ^~~~~~~~ /usr/include/openssl/evp.h:624:36: note: passing argument to parameter 't' here int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); ^ ./src/request.c:807:37: warning: passing 'char [4096]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- ./src/imapcommon.o --- ./src/imapcommon.c:391:16: error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st') --- ./src/request.o --- rc = EVP_DecodeBlock( Password, EncodedPassword, BytesRead - 2 ); ^~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:624:60: note: passing argument to parameter 'f' here int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); ^ --- ./src/imapcommon.o --- EVP_MD_CTX mdctx; ^ /usr/include/openssl/ossl_typ.h:92:16: note: forward declaration of 'struct evp_md_ctx_st' typedef struct evp_md_ctx_st EVP_MD_CTX; ^ --- ./src/request.o --- ./src/request.c:810:71: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if ( getpeername( Client->conn->sd, (struct sockaddr *)&cli_addr, &addrlen ) < 0 ) ^~~~~~~~ /usr/include/sys/socket.h:655:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ./src/request.c:812:95: warning: data argument not used by format string [-Wformat-extra-args] syslog( LOG_WARNING, "AUTH_LOGIN: failed: getpeername() failed for client sd: %s", Username, strerror( errno ) ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./src/request.c:942:71: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if ( getpeername( Client->conn->sd, (struct sockaddr *)&cli_addr, &addrlen ) < 0 ) ^~~~~~~~ /usr/include/sys/socket.h:655:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ --- ./src/imapcommon.o --- ./src/imapcommon.c:663:15: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] Username, strlen( Password ) ); ^~~~~~~~~~~~~~~~~~ --- ./src/request.o --- ./src/request.c:1195:99: warning: address of array 'TraceUser' will always evaluate to 'true' [-Wpointer-bool-conversion] snprintf( TraceBuf, sizeof TraceBuf - 1, "\n\n-----> C= %d %s SERVER: sd [%d]\n", time( 0 ), ( (TraceUser) ? TraceUser : "Null username" ), Server->conn->sd ); ^~~~~~~~~ ~ ./src/request.c:1195:85: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] --- ./src/select.o --- ./src/select.c:351:103: warning: more '%' conversions than data arguments [-Wformat] --- ./src/request.o --- snprintf( TraceBuf, sizeof TraceBuf - 1, "\n\n-----> C= %d %s SERVER: sd [%d]\n", time( 0 ), ( (TraceUser) ? TraceUser : "Null username" ), Server->conn->sd ); ~~ ^~~~~~~~~ %ld --- ./src/imapcommon.o --- ./src/imapcommon.c:862:15: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] --- ./src/select.o --- syslog( LOG_ERR, "%s: Server response to SELECT command contains unexpected literal data on sd [%d].", fn ); ~^ --- ./src/imapcommon.o --- Expiration = abs( Expiration / 2 ); ^ ./src/imapcommon.c:862:15: note: remove the call to 'abs' since unsigned values cannot be negative Expiration = abs( Expiration / 2 ); ^~~ --- ./src/request.o --- ./src/request.c:1241:103: warning: address of array 'TraceUser' will always evaluate to 'true' [-Wpointer-bool-conversion] snprintf( TraceBuf, sizeof TraceBuf - 1, "\n\n-----> C= %d %s CLIENT: sd [%d]\n", time( 0 ), ( (TraceUser) ? TraceUser : "Null username" ), Client->conn->sd ); ^~~~~~~~~ ~ ./src/request.c:1241:89: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] snprintf( TraceBuf, sizeof TraceBuf - 1, "\n\n-----> C= %d %s CLIENT: sd [%d]\n", time( 0 ), ( (TraceUser) ? TraceUser : "Null username" ), Client->conn->sd ); ~~ ^~~~~~~~~ %ld ./src/request.c:1403:103: warning: address of array 'TraceUser' will always evaluate to 'true' [-Wpointer-bool-conversion] snprintf( TraceBuf, sizeof TraceBuf - 1, "\n\n-----> C= %d %s SERVER: sd [%d]\n", time( 0 ), ( (TraceUser) ? TraceUser : "Null username" ), Server->conn->sd ); ^~~~~~~~~ ~ ./src/request.c:1403:89: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] snprintf( TraceBuf, sizeof TraceBuf - 1, "\n\n-----> C= %d %s SERVER: sd [%d]\n", time( 0 ), ( (TraceUser) ? TraceUser : "Null username" ), Server->conn->sd ); ~~ ^~~~~~~~~ %ld ./src/request.c:1438:103: warning: address of array 'TraceUser' will always evaluate to 'true' [-Wpointer-bool-conversion] snprintf( TraceBuf, sizeof TraceBuf - 1, "\n\n-----> C= %d %s CLIENT: sd [%d]\n", time( 0 ), ( (TraceUser) ? TraceUser : "Null username" ), Client->conn->sd ); ^~~~~~~~~ ~ ./src/request.c:1438:89: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] snprintf( TraceBuf, sizeof TraceBuf - 1, "\n\n-----> C= %d %s CLIENT: sd [%d]\n", time( 0 ), ( (TraceUser) ? TraceUser : "Null username" ), Client->conn->sd ); ~~ ^~~~~~~~~ %ld --- ./src/imapcommon.o --- 2 warnings and 1 error generated. --- ./src/request.o --- ./src/request.c:1900:26: warning: more '%' conversions than data arguments [-Wformat] syslog( LOG_NOTICE, "%s: Failed to read string literal from client on login." ); ~^ --- ./src/imapcommon.o --- *** [./src/imapcommon.o] Error code 1 make: stopped in /data/scratch/mail/up-imapproxy/work/up-imapproxy-1.2.5 --- ./src/select.o --- 1 warning generated. --- ./src/request.o --- 22 warnings generated. 2 errors make: stopped in /data/scratch/mail/up-imapproxy/work/up-imapproxy-1.2.5 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/mail/up-imapproxy *** Error code 1 Stop. make: stopped in /data/pkgsrc/mail/up-imapproxy