=> 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 imapproxy-1.2.7nb6 --- ./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/threads.o --- --- ./src/select.o --- --- ./src/pimpstat.o --- --- ./src/main.o --- clang -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I/usr/include -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I. -I./include -c -o ./src/main.o ./src/main.c --- ./src/config.o --- clang -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I/usr/include -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I. -I./include -c -o ./src/config.o ./src/config.c --- ./src/logging.o --- clang -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I/usr/include -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I. -I./include -c -o ./src/logging.o ./src/logging.c --- ./src/request.o --- clang -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I/usr/include -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I. -I./include -c -o ./src/request.o ./src/request.c --- ./src/imapcommon.o --- clang -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I/usr/include -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I. -I./include -c -o ./src/imapcommon.o ./src/imapcommon.c --- ./src/becomenonroot.o --- clang -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I/usr/include -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I. -I./include -c -o ./src/becomenonroot.o ./src/becomenonroot.c --- ./src/icc.o --- clang -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I/usr/include -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I. -I./include -c -o ./src/icc.o ./src/icc.c --- ./src/hash.o --- clang -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I/usr/include -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I. -I./include -c -o ./src/hash.o ./src/hash.c --- ./src/threads.o --- clang -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I/usr/include -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I. -I./include -c -o ./src/threads.o ./src/threads.c --- ./src/pimpstat.o --- clang -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I/usr/include -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I. -I./include -c -o ./src/pimpstat.o ./src/pimpstat.c --- ./src/select.o --- clang -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I/usr/include -O2 -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/imapproxy.conf\" -DDEFAULT_PID_FILE=\"/var/run/imapproxy.pid\" -I/usr/include -I. -I./include -c -o ./src/select.o ./src/select.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 1 warning generated. --- ./src/main.o --- ./src/main.c:475: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:674:7: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &sockaddrlen ); ^~~~~~~~~~~~ /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:703: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:1391: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; ^ 3 warnings and 1 error generated. --- ./src/imapcommon.o --- ./src/imapcommon.c:401:16: error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st') 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/imapcommon.c:741:51: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] Username, ClientAddr, portstr, total_size, sizeof(AuthBuf)); --- ./src/main.o --- *** [./src/main.o] Error code 1 make: stopped in /data/scratch/mail/imapproxy/work/squirrelmail-imap_proxy-1.2.7 --- ./src/imapcommon.o --- ^~~~~~~~~~~~~~~ ./src/imapcommon.c:762:20: warning: passing 'char [8192]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] EVP_EncodeBlock( EncodedAuthBuf, AuthBuf, AuthBufIndex ); ^~~~~~~~~~~~~~ /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/imapcommon.c:762:36: warning: passing 'char [8192]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] EVP_EncodeBlock( EncodedAuthBuf, AuthBuf, AuthBufIndex ); ^~~~~~~ /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/imapcommon.c:783:15: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] Username, strlen( Password ) ); ^~~~~~~~~~~~~~~~~~ ./src/imapcommon.c:1004:15: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] Expiration = abs( Expiration / 2 ); ^ ./src/imapcommon.c:1004:15: note: remove the call to 'abs' since unsigned values cannot be negative Expiration = abs( Expiration / 2 ); ^~~ 5 warnings and 1 error generated. --- ./src/select.o --- ./src/select.c:356:14: warning: format specifies type 'int' but the argument has type 'struct IMAPConnectionDescriptor *' [-Wformat] fn, Server->conn ); ^~~~~~~~~~~~ --- ./src/imapcommon.o --- *** [./src/imapcommon.o] Error code 1 make: stopped in /data/scratch/mail/imapproxy/work/squirrelmail-imap_proxy-1.2.7 --- ./src/config.o --- ./src/config.c:533:24: warning: address of array 'ConfigTable[i].Keyword' will always evaluate to 'true' [-Wpointer-bool-conversion] if ( ! ConfigTable[i].Keyword ) --- ./src/request.o --- ./src/request.c:729:22: warning: passing 'char [8192]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- ./src/config.o --- ~ ~~~~~~~~~~~~~~~^~~~~~~ --- ./src/request.o --- 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:729: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:778: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:778:37: warning: passing 'char [8192]' 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:786:22: warning: passing 'char [8192]' 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:786:39: warning: passing 'char [8192]' 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:821:27: warning: passing 'char [8192]' 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:821:37: warning: passing 'char [8192]' to parameter of type 'const 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:60: note: passing argument to parameter 'f' here int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); ^ ./src/request.c:825:9: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &sockaddrlen ) < 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:972:9: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &sockaddrlen ) < 0 ) ^~~~~~~~~~~~ /usr/include/sys/socket.h:655:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ --- ./src/select.o --- 1 warning generated. --- ./src/config.o --- 1 warning generated. --- ./src/request.o --- 10 warnings generated. 2 errors make: stopped in /data/scratch/mail/imapproxy/work/squirrelmail-imap_proxy-1.2.7 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/mail/imapproxy *** Error code 1 Stop. make: stopped in /data/pkgsrc/mail/imapproxy