build started at Fri Nov 30 05:43:04 UTC 2012 port directory: /usr/ports/mail/smtpfeed building for: 10.0-CURRENT amd64 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/mail/smtpfeed/Makefile 300896 2012-07-14 13:54:48Z beat $ ---Begin Environment--- OSVERSION=1000025 UNAME_v=FreeBSD 10.0-CURRENT UNAME_r=10.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HTTP_PROXY=http://10.56.1.1:8080 PKG_EXT=txz FORCE_PACKAGE=yes http_proxy=http://10.56.1.1:8080 tpid=35477 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKG_DELETE=/usr/local/sbin/pkg delete -y -f PKG_ADD=/usr/local/sbin/pkg add PWD=/usr/local/etc/poudriere.d LOGS=/pdata/logs HOME=/root USER=root SKIPSANITY=0 LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for smtpfeed-1.21: DOCS=off: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- ================================================= ===> smtpfeed-1.21 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /usr/ports/packages/All/pkg-1.0.2.txz Installing pkg-1.0.2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of smtpfeed-1.21 ====================================================================== ===> Cleaning for smtpfeed-1.21 ================================================= ====================================================================== ================================================= ===> License BSD accepted by the user ===> smtpfeed-1.21 depends on file: /usr/local/sbin/pkg - found => smtpfeed-1.21.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch ftp://sh.wide.ad.jp/WIDE/free-ware/smtpfeed/smtpfeed-1.21.tar.gz smtpfeed-1.21.tar.gz 0 B 0 Bps ====================================================================== ================================================= ===> License BSD accepted by the user ===> smtpfeed-1.21 depends on file: /usr/local/sbin/pkg - found => SHA256 Checksum OK for smtpfeed-1.21.tar.gz. ====================================================================== ================================================= ===> License BSD accepted by the user ===> smtpfeed-1.21 depends on file: /usr/local/sbin/pkg - found ===> Extracting for smtpfeed-1.21 => SHA256 Checksum OK for smtpfeed-1.21.tar.gz. ====================================================================== ================================================= ===> Patching for smtpfeed-1.21 ====================================================================== ================================================= ===> Configuring for smtpfeed-1.21 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.21/configure creating cache ./config.cache checking for lib_exec... /usr/libexec checking for gcc... cc checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing ) works... yes checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking for rm... /bin/rm checking how to run the C preprocessor... cpp checking for main in -lnsl... no checking for connect... yes checking for setproctitle in -lutil... yes checking whether to enable ipv6... yes checking for lib_exec... (cached) /usr/libexec checking ipv6 stack type... kame using libc checking for IPv6 resolver type... normal checking for main in -lresolv... no checking for inet_aton in -lresolv... no checking for ANSI C header files... yes checking for fcntl.h... yes checking for sys/time.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for netinet/in.h... yes Your has sin_len in sockaddr_in. checking for working const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether cc needs -traditional... no checking return type of signal handlers... void checking for strerror... yes checking for snprintf... yes checking for setproctitle... yes updating cache ./config.cache creating ./config.status creating Makefile creating compat.h ====================================================================== ================================================= ===> Building for smtpfeed-1.21 cc -DINET6 -O2 -pipe -fno-strict-aliasing -c log.c cc -DINET6 -O2 -pipe -fno-strict-aliasing -c address.c cc -DINET6 -O2 -pipe -fno-strict-aliasing -c dns.c cc -DINET6 -O2 -pipe -fno-strict-aliasing -c main.c cc -DINET6 -O2 -pipe -fno-strict-aliasing -c mxrand.c cc -DINET6 -O2 -pipe -fno-strict-aliasing -c proctitle.c cc -DINET6 -O2 -pipe -fno-strict-aliasing -c lmtp.c cc -DINET6 -O2 -pipe -fno-strict-aliasing -c smtp.c main.c:454:51: 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(0, (struct sockaddr *)&peername, &peernamelen) == 0) ^~~~~~~~~~~~ /usr/include/sys/socket.h:615:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ dns.c:393:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static query_chain_count = 0; ~~~~~~ ^ dns.c:828:35: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *)&from, &fromlen); ^~~~~~~~ /usr/include/sys/socket.h:620:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ dns.c:838:35: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *)&from, &fromlen); ^~~~~~~~ /usr/include/sys/socket.h:620:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ dns.c:856:5: warning: implicit declaration of function 'show_query' is invalid in C99 [-Wimplicit-function-declaration] show_query("DNS: answer received", ^ dns.c:1099:49: warning: '&&' within '||' [-Wlogical-op-parentheses] || qcp->type == T_ANY && hp->rcode == NOERROR && ancount == 0) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ dns.c:1099:49: note: place parentheses around the '&&' expression to silence this warning || qcp->type == T_ANY && hp->rcode == NOERROR && ancount == 0) ^ ( ) dns.c:1109:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if (hp->rcode == NOERROR && ancount == 0 ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ dns.c:1109:27: note: place parentheses around the '&&' expression to silence this warning smtp.c:653:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ if (hp->rcode == NOERROR && ancount == 0 ^ ( ) smtp.c:912:26: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strncat(pbuf, "v6", sizeof(pbuf)); ^~~~~~~~~~~~ smtp.c:912:26: note: change the argument to be the free space in the destination buffer minus the terminating null byte strncat(pbuf, "v6", sizeof(pbuf)); ^~~~~~~~~~~~ sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:916:26: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strncat(pbuf, "v4", sizeof(pbuf)); ^~~~~~~~~~~~ smtp.c:916:26: note: change the argument to be the free space in the destination buffer minus the terminating null byte strncat(pbuf, "v4", sizeof(pbuf)); ^~~~~~~~~~~~ sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:921:6: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] sizeof(pbuf)); ^~~~~~~~~~~~ smtp.c:921:6: note: change the argument to be the free space in the destination buffer minus the terminating null byte sizeof(pbuf)); ^~~~~~~~~~~~ sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:924:6: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] sizeof(pbuf)); ^~~~~~~~~~~~ smtp.c:924:6: note: change the argument to be the free space in the destination buffer minus the terminating null byte sizeof(pbuf)); ^~~~~~~~~~~~ sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:931:6: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] sizeof(pbuf)); ^~~~~~~~~~~~ smtp.c:931:6: note: change the argument to be the free space in the destination buffer minus the terminating null byte sizeof(pbuf)); ^~~~~~~~~~~~ sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:934:6: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] sizeof(pbuf)); ^~~~~~~~~~~~ smtp.c:934:6: note: change the argument to be the free space in the destination buffer minus the terminating null byte sizeof(pbuf)); ^~~~~~~~~~~~ sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:942:6: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] sizeof(pbuf)); ^~~~~~~~~~~~ smtp.c:942:6: note: change the argument to be the free space in the destination buffer minus the terminating null byte sizeof(pbuf)); ^~~~~~~~~~~~ sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:945:6: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] sizeof(pbuf)); ^~~~~~~~~~~~ smtp.c:945:6: note: change the argument to be the free space in the destination buffer minus the terminating null byte sizeof(pbuf)); ^~~~~~~~~~~~ sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:995:33: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strncat(hbuf, " (gateway)", sizeof(hbuf)); ^~~~~~~~~~~~ smtp.c:995:33: note: change the argument to be the free space in the destination buffer minus the terminating null byte strncat(hbuf, " (gateway)", sizeof(hbuf)); ^~~~~~~~~~~~ sizeof(hbuf) - strlen(hbuf) - 1 dns.c:2225:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] show_query(t, b, e) ^~~~~~~~~~ dns.c:2242:3: error: non-void function 'show_query' should return a value [-Wreturn-type] return; ^ dns.c:2252:4: error: non-void function 'show_query' should return a value [-Wreturn-type] return; ^ dns.c:2262:3: error: non-void function 'show_query' should return a value [-Wreturn-type] return; ^ dns.c:2273:4: error: non-void function 'show_query' should return a value [-Wreturn-type] return; ^ dns.c:2282:4: error: non-void function 'show_query' should return a value [-Wreturn-type] return; ^ smtp.c:1028:44: warning: '&&' within '||' [-Wlogical-op-parentheses] || IS4xx(rcptp->result) && rcptp->again && tracechain) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ smtp.c:1028:44: note: place parentheses around the '&&' expression to silence this warning || IS4xx(rcptp->result) && rcptp->again && tracechain) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 7 warnings and 5 errors generated. smtp.c:1961:57: 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(conn->socket, (struct sockaddr *)&cin, &len) < 0) ^~~~ /usr/include/sys/socket.h:615:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ smtp.c:1994:45: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types] markstatus(conn->rcpt, SMTP_TEMPFAIL(52), errmsg, 1); ^~~~~~ *** [dns.o] Error code 1 smtp.c:2490:46: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types] markstatus(conn->rcpt, SMTP_TEMPFAIL(52), errmsg, 1); ^~~~~~ cc -DINET6 -O2 -pipe -fno-strict-aliasing -c util.c 1 warning generated. util.c:91:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static firsttime=1; ~~~~~~ ^ util.c:318:4: warning: expression result unused [-Wunused-value] *p++; ^~~~ util.c:326:4: warning: expression result unused [-Wunused-value] *p++; ^~~~ util.c:331:4: warning: expression result unused [-Wunused-value] *p++; ^~~~ util.c:324:3: warning: expression result unused [-Wunused-value] *p++; ^~~~ util.c:579:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strncat (tmpbuf, ":", sizeof(tmpbuf)); ^~~~~~~~~~~~~~ util.c:579:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strncat (tmpbuf, ":", sizeof(tmpbuf)); ^~~~~~~~~~~~~~ sizeof(tmpbuf) - strlen(tmpbuf) - 1 util.c:580:30: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strncat (tmpbuf, *argp, sizeof(tmpbuf)); ^~~~~~~~~~~~~~ util.c:580:30: note: change the argument to be the free space in the destination buffer minus the terminating null byte strncat (tmpbuf, *argp, sizeof(tmpbuf)); ^~~~~~~~~~~~~~ sizeof(tmpbuf) - strlen(tmpbuf) - 1 7 warnings generated. 14 warnings generated. 1 error *** [do-build] Error code 1 Stop in /usr/ports/mail/smtpfeed. ===> Cleaning for smtpfeed-1.21 build of /usr/ports/mail/smtpfeed ended at Fri Nov 30 05:43:53 UTC 2012