=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for up-imapproxy-1.2.5nb7 cc -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I. -I./include -c -o ./src/icc.o ./src/icc.c cc -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I. -I./include -c -o ./src/main.o ./src/main.c ./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/pkgsrc/work/mail/up-imapproxy/work/.buildlink/include/pthread.h:502:79: note: passing argument to parameter here extern int __pthread_accept(int, struct sockaddr *, socklen_t *); ^ 2 warnings generated. cc -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I. -I./include -c -o ./src/imapcommon.o ./src/imapcommon.c ./src/imapcommon.c:400:29: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] EVP_DigestFinal(&mdctx, md5pw, &md_len); ^~~~~ /usr/include/openssl/evp.h:581:53: note: passing argument to parameter 'md' here int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s); ^ ./src/imapcommon.c:400:36: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] EVP_DigestFinal(&mdctx, md5pw, &md_len); ^~~~~~~ /usr/include/openssl/evp.h:581:71: note: passing argument to parameter 's' here int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s); ^ ./src/imapcommon.c:862:15: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] 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 ); ^~~ 3 warnings generated. cc -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I. -I./include -c -o ./src/request.o ./src/request.c ./src/request.c:518:127: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long long') [-Wformat] snprintf( SendBuf, BufLen, "\n\n-----> C= %d %s PROXY: user tracing disabled. Expect further output until client logout.\n", time( 0 ), TraceUser ); ~~ ^~~~~~~~~ %lld ./src/request.c:562:86: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long long') [-Wformat] snprintf( SendBuf, BufLen, "\n\n-----> C= %d %s PROXY: user tracing enabled.\n", time( 0 ), TraceUser ); ~~ ^~~~~~~~~ %lld ./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:658: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:658: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:665: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:665: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:658: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:658: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:665: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] rc = EVP_DecodeBlock( Password, EncodedPassword, BytesRead - 2 ); ^~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:665:60: note: passing argument to parameter 'f' here int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); ^ ./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:645: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:645:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ./src/request.c:1195:85: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long 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 ); ~~ ^~~~~~~~~ %lld ./src/request.c:1241:89: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long 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 ); ~~ ^~~~~~~~~ %lld ./src/request.c:1403:89: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long 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 ); ~~ ^~~~~~~~~ %lld ./src/request.c:1438:89: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long 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 ); ~~ ^~~~~~~~~ %lld ./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." ); ~^ 18 warnings generated. cc -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I. -I./include -c -o ./src/hash.o ./src/hash.c cc -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I. -I./include -c -o ./src/becomenonroot.o ./src/becomenonroot.c cc -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I. -I./include -c -o ./src/config.o ./src/config.c ./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. cc -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I. -I./include -c -o ./src/logging.o ./src/logging.c cc -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I. -I./include -c -o ./src/select.o ./src/select.c ./src/select.c:351:103: warning: more '%' conversions than data arguments [-Wformat] syslog( LOG_ERR, "%s: Server response to SELECT command contains unexpected literal data on sd [%d].", fn ); ~^ 1 warning generated. cc -o ./bin/in.imapproxyd ./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 -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lssl -lcrypto -lpthread cc -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -I. -I./include -c -o ./src/pimpstat.o ./src/pimpstat.c cc -o ./bin/pimpstat ./src/pimpstat.o ./src/config.o -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lcurses ./src/pimpstat.o: In function `main': ./src/pimpstat.c:(.text+0x42d): undefined reference to `__pthread_sleep' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/mail/up-imapproxy/work/up-imapproxy-1.2.5 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/mail/up-imapproxy *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/mail/up-imapproxy