build started at Fri Nov 30 16:21:31 UTC 2012 port directory: /usr/ports/mail/smtp-gated building for: 10.0-CURRENT amd64 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/mail/smtp-gated/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=12394 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 smtp-gated-1.4.18.8: CHUNKING=off: Enable support for SMTP CHUNKING extension ECONNRESET=off: Be quiet about Connection reset by peer message NAT=on: NAT transparent proxy code PCRE=on: Use Perl Compatible Regular Expressions ===> Use 'make config' to modify these settings ---End OPTIONS List--- ================================================= ===> smtp-gated-1.4.18.8 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 smtp-gated-1.4.18.8 ===> smtp-gated-1.4.18.8 depends on shared library: pcre.1 - not found ===> Verifying install for pcre.1 in /usr/ports/devel/pcre ===> Installing existing package /usr/ports/packages/All/pcre-8.31_1.txz Installing pcre-8.31_1... done ===> Returning to build of smtp-gated-1.4.18.8 ====================================================================== ===> Cleaning for smtp-gated-1.4.18.8 ================================================= ====================================================================== ================================================= ===> License GPLv2 accepted by the user ===> smtp-gated-1.4.18.8 depends on file: /usr/local/sbin/pkg - found => smtp-gated-1.4.18.8.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch http://software.klolik.org/smtp-gated/files/smtp-gated-1.4.18.8.tar.gz smtp-gated-1.4.18.8.tar.gz 0 B 0 Bps ====================================================================== ================================================= ===> License GPLv2 accepted by the user ===> smtp-gated-1.4.18.8 depends on file: /usr/local/sbin/pkg - found => SHA256 Checksum OK for smtp-gated-1.4.18.8.tar.gz. ====================================================================== ================================================= ===> License GPLv2 accepted by the user ===> smtp-gated-1.4.18.8 depends on file: /usr/local/sbin/pkg - found ===> Extracting for smtp-gated-1.4.18.8 => SHA256 Checksum OK for smtp-gated-1.4.18.8.tar.gz. ====================================================================== ================================================= ===> Patching for smtp-gated-1.4.18.8 ====================================================================== ================================================= ===> smtp-gated-1.4.18.8 depends on shared library: pcre.1 - found ===> Configuring for smtp-gated-1.4.18.8 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/mail/smtp-gated/work/smtp-gated-1.4.18.8/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/mail/smtp-gated/work/smtp-gated-1.4.18.8/configure checking build system type... amd64-portbld-freebsd10.0 checking host system type... amd64-portbld-freebsd10.0 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking whether cc understands -c and -o together... yes checking whether make sets $(MAKE)... (cached) yes checking for strip... strip checking for perl... no checking for txt2tags... no checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for uint32_t... yes checking for u_int32_t... yes checking for sig_atomic_t... yes checking for socklen_t... no checking size of pid_t... 4 checking size of uid_t... 4 checking size of time_t... 8 checking size of size_t... 8 checking for struct stat.st_size... yes checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdint.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for inttypes.h... (cached) yes checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking endian.h usability... no checking endian.h presence... no checking for endian.h... no checking sys/endian.h usability... yes checking sys/endian.h presence... yes checking for sys/endian.h... yes checking byteswap.h usability... no checking byteswap.h presence... no checking for byteswap.h... no checking machine/bswap.h usability... no checking machine/bswap.h presence... no checking for machine/bswap.h... no checking whether bswap_16 is declared... no checking whether bswap_32 is declared... no checking whether bswap_64 is declared... no checking whether bswap16 is declared... yes checking whether bswap32 is declared... yes checking whether bswap64 is declared... yes checking whether swap16 is declared... no checking whether swap32 is declared... no checking whether swap64 is declared... no checking whether __swap16 is declared... no checking whether __swap32 is declared... no checking whether __swap64 is declared... no checking for strndup... yes checking for asprintf... yes checking for vasprintf... yes checking for setenv... yes checking for setproctitle... yes checking for accept... yes checking for inet_ntoa... yes checking for gethostname... yes checking for flock... yes checking for mmap... yes checking for inet_aton... yes checking for getline... yes checking for getrusage... yes checking for setrlimit... yes checking whether RLIMIT_CORE is declared... yes checking whether RLIMIT_AS is declared... yes checking whether RLIMIT_DATA is declared... yes checking whether RLIMIT_FSIZE is declared... yes checking whether IP_PKTINFO is declared... no checking for linux/netfilter_ipv4.h... no checking for linux/netfilter/xt_TPROXY.h... no checking netinet/ipl.h usability... yes checking netinet/ipl.h presence... yes checking for netinet/ipl.h... yes checking for net/pfvar.h... yes checking for netinet/ip_fw.h... yes checking for netinet/ip_fw2.h... no checking libmksd.h usability... no checking libmksd.h presence... no checking for libmksd.h... no checking libdspam.h usability... no checking libdspam.h presence... no checking for libdspam.h... no checking dspam/libdspam.h usability... no checking dspam/libdspam.h presence... no checking for dspam/libdspam.h... no checking pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking pcre/pcre.h usability... no checking pcre/pcre.h presence... no checking for pcre/pcre.h... no checking for spf2/spf.h... no checking if debugging enabled... no configure: ----------------------------------------------------------- configure: setup: proxy messages default language: en configure: setup: NAT support: BSD/ipfw configure: setup: NAT support: BSD/ipfilter configure: setup: NAT support: BSD/pf configure: setup: use of shared memory: yes configure: setup: SMTP CHUNKING extension support (BROKEN): no configure: setup: silent ECONNRESET: no configure: setup: enable mksd: no configure: setup: enable regexp: yes configure: setup: enable SPF: no configure: setup: enable libdspam (BROKEN): disabled configure: ----------------------------------------------------------- configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating lib/Makefile config.status: creating src/lang.h config.status: creating lang/Makefile config.status: creating contrib/Makefile config.status: creating doc/Makefile config.status: creating tests/Makefile config.status: creating smtp-gated.spec config.status: creating doc/smtp-gated.t2t config.status: creating doc/smtp-gated.conf.t2t config.status: creating config.h config.status: executing depfiles commands ====================================================================== ================================================= ===> Building for smtp-gated-1.4.18.8 make all-recursive Making all in src cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -DMD5_TEST -O2 -pipe -fno-strict-aliasing -Wall -MT md5_test-md5.o -MD -MP -MF .deps/md5_test-md5.Tpo -c -o md5_test-md5.o `test -f 'md5.c' || echo './'`md5.c cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -O2 -pipe -fno-strict-aliasing -Wall -MT smtp_gated-md5.o -MD -MP -MF .deps/smtp_gated-md5.Tpo -c -o smtp_gated-md5.o `test -f 'md5.c' || echo './'`md5.c cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wall -MT regex-test.o -MD -MP -MF .deps/regex-test.Tpo -c -o regex-test.o regex-test.c cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -O2 -pipe -fno-strict-aliasing -Wall -MT smtp_gated-smtp-gated.o -MD -MP -MF .deps/smtp_gated-smtp-gated.Tpo -c -o smtp_gated-smtp-gated.o `test -f 'smtp-gated.c' || echo './'`smtp-gated.c cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -O2 -pipe -fno-strict-aliasing -Wall -MT smtp_gated-confvars.o -MD -MP -MF .deps/smtp_gated-confvars.Tpo -c -o smtp_gated-confvars.o `test -f 'confvars.c' || echo './'`confvars.c cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -O2 -pipe -fno-strict-aliasing -Wall -MT smtp_gated-conffile.o -MD -MP -MF .deps/smtp_gated-conffile.Tpo -c -o smtp_gated-conffile.o `test -f 'conffile.c' || echo './'`conffile.c cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -O2 -pipe -fno-strict-aliasing -Wall -MT smtp_gated-util.o -MD -MP -MF .deps/smtp_gated-util.Tpo -c -o smtp_gated-util.o `test -f 'util.c' || echo './'`util.c mv -f .deps/regex-test.Tpo .deps/regex-test.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -O2 -pipe -fno-strict-aliasing -Wall -MT smtp_gated-daemon.o -MD -MP -MF .deps/smtp_gated-daemon.Tpo -c -o smtp_gated-daemon.o `test -f 'daemon.c' || echo './'`daemon.c smtp-gated.c:542:2: warning: run-test.pl --long: possible memory leak [-W#warnings] #warning run-test.pl --long: possible memory leak ^ smtp-gated.c:2368:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fdprintf(data->client, line); ^~~~ smtp-gated.c:2475:2: warning: TEST ratelimit_ip [-W#warnings] #warning TEST ratelimit_ip ^ cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -O2 -pipe -fno-strict-aliasing -Wall -MT smtp_gated-lookup.o -MD -MP -MF .deps/smtp_gated-lookup.Tpo -c -o smtp_gated-lookup.o `test -f 'lookup.c' || echo './'`lookup.c util.c:650:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mv -f .deps/smtp_gated-confvars.Tpo .deps/smtp_gated-confvars.Po syslog(prio, buf); ^~~ util.c:668:49: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] log_action(LOG_CRIT, "shmget(%d) failed: %s", size, strerror(errno)); ~~ ^~~~ %zd util.c:972:50: error: expected ';' at end of declaration inline u_int32_t power(u_int32_t x, u_int32_t y) ^ ; util.c:1018:2: warning: openf(): TODO? [-W#warnings] #warning openf(): TODO? ^ util.c:1053:10: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign] buf_len = buf_len; // looks nice ~~~~~~~ ^ ~~~~~~~ mv -f .deps/smtp_gated-md5.Tpo .deps/smtp_gated-md5.Po mv -f .deps/md5_test-md5.Tpo .deps/md5_test-md5.Po mv -f .deps/smtp_gated-conffile.Tpo .deps/smtp_gated-conffile.Po 4 warnings and 1 error generated. mv -f .deps/smtp_gated-daemon.Tpo .deps/smtp_gated-daemon.Po *** [smtp_gated-util.o] Error code 1 cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -O2 -pipe -fno-strict-aliasing -Wall -MT smtp_gated-scan.o -MD -MP -MF .deps/smtp_gated-scan.Tpo -c -o smtp_gated-scan.o `test -f 'scan.c' || echo './'`scan.c cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -O2 -pipe -fno-strict-aliasing -Wall -MT smtp_gated-dump.o -MD -MP -MF .deps/smtp_gated-dump.Tpo -c -o smtp_gated-dump.o `test -f 'dump.c' || echo './'`dump.c In file included from lookup.c:83: ./util.h:63:9: warning: 'ASSERT' macro redefined #define ASSERT(e) \ ^ /usr/include/netinet/ip_compat.h:1741:11: note: previous definition is here # define ASSERT(x) do { if (!(x)) abort(); } while (0) ^ lookup.c:261: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(data->client, (struct sockaddr *)&sin, &namelen) == -1) ^~~~~~~~ /usr/include/sys/socket.h:615:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ lookup.c:265:58: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(data->client, (struct sockaddr *)&sloc, &namelen) == -1) ^~~~~~~~ /usr/include/sys/socket.h:616:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ dump.c:232:80: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fdprintf(fd, "%-15s %4u %8u %8u %7.1f", inet_ntoa(UINT32_TO_SIN(ci->dst)), ci->transaction, ci->cli_rx, ci->srv_rx, speed); ~~~ ^~~~~~~~~~~~~~~ %4zu dump.c:232:97: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fdprintf(fd, "%-15s %4u %8u %8u %7.1f", inet_ntoa(UINT32_TO_SIN(ci->dst)), ci->transaction, ci->cli_rx, ci->srv_rx, speed); ~~~ ^~~~~~~~~~ %8zu dump.c:232:109: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fdprintf(fd, "%-15s %4u %8u %8u %7.1f", inet_ntoa(UINT32_TO_SIN(ci->dst)), ci->transaction, ci->cli_rx, ci->srv_rx, speed); ~~~ ^~~~~~~~~~ %8zu dump.c:350:10: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CONF_D2(sizeof(struct session_t)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./conffile.h:44:48: note: expanded from macro 'CONF_D2' #define CONF_D2(a) printf(" %-30s: %d\n", #a, a); ~~ ^ dump.c:351:10: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CONF_D2(sizeof(struct scoreboard_t)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./conffile.h:44:48: note: expanded from macro 'CONF_D2' #define CONF_D2(a) printf(" %-30s: %d\n", #a, a); ~~ ^ dump.c:352:10: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CONF_D2(sizeof(struct pipeline_t)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./conffile.h:44:48: note: expanded from macro 'CONF_D2' #define CONF_D2(a) printf(" %-30s: %d\n", #a, a); ~~ ^ dump.c:353:10: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CONF_D2(sizeof(struct ratelimit_record_t)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./conffile.h:44:48: note: expanded from macro 'CONF_D2' #define CONF_D2(a) printf(" %-30s: %d\n", #a, a); ~~ ^ 7 warnings generated. mv -f .deps/smtp_gated-scan.Tpo .deps/smtp_gated-scan.Po mv -f .deps/smtp_gated-dump.Tpo .deps/smtp_gated-dump.Po 3 warnings generated. mv -f .deps/smtp_gated-lookup.Tpo .deps/smtp_gated-lookup.Po 3 warnings generated. mv -f .deps/smtp_gated-smtp-gated.Tpo .deps/smtp_gated-smtp-gated.Po 1 error *** [all-recursive] Error code 1 1 error *** [all] Error code 2 1 error *** [do-build] Error code 1 Stop in /usr/ports/mail/smtp-gated. ===> Cleaning for smtp-gated-1.4.18.8 build of /usr/ports/mail/smtp-gated ended at Fri Nov 30 16:22:45 UTC 2012