=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for up-imapproxy-1.2.5nb5 cc -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I. -I./include -c -o ./src/icc.o ./src/icc.c cc -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/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/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/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/pkgsrc/work/mail/up-imapproxy/work/.buildlink/include/openssl/evp.h:565:52: 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/pkgsrc/work/mail/up-imapproxy/work/.buildlink/include/openssl/evp.h:565:69: note: passing argument to parameter 's' here int EVP_DigestFinal(EVP_MD_CTX *ctx,unsigned char *md,unsigned int *s); ^ 2 warnings generated. cc -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/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/pkgsrc/work/mail/up-imapproxy/work/.buildlink/include/openssl/evp.h:639: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/pkgsrc/work/mail/up-imapproxy/work/.buildlink/include/openssl/evp.h:639: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/pkgsrc/work/mail/up-imapproxy/work/.buildlink/include/openssl/evp.h:646: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/pkgsrc/work/mail/up-imapproxy/work/.buildlink/include/openssl/evp.h:646: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/pkgsrc/work/mail/up-imapproxy/work/.buildlink/include/openssl/evp.h:639: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/pkgsrc/work/mail/up-imapproxy/work/.buildlink/include/openssl/evp.h:639: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/pkgsrc/work/mail/up-imapproxy/work/.buildlink/include/openssl/evp.h:646: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/pkgsrc/work/mail/up-imapproxy/work/.buildlink/include/openssl/evp.h:646: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:624: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:624: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/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I. -I./include -c -o ./src/hash.o ./src/hash.c cc -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I. -I./include -c -o ./src/becomenonroot.o ./src/becomenonroot.c cc -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I. -I./include -c -o ./src/config.o ./src/config.c cc -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I. -I./include -c -o ./src/logging.o ./src/logging.c cc -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/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/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lssl -lcrypto -lpthread cc -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I. -I./include -c -o ./src/pimpstat.o ./src/pimpstat.c cc -o ./bin/pimpstat ./src/pimpstat.o ./src/config.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lcurses ./src/pimpstat.o: In function `main': ./src/pimpstat.c:(.text+0x41d): 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: stopped in /usr/pkgsrc/mail/up-imapproxy *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/mail/up-imapproxy