=> Building mail/smtp-gated Started : Friday, 8 JUN 2018 at 00:23:22 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.242.g757c0-DEVELOPMENT #30: Tue May 8 14:06:27 PDT 2018 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for smtp-gated-1.4.20.0_2: CHUNKING=off: SMTP CHUNKING extension support 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 -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/mail/smtp-gated XDG_CONFIG_HOME=/construction/mail/smtp-gated HOME=/construction/mail/smtp-gated TMPDIR="/tmp" PATH=/construction/mail/smtp-gated/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --disable-chunking --disable-silent-econnreset --enable-nat --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/mail/smtp-gated XDG_CONFIG_HOME=/construction/mail/smtp-gated HOME=/construction/mail/smtp-gated TMPDIR="/tmp" PATH=/construction/mail/smtp-gated/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/mail/smtp-gated/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/smtp-gated" EXAMPLESDIR="share/examples/smtp-gated" DATADIR="share/smtp-gated" WWWDIR="www/smtp-gated" ETCDIR="etc/smtp-gated" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/smtp-gated DOCSDIR=/usr/local/share/doc/smtp-gated EXAMPLESDIR=/usr/local/share/examples/smtp-gated WWWDIR=/usr/local/www/smtp-gated ETCDIR=/usr/local/etc/smtp-gated -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> smtp-gated-1.4.20.0_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> smtp-gated-1.4.20.0_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of smtp-gated-1.4.20.0_2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by smtp-gated-1.4.20.0_2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by smtp-gated-1.4.20.0_2 for building => SHA256 Checksum OK for smtp-gated-1.4.20.0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by smtp-gated-1.4.20.0_2 for building ===> Extracting for smtp-gated-1.4.20.0_2 => SHA256 Checksum OK for smtp-gated-1.4.20.0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for smtp-gated-1.4.20.0_2 ===> Applying ports patches for smtp-gated-1.4.20.0_2 ===> Applying dragonfly patches for smtp-gated-1.4.20.0_2 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> smtp-gated-1.4.20.0_2 depends on shared library: libpcre.so - not found ===> Installing existing package /packages/All/pcre-8.42.txz Installing pcre-8.42... Extracting pcre-8.42: .......... done ===> smtp-gated-1.4.20.0_2 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so) ===> Returning to build of smtp-gated-1.4.20.0_2 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for smtp-gated-1.4.20.0_2 configure: loading site script /xports/Templates/config.site checking build system type... x86_64-portbld-dragonfly5.2 checking host system type... x86_64-portbld-dragonfly5.2 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk 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... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking whether byte ordering is bigendian... no checking for uint32_t... yes checking for u_int32_t... (cached) yes checking for sig_atomic_t... (cached) yes checking for socklen_t... (cached) yes 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 for err.h... (cached) yes checking for limits.h... (cached) yes checking for stdint.h... (cached) yes checking for netinet/in.h... (cached) yes checking for inttypes.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/socket.h... (cached) yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking for sys/resource.h... (cached) yes checking for sys/wait.h... (cached) yes checking for netdb.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for arpa/nameser.h... (cached) 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 for byteswap.h... (cached) 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... (cached) yes checking for asprintf... (cached) yes checking for vasprintf... (cached) yes checking for setenv... (cached) yes checking for setproctitle... (cached) yes checking for getloadavg... yes checking for accept... (cached) yes checking for inet_ntoa... (cached) yes checking for gethostname... (cached) yes checking for flock... yes checking for mmap... (cached) yes checking for inet_aton... (cached) yes checking for getline... (cached) yes checking for getrusage... (cached) yes checking for setrlimit... (cached) 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... no checking netinet/ipl.h presence... no checking for netinet/ipl.h... no checking for net/pfvar.h... no checking for netinet/ip_fw.h... no 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: getsockname-compatible configure: WARNING: getsockname-compatible tranparent proxy enabled, be careful! 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 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for smtp-gated-1.4.20.0_2 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- smtp_gated-md5.o --- --- md5_test-md5.o --- --- regex-test.o --- --- smtp_gated-smtp-gated.o --- --- smtp_gated-confvars.o --- --- smtp_gated-md5.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -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 --- md5_test-md5.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -DMD5_TEST -pipe -O2 -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 --- regex-test.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -MT regex-test.o -MD -MP -MF .deps/regex-test.Tpo -c -o regex-test.o regex-test.c --- smtp_gated-confvars.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -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 --- smtp_gated-smtp-gated.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -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 smtp-gated.c:543:2: warning: #warning run-test.pl --long: possible memory leak [-Wcpp] #warning run-test.pl --long: possible memory leak ^ --- regex-test.o --- mv -f .deps/regex-test.Tpo .deps/regex-test.Po --- smtp_gated-conffile.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -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 --- smtp_gated-confvars.o --- mv -f .deps/smtp_gated-confvars.Tpo .deps/smtp_gated-confvars.Po --- smtp_gated-daemon.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -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-smtp-gated.o --- smtp-gated.c: In function 'server_callback': smtp-gated.c:1939:2: warning: #warning TEST:RATELIMIT_MAILFROM_REJECTS [-Wcpp] #warning TEST:RATELIMIT_MAILFROM_REJECTS ^ smtp-gated.c:1957:2: warning: #warning TEST:RATELIMIT_RCPTTO_REJECTS [-Wcpp] #warning TEST:RATELIMIT_RCPTTO_REJECTS ^ smtp-gated.c:1988:2: warning: #warning TODO:AUTH_SKIP_DIRECT [-Wcpp] #warning TODO:AUTH_SKIP_DIRECT ^ smtp-gated.c: In function 'connection': smtp-gated.c:2498:2: warning: #warning TEST:ratelimit_ip [-Wcpp] #warning TEST:ratelimit_ip ^ smtp-gated.c: At top level: smtp-gated.c:484:54: warning: 'arg_t_p' is static but used in inline function 'queue_command' which is not static return queue_commandp(command, data, arg_t_p(NULL), arg_t_p(NULL)); ^ smtp-gated.c:484:39: warning: 'arg_t_p' is static but used in inline function 'queue_command' which is not static return queue_commandp(command, data, arg_t_p(NULL), arg_t_p(NULL)); ^ --- smtp_gated-conffile.o --- mv -f .deps/smtp_gated-conffile.Tpo .deps/smtp_gated-conffile.Po --- smtp_gated-util.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -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 util.c: In function 'shmalloc': util.c:671:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] log_action(LOG_CRIT, "shmget(%d) failed: %s", size, strerror(errno)); ^ util.c: At top level: util.c:1021:2: warning: #warning openf(): TODO? [-Wcpp] #warning openf(): TODO? ^ util.c: In function 'snprintp': util.c:1155:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cat_ptr = strncpy(tmp, inet_ntoa(*(struct in_addr *) p->u.inet), sizeof(tmp)); ^ --- smtp_gated-daemon.o --- mv -f .deps/smtp_gated-daemon.Tpo .deps/smtp_gated-daemon.Po --- smtp_gated-lookup.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -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 --- md5_test-md5.o --- mv -f .deps/md5_test-md5.Tpo .deps/md5_test-md5.Po --- smtp_gated-scan.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -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 --- smtp_gated-md5.o --- mv -f .deps/smtp_gated-md5.Tpo .deps/smtp_gated-md5.Po --- smtp_gated-dump.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -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 --- smtp_gated-scan.o --- mv -f .deps/smtp_gated-scan.Tpo .deps/smtp_gated-scan.Po --- smtp_gated-lockfile.o --- --- smtp_gated-dump.o --- dump.c: In function 'dump_state': dump.c:167:16: warning: too many arguments for format [-Wformat-extra-args] fdprintf(fd, "Found: %u/%u/%u/%u/%u (viruses/spam/no-auth/spf/regex/earlytalk)\n", ^ --- smtp_gated-lockfile.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -fno-strict-aliasing -Wall -MT smtp_gated-lockfile.o -MD -MP -MF .deps/smtp_gated-lockfile.Tpo -c -o smtp_gated-lockfile.o `test -f 'lockfile.c' || echo './'`lockfile.c --- smtp_gated-dump.o --- dump.c:236:18: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t {aka long unsigned int}' [-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); ^ dump.c:236:18: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] dump.c:236:18: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'size_t {aka long unsigned int}' [-Wformat=] In file included from confvars.h:35:0, from dump.c:49: dump.c: In function 'dump_ver': conffile.h:44:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] #define CONF_D2(a) printf(" %-30s: %d\n", #a, a); ^ dump.c:354:2: note: in expansion of macro 'CONF_D2' CONF_D2(sizeof(struct session_t)); ^ conffile.h:44:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] #define CONF_D2(a) printf(" %-30s: %d\n", #a, a); ^ dump.c:354:2: note: in expansion of macro 'CONF_D2' CONF_D2(sizeof(struct session_t)); ^ conffile.h:44:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] #define CONF_D2(a) printf(" %-30s: %d\n", #a, a); ^ dump.c:355:2: note: in expansion of macro 'CONF_D2' CONF_D2(sizeof(struct scoreboard_t)); ^ conffile.h:44:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] #define CONF_D2(a) printf(" %-30s: %d\n", #a, a); ^ dump.c:355:2: note: in expansion of macro 'CONF_D2' CONF_D2(sizeof(struct scoreboard_t)); ^ conffile.h:44:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] #define CONF_D2(a) printf(" %-30s: %d\n", #a, a); ^ dump.c:356:2: note: in expansion of macro 'CONF_D2' CONF_D2(sizeof(struct pipeline_t)); ^ conffile.h:44:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] #define CONF_D2(a) printf(" %-30s: %d\n", #a, a); ^ dump.c:356:2: note: in expansion of macro 'CONF_D2' CONF_D2(sizeof(struct pipeline_t)); ^ conffile.h:44:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] #define CONF_D2(a) printf(" %-30s: %d\n", #a, a); ^ dump.c:357:2: note: in expansion of macro 'CONF_D2' CONF_D2(sizeof(struct ratelimit_record_t)); ^ conffile.h:44:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] #define CONF_D2(a) printf(" %-30s: %d\n", #a, a); ^ dump.c:357:2: note: in expansion of macro 'CONF_D2' CONF_D2(sizeof(struct ratelimit_record_t)); ^ --- smtp_gated-lockfile.o --- mv -f .deps/smtp_gated-lockfile.Tpo .deps/smtp_gated-lockfile.Po --- smtp_gated-dump.o --- mv -f .deps/smtp_gated-dump.Tpo .deps/smtp_gated-dump.Po --- smtp_gated-spool.o --- --- smtp_gated-compat.o --- --- smtp_gated-spool.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -fno-strict-aliasing -Wall -MT smtp_gated-spool.o -MD -MP -MF .deps/smtp_gated-spool.Tpo -c -o smtp_gated-spool.o `test -f 'spool.c' || echo './'`spool.c --- smtp_gated-compat.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -fno-strict-aliasing -Wall -MT smtp_gated-compat.o -MD -MP -MF .deps/smtp_gated-compat.Tpo -c -o smtp_gated-compat.o `test -f 'compat.c' || echo './'`compat.c mv -f .deps/smtp_gated-compat.Tpo .deps/smtp_gated-compat.Po --- smtp_gated-action.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -fno-strict-aliasing -Wall -MT smtp_gated-action.o -MD -MP -MF .deps/smtp_gated-action.Tpo -c -o smtp_gated-action.o `test -f 'action.c' || echo './'`action.c --- smtp_gated-spool.o --- spool.c: In function 'spool_scan': spool.c:187:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] log_action(LOG_DEBUG, "DATA:SCANNING size=%d, src=%s, ident=%s", ^ spool.c:203:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] log_action(LOG_INFO, "SCAN:CLEAN size=%d, time=%d, src=%s, ident=%s", ^ spool.c:206:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] log_action(LOG_INFO, "SCAN:SKIPPED size=%d, src=%s, ident=%s", ^ spool.c:213:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] log_action(LOG_WARNING, "SCAN:VIRUS size=%d, time=%d, src=%s, ident=%s, virus=%s", ^ spool.c:223:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] log_action(LOG_WARNING, "SCAN:TIMEOUT size=%d, time=%d, src=%s, ident=%s, result=%s", ^ spool.c:233:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] log_action(LOG_ERR, "SCAN:FAILED size=%d, time=%d, src=%s, ident=%s, result=%s", ^ spool.c:249:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] log_action(LOG_INFO, "SPAM:SKIPPED size=%d, src=%s, ident=%s, load=%f", ^ spool.c:297:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] log_action(level, "SPAM:%s size=%d, time=%d, src=%s, ident=%s, score=%f", ^ spool.c:301:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] log_action(LOG_INFO, "SPAM:SKIPPED size=%d, src=%s, ident=%s", ^ --- smtp_gated-util.o --- mv -f .deps/smtp_gated-util.Tpo .deps/smtp_gated-util.Po --- smtp_gated-dnsbl.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -fno-strict-aliasing -Wall -MT smtp_gated-dnsbl.o -MD -MP -MF .deps/smtp_gated-dnsbl.Tpo -c -o smtp_gated-dnsbl.o `test -f 'dnsbl.c' || echo './'`dnsbl.c --- smtp_gated-action.o --- action.c: In function 'user_action': action.c:114:35: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] if (snprintf(size, sizeof(size), "%d", data->size) == -1) goto asprintf_err; ^ action.c:114:35: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] --- smtp_gated-lookup.o --- mv -f .deps/smtp_gated-lookup.Tpo .deps/smtp_gated-lookup.Po --- smtp_gated-ratelimit.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -fno-strict-aliasing -Wall -MT smtp_gated-ratelimit.o -MD -MP -MF .deps/smtp_gated-ratelimit.Tpo -c -o smtp_gated-ratelimit.o `test -f 'ratelimit.c' || echo './'`ratelimit.c ratelimit.c: In function 'ratelimit_string': ratelimit.c:194:2: warning: #warning TODO:ratelimit_string() not implemented [-Wcpp] #warning TODO:ratelimit_string() not implemented ^ --- smtp_gated-action.o --- mv -f .deps/smtp_gated-action.Tpo .deps/smtp_gated-action.Po --- smtp_gated-regex.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../ -pipe -O2 -fno-strict-aliasing -Wall -MT smtp_gated-regex.o -MD -MP -MF .deps/smtp_gated-regex.Tpo -c -o smtp_gated-regex.o `test -f 'regex.c' || echo './'`regex.c --- smtp_gated-dnsbl.o --- mv -f .deps/smtp_gated-dnsbl.Tpo .deps/smtp_gated-dnsbl.Po --- regex-test --- cc -pipe -O2 -fno-strict-aliasing -Wall -lpcre -L/usr/local/lib -o regex-test regex-test.o --- md5-test --- cc -DMD5_TEST -pipe -O2 -fno-strict-aliasing -Wall -L/usr/local/lib -o md5-test md5_test-md5.o --- smtp_gated-regex.o --- mv -f .deps/smtp_gated-regex.Tpo .deps/smtp_gated-regex.Po --- smtp_gated-ratelimit.o --- mv -f .deps/smtp_gated-ratelimit.Tpo .deps/smtp_gated-ratelimit.Po --- smtp_gated-spool.o --- mv -f .deps/smtp_gated-spool.Tpo .deps/smtp_gated-spool.Po --- smtp_gated-smtp-gated.o --- smtp-gated.c: In function 'main': smtp-gated.c:3244:3: warning: 'hostslot' may be used uninitialized in this function [-Wmaybe-uninitialized] host_inc(connections[slot].src, hostslot); ^ mv -f .deps/smtp_gated-smtp-gated.Tpo .deps/smtp_gated-smtp-gated.Po --- smtp-gated --- cc -I../ -pipe -O2 -fno-strict-aliasing -Wall -lpcre -L/usr/local/lib -o smtp-gated smtp_gated-smtp-gated.o smtp_gated-confvars.o smtp_gated-conffile.o smtp_gated-daemon.o smtp_gated-util.o smtp_gated-lookup.o smtp_gated-scan.o smtp_gated-dump.o smtp_gated-lockfile.o smtp_gated-spool.o smtp_gated-md5.o smtp_gated-compat.o smtp_gated-action.o smtp_gated-dnsbl.o smtp_gated-ratelimit.o smtp_gated-regex.o Making all in doc Making all in contrib Making all in lib Making all in lang Making all in tests -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for smtp-gated-1.4.20.0_2 ===> Generating temporary packing list Making install in src /bin/mkdir -p '/construction/mail/smtp-gated/stage/usr/local/sbin' install -s -m 555 smtp-gated '/construction/mail/smtp-gated/stage/usr/local/sbin' Making install in doc /bin/mkdir -p '/construction/mail/smtp-gated/stage/usr/local/man/man5' install -m 0644 smtp-gated.conf.5 '/construction/mail/smtp-gated/stage/usr/local/man/man5' /bin/mkdir -p '/construction/mail/smtp-gated/stage/usr/local/man/man8' install -m 0644 smtp-gated.8 '/construction/mail/smtp-gated/stage/usr/local/man/man8' Making install in contrib Making install in lib Making install in lang Making install in tests ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for smtp-gated-1.4.20.0_2 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 JUN 2018 at 00:23:36 UTC Duration: 00:00:14